Last active
August 29, 2015 14:01
-
-
Save TallGirlVanessa/d967534d99a7c6304ded to your computer and use it in GitHub Desktop.
Ansible "operation not permitted" in 1.6.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
__________________________________________________________ | |
< TASK: deploy_web | Deploy | Create Flask instance folder > | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
<33.33.33.50> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.50> REMOTE_MODULE file path=/var/www/bridge-it/instance state=directory | |
<33.33.33.50> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/matthewphipps/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.50', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988 && echo $HOME/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988'"] | |
<33.33.33.50> PUT /var/folders/hz/sswzl5315vq2b7my5sfbbg2r0000gn/T/tmp_FTqfb TO /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988/file | |
<33.33.33.50> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/matthewphipps/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.50', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.11-72490111128988/ >/dev/null 2>&1'"] | |
ok: [33.33.33.50] => {"changed": false, "gid": 1000, "group": "vagrant", "item": "", "mode": "0755", "owner": "vagrant", "path": "/var/www/bridge-it/instance", "size": 102, "state": "directory", "uid": 1000} | |
_____________________________________________________________ | |
< TASK: deploy_web | Deploy | Write Ansible-customized config > | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
<33.33.33.50> ESTABLISH CONNECTION FOR USER: vagrant | |
<33.33.33.50> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/matthewphipps/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.50', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292 && echo $HOME/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292'"] | |
<33.33.33.50> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/matthewphipps/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.50', u'/bin/sh -c \'rc=0; [ -r "/var/www/bridge-it/instance/config_from_ansible.py" ] || rc=2; [ -f "/var/www/bridge-it/instance/config_from_ansible.py" ] || rc=1; [ -d "/var/www/bridge-it/instance/config_from_ansible.py" ] && echo 3 && exit 0; (/usr/bin/md5sum /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/sbin/md5sum -q /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/usr/bin/digest -a md5 /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/sbin/md5 -q /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/usr/bin/md5 -n /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/bin/md5 -q /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/usr/bin/csum -h MD5 /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (/bin/csum -h MD5 /var/www/bridge-it/instance/config_from_ansible.py 2>/dev/null) || (echo "${rc} /var/www/bridge-it/instance/config_from_ansible.py")\''] | |
<33.33.33.50> PUT /var/folders/hz/sswzl5315vq2b7my5sfbbg2r0000gn/T/tmpFNRCL4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292/source | |
<33.33.33.50> PUT /var/folders/hz/sswzl5315vq2b7my5sfbbg2r0000gn/T/tmpRfWE6h TO /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292/copy | |
<33.33.33.50> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/matthewphipps/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '33.33.33.50', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292/ >/dev/null 2>&1'"] | |
failed: [33.33.33.50] => {"failed": true, "item": ""} | |
msg: Could not replace file: /home/vagrant/.ansible/tmp/ansible-tmp-1399916329.2-154158667238292/source to /var/www/bridge-it/instance/config_from_ansible.py: [Errno 1] Operation not permitted: '/var/www/bridge-it/instance/.config_from_ansible.py.10897.1399916329.36' | |
FATAL: all hosts have already failed -- aborting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment