1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

clarify ./runtags syntax doesn't allow spaces

This commit is contained in:
A Holt 2017-09-29 17:24:35 -04:00 committed by GitHub
parent 4c33c549c8
commit 7113ae05da

View file

@ -24,9 +24,10 @@ tags=$(echo $1 | tr "," "\n")
if [ "$tags" == "" ] if [ "$tags" == "" ]
then then
echo " usage: ./runtags <tagname>" echo " usage: ./runtags <playbook>"
echo " Can take a single value or a comma separated list." echo " usage: ./runtags <playbook1>,<playbook2>,<playbook3>"
echo " Now retrieving a list of possible values..." echo " Can take a single value or a comma-separated list (no spaces within the list!)"
echo " Now retrieving a list of possible Ansible playbook values..."
ansible-playbook -i ansible_hosts iiab.yml --connection=local --list-tag ansible-playbook -i ansible_hosts iiab.yml --connection=local --list-tag
exit 0 exit 0
fi fi