Last active
December 28, 2015 10:59
-
-
Save quicksnap/7490228 to your computer and use it in GitHub Desktop.
Testing ansible module creation
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
#!/bin/bash | |
echo 'ding=dong' |
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: do some stuff! | |
hosts: all | |
tasks: | |
- dingus: name=bugger |
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
└─(11:30:33)──> ansible-playbook -i ansible/vagrant-inventory ansible/site.yml -vv 2 ↵ ──(Fri,Nov15)─┘ | |
PLAY [do some stuff!] ********************************************************* | |
GATHERING FACTS *************************************************************** | |
<192.168.50.50> REMOTE_MODULE setup | |
ok: [192.168.50.50] | |
TASK: [dingus name=bugger] **************************************************** | |
<192.168.50.50> REMOTE_MODULE dingus name=bugger | |
ok: [192.168.50.50] => {"ding": "dong"} | |
PLAY RECAP ******************************************************************** | |
192.168.50.50 : ok=2 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment