Open JinPhil opened 8 years ago
I have similar issue. Temporary, I run "systemctl daemon-reload".
I have similar issue, when simply running start tomcat playbook
anyone solving this issue? appreciate it
Perhaps not related, but I had this error because I was running the systemd
command under the wrong user (by default is root
) and I have services running with less privileges.
As an example, I modified my Ansible commands to something like this:
name: Start Tomcat
become: yes
become_user: <username>
systemd:
- name: tomcat
- state: started
- enabled: yes
- scope: user
I'm running Ansible v2.9.4
hth
Hi, I ran the script here on a AWS linux instance to setup and run a simple tomcat instance and I ran into 2 issues:
Would appreciate any help!
Thanks JinPhil