-
-
Save wjessop/053edce4c6224e2b0768 to your computer and use it in GitHub Desktop.
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
- name: Install Ruby versions | |
apt: pkg=ruby-{{ item }} state=latest | |
with_items: ruby_versions |
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: [rails_app | Install Ruby versions] ************************************* | |
<he-002.sendcat.com> ESTABLISH CONNECTION FOR USER: will | |
<he-002.sendcat.com> REMOTE_MODULE apt pkg=ruby-1.9.3-p545,2.1.1-p76 state=latest | |
<he-002.sendcat.com> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/will/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', 'he-002.sendcat.com', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1398210120.2-196072970852 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1398210120.2-196072970852 && echo $HOME/.ansible/tmp/ansible-tmp-1398210120.2-196072970852'"] | |
<he-002.sendcat.com> PUT /var/folders/r7/kjzbwmx533b20hcf1_s9kc9c0000gn/T/tmpQfo17o TO /home/will/.ansible/tmp/ansible-tmp-1398210120.2-196072970852/apt | |
<he-002.sendcat.com> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/will/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', 'he-002.sendcat.com', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pgyqfjafvzodahcksxhrkuvfpdoikehk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pgyqfjafvzodahcksxhrkuvfpdoikehk; /usr/bin/python /home/will/.ansible/tmp/ansible-tmp-1398210120.2-196072970852/apt; rm -rf /home/will/.ansible/tmp/ansible-tmp-1398210120.2-196072970852/ >/dev/null 2>&1\'"\'"\'\''] | |
failed: [he-002.sendcat.com] => (item=1.9.3-p545,2.1.1-p76) => {"failed": true, "item": "1.9.3-p545,2.1.1-p76"} | |
msg: No package matching '2.1.1-p76' is available | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/will/site.retry | |
he-002.sendcat.com : ok=41 changed=2 unreachable=0 failed=1 | |
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
--- | |
ruby_versions: | |
- 1.9.3-p545 | |
- 2.1.1-p76 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment