Hi,
This task is failing:
- name: restart phantom queue processes
service: name=queue enabled=yes state=restarted
sudo: yes
sudo_user: phantom
Ansible v1.5.4 on Ubunutu 12.04 (note that I get the same error when
omitting "sudo:" and "sudo_user:" options)
Error:
<phantom-dal2.ava.ai> EXEC ['ssh', '-C', '-tt', '-vvv', '-o',
'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
'ControlPath=/home/ubuntu/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
'Port=22', '-o', 'IdentityFile=creds/ubuntu_phantom_dal2', '-o',
'KbdInteractiveAuthentication=no', '-o',
'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
'-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10',
'phantom-dal2.ava.ai', "/bin/sh -c 'rm -rf
/tmp/ansible-tmp-1400692488.26-212551300863070/ >/dev/null 2>&1'"]
failed: [phantom-dal2.ava.ai] => {"failed": true, "item": ""}
msg: stop: Unable to connect to system bus: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
start: Unable to connect to system bus: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
The upstart script on the host server:
start on runlevel [2345]
stop on runlevel [06]
respawn
respawn limit 4 2
setuid phantom
script
cd /mnt/git/phantom
# cd /home/grim/phantom
php queue.php > /dev/null 2>&1
end script
Any suggestions would be greatly appreciated, thanks.
Mike
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/82685150-a169-4f1a-87ca-adc870b43a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.