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:
parent
4c33c549c8
commit
7113ae05da
1 changed files with 4 additions and 3 deletions
7
runtags
7
runtags
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue