-
-
Save stevenhaddox/26c8e0bd093887fab2b0 to your computer and use it in GitHub Desktop.
Environment error for current setup at:
https://github.com/stevenhaddox/ansible_rails_enterprise/tree/gnu_stow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook -i provisioning/hosts/vagrant provisioning/site.yml -u vagrant --sudo -v | |
PLAY [Initialize all SUPPORT servers] ***************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [33.33.33.10] | |
TASK: [Set ${sysadmins}'s $HOME variable] ************************************* | |
changed: [33.33.33.10] => {"changed": true, "cmd": ["pwd"], "delta": "0:00:00.017721", "end": "2013-11-20 09:55:59.371461", "item": "", "rc": 0, "start": "2013-11-20 09:55:59.353740", "stderr": "", "stdout": "/home/sysadmin"} | |
TASK: [Create expected directories | [STOW, SRC]] ***************************** | |
changed: [33.33.33.10] => (item=/home/sysadmin/opt/stow) => {"changed": true, "cmd": ["mkdir", "-p", "/home/sysadmin/opt/stow"], "delta": "0:00:00.002491", "end": "2013-11-20 09:55:59.552081", "item": "/home/sysadmin/opt/stow", "rc": 0, "start": "2013-11-20 09:55:59.549590", "stderr": "", "stdout": ""} | |
changed: [33.33.33.10] => (item=/home/sysadmin/SUPPORT/src) => {"changed": true, "cmd": ["mkdir", "-p", "/home/sysadmin/SUPPORT/src"], "delta": "0:00:00.002612", "end": "2013-11-20 09:55:59.727466", "item": "/home/sysadmin/SUPPORT/src", "rc": 0, "start": "2013-11-20 09:55:59.724854", "stderr": "", "stdout": ""} | |
TASK: [Prevent 'changed' status on [STOW, SRC] directory creation] ************ | |
changed: [33.33.33.10] => (item=/home/sysadmin/opt/stow) => {"changed": true, "cmd": ["touch", "/home/sysadmin/opt/stow/.ansible_keep"], "delta": "0:00:00.002553", "end": "2013-11-20 09:55:59.911338", "item": "/home/sysadmin/opt/stow", "rc": 0, "start": "2013-11-20 09:55:59.908785", "stderr": "", "stdout": ""} | |
changed: [33.33.33.10] => (item=/home/sysadmin/SUPPORT/src) => {"changed": true, "cmd": ["touch", "/home/sysadmin/SUPPORT/src/.ansible_keep"], "delta": "0:00:00.002941", "end": "2013-11-20 09:56:00.078212", "item": "/home/sysadmin/SUPPORT/src", "rc": 0, "start": "2013-11-20 09:56:00.075271", "stderr": "", "stdout": ""} | |
TASK: [ensure $STOW is defined] *********************************************** | |
changed: [33.33.33.10] => {"changed": true, "item": "", "msg": "line added"} | |
TASK: [Ensure stow's bin has precedence over $PATH] *************************** | |
changed: [33.33.33.10] => {"changed": true, "item": "", "msg": "line added"} | |
TASK: [ensure $SRC is defined] ************************************************ | |
changed: [33.33.33.10] => {"changed": true, "item": "", "msg": "line added"} | |
TASK: [Copy Stow src file to remote node] ************************************* | |
fatal: [33.33.33.10] => One or more undefined variables: 'filename' is undefined | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/steven/site.retry | |
33.33.33.10 : ok=7 changed=6 unreachable=1 failed=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook -i provisioning/hosts/vagrant provisioning/site.yml -u vagrant --sudo -vvv | |
PLAY [Initialize all SUPPORT servers] ***************************************** | |
GATHERING FACTS *************************************************************** | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959367.5-244170715825315 && chmod a+rx /tmp/ansible-1384959367.5-244170715825315 && echo /tmp/ansible-1384959367.5-244170715825315'"] | |
<33.33.33.10> REMOTE_MODULE setup | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmp1hCXbS TO /tmp/ansible-1384959367.5-244170715825315/setup | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959367.5-244170715825315/setup'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vsjuznqpbanxoodmrxpgozmrtbheditp] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959367.5-244170715825315/setup\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959367.5-244170715825315/ >/dev/null 2>&1'"] | |
ok: [33.33.33.10] | |
TASK: [Set ${sysadmins}'s $HOME variable] ************************************* | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959368.74-43706792850729 && chmod a+rx /tmp/ansible-1384959368.74-43706792850729 && echo /tmp/ansible-1384959368.74-43706792850729'"] | |
<33.33.33.10> REMOTE_MODULE command chdir=~ pwd | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpg1SNy5 TO /tmp/ansible-1384959368.74-43706792850729/command | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959368.74-43706792850729/command'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zztarxhfuoqotmuzbosatqxiistcivxp] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959368.74-43706792850729/command\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959368.74-43706792850729/ >/dev/null 2>&1'"] | |
changed: [33.33.33.10] => {"changed": true, "cmd": ["pwd"], "delta": "0:00:00.001975", "end": "2013-11-20 09:56:07.610176", "item": "", "rc": 0, "start": "2013-11-20 09:56:07.608201", "stderr": "", "stdout": "/home/sysadmin"} | |
TASK: [Create expected directories | [STOW, SRC]] ***************************** | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959368.94-30724675292125 && chmod a+rx /tmp/ansible-1384959368.94-30724675292125 && echo /tmp/ansible-1384959368.94-30724675292125'"] | |
<33.33.33.10> REMOTE_MODULE command mkdir -p /home/sysadmin/opt/stow creates=/home/sysadmin/opt/stow/.ansible_keep | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpF2ddJF TO /tmp/ansible-1384959368.94-30724675292125/command | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959368.94-30724675292125/command'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=psnqwagryhbrbhqitruiqcvaiglugijc] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959368.94-30724675292125/command\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959368.94-30724675292125/ >/dev/null 2>&1'"] | |
skipping: [33.33.33.10] | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959369.12-172656866481568 && chmod a+rx /tmp/ansible-1384959369.12-172656866481568 && echo /tmp/ansible-1384959369.12-172656866481568'"] | |
<33.33.33.10> REMOTE_MODULE command mkdir -p /home/sysadmin/SUPPORT/src creates=/home/sysadmin/SUPPORT/src/.ansible_keep | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpGSyKOq TO /tmp/ansible-1384959369.12-172656866481568/command | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959369.12-172656866481568/command'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=irquvbsfdvtzdsjjberjhcpwfpefwvvh] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959369.12-172656866481568/command\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959369.12-172656866481568/ >/dev/null 2>&1'"] | |
skipping: [33.33.33.10] | |
TASK: [Prevent 'changed' status on [STOW, SRC] directory creation] ************ | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959369.3-144093959240144 && chmod a+rx /tmp/ansible-1384959369.3-144093959240144 && echo /tmp/ansible-1384959369.3-144093959240144'"] | |
<33.33.33.10> REMOTE_MODULE command touch /home/sysadmin/opt/stow/.ansible_keep creates=/home/sysadmin/opt/stow/.ansible_keep | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpx8y618 TO /tmp/ansible-1384959369.3-144093959240144/command | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959369.3-144093959240144/command'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ogoeztxrqliibzzgvnyoyjlgzmradwzd] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959369.3-144093959240144/command\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959369.3-144093959240144/ >/dev/null 2>&1'"] | |
skipping: [33.33.33.10] | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959369.49-195303583200870 && chmod a+rx /tmp/ansible-1384959369.49-195303583200870 && echo /tmp/ansible-1384959369.49-195303583200870'"] | |
<33.33.33.10> REMOTE_MODULE command touch /home/sysadmin/SUPPORT/src/.ansible_keep creates=/home/sysadmin/SUPPORT/src/.ansible_keep | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpMqItvr TO /tmp/ansible-1384959369.49-195303583200870/command | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959369.49-195303583200870/command'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=brmhtgbdpkvuclcoeawtsnrwcryivrob] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959369.49-195303583200870/command\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959369.49-195303583200870/ >/dev/null 2>&1'"] | |
skipping: [33.33.33.10] | |
TASK: [ensure $STOW is defined] *********************************************** | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959369.68-108610190511632 && chmod a+rx /tmp/ansible-1384959369.68-108610190511632 && echo /tmp/ansible-1384959369.68-108610190511632'"] | |
<33.33.33.10> REMOTE_MODULE lineinfile dest=/home/sysadmin/.bashrc regexp="^export STOW=/home/sysadmin/opt/stow$" line="export STOW=/home/sysadmin/opt/stow" state=present insertafter=EOF create=True | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpbg3eGO TO /tmp/ansible-1384959369.68-108610190511632/lineinfile | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959369.68-108610190511632/lineinfile'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kggzdkemzdlgbdunhxnkgdzjzgfzmvvp] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959369.68-108610190511632/lineinfile\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959369.68-108610190511632/ >/dev/null 2>&1'"] | |
ok: [33.33.33.10] => {"changed": false, "item": "", "msg": ""} | |
TASK: [Ensure stow's bin has precedence over $PATH] *************************** | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959369.97-22473616623422 && chmod a+rx /tmp/ansible-1384959369.97-22473616623422 && echo /tmp/ansible-1384959369.97-22473616623422'"] | |
<33.33.33.10> REMOTE_MODULE lineinfile dest=/home/sysadmin/.bashrc regexp="^export PATH=.*STOW.*:.*PATH" line="export PATH=${STOW}/../bin:${PATH}" state=present insertafter=EOF create=True | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpco1kAj TO /tmp/ansible-1384959369.97-22473616623422/lineinfile | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959369.97-22473616623422/lineinfile'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tgwdcxvkjqihqrxxmptplbiknbofsyip] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959369.97-22473616623422/lineinfile\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959369.97-22473616623422/ >/dev/null 2>&1'"] | |
ok: [33.33.33.10] => {"changed": false, "item": "", "msg": ""} | |
TASK: [ensure $SRC is defined] ************************************************ | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959370.25-196444137506433 && chmod a+rx /tmp/ansible-1384959370.25-196444137506433 && echo /tmp/ansible-1384959370.25-196444137506433'"] | |
<33.33.33.10> REMOTE_MODULE lineinfile dest=/home/sysadmin/.bashrc regexp="^export SRC=/home/sysadmin/SUPPORT/src$" line="export SRC=/home/sysadmin/SUPPORT/src" state=present insertafter=EOF create=True | |
<33.33.33.10> PUT /var/folders/zh/_tr32h210nd5vtcyhljkv4pm0000gp/T/tmpjFZST8 TO /tmp/ansible-1384959370.25-196444137506433/lineinfile | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'chmod a+r /tmp/ansible-1384959370.25-196444137506433/lineinfile'"] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jbfoahggllgzgiuwwndfqdiptxymjzzl] password: " -u sysadmin /bin/sh -c \'"\'"\'/usr/bin/python /tmp/ansible-1384959370.25-196444137506433/lineinfile\'"\'"\'\''] | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'rm -rf /tmp/ansible-1384959370.25-196444137506433/ >/dev/null 2>&1'"] | |
ok: [33.33.33.10] => {"changed": false, "item": "", "msg": ""} | |
TASK: [Copy Stow src file to remote node] ************************************* | |
<33.33.33.10> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.10> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/steven/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.10', "/bin/sh -c 'mkdir -p /tmp/ansible-1384959370.54-210599791890058 && chmod a+rx /tmp/ansible-1384959370.54-210599791890058 && echo /tmp/ansible-1384959370.54-210599791890058'"] | |
fatal: [33.33.33.10] => One or more undefined variables: 'filename' is undefined | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/steven/site.retry | |
33.33.33.10 : ok=7 changed=1 unreachable=1 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment