Last active
October 3, 2017 17:38
-
-
Save Fizzadar/72337c3b548f7eef8d45 to your computer and use it in GitHub Desktop.
Why Ansible is shit (1.8.2)
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
playbook -i inventories/development playbook.yml --extra-vars 'ansible_ssh_private_key=files/insecure_private_key' -vvv | |
PLAY [all] ******************************************************************** | |
TASK: [Ensure /opt/bin directory] ********************************************* | |
... | |
fatal: [192.168.255.12] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue | |
fatal: [192.168.255.10] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue | |
fatal: [192.168.255.11] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue | |
fatal: [192.168.255.13] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/Fizzadar/playbook.retry | |
192.168.255.10 : ok=0 changed=0 unreachable=1 failed=0 | |
192.168.255.11 : ok=0 changed=0 unreachable=1 failed=0 | |
192.168.255.12 : ok=0 changed=0 unreachable=1 failed=0 | |
192.168.255.13 : ok=0 changed=0 unreachable=1 failed=0 | |
playbook -i inventories/development playbook.yml --private-key files/insecure_private_key | |
PLAY [all] ******************************************************************** | |
TASK: [Ensure /opt/bin directory] ********************************************* | |
changed: [192.168.255.10] | |
changed: [192.168.255.12] | |
changed: [192.168.255.13] | |
changed: [192.168.255.11] | |
... |
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
ERROR: Multiple variable files found. There should only be one. ['playbook/group_vars/all.yml', 'playbook/group_vars/all.yaml'] | |
root@vagrant-ubuntu-trusty-64:/opt/# find playbook/group_vars/all.yml | |
find: `playbook/group_vars/all.yml': No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment