Created
February 8, 2017 18:57
-
-
Save pollosp/a5d571d75a1617251700c7e20a76fda2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
echo "testhost ansible_connection=docker ansible_host=fb99f018ea3f" > inventory | |
echo "- hosts: testhost" > playbook.yml | |
echo " tasks:" >> playbook.yml | |
echo " - name: host is reachable" >> playbook.yml | |
echo " ping:" >> playbook.yml | |
ansible-playbook -vvv -i inventory playbook.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment