Ad-hoc Ansible Commands1
Sometimes I like to stash commands that I use regularly. Below is a snippet of code that I find helpful from time to time.
ansible {{comma separated host list}} -m shell -a 'shell command goes here' --become
Sometimes I like to stash commands that I use regularly. Below is a snippet of code that I find helpful from time to time.
ansible {{comma separated host list}} -m shell -a 'shell command goes here' --become
Use the following link to trackback from your own site:
https://tom.hastings.dev/trackbacks?article_id=19
Comments
Leave a comment
This site was… how do yyou ssay it? Relevant!! Finaly I’ve found something that elped me. Cheers! xnxx