From 7113ae05da6891ffeedf8759f45ec552fa85d565 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 29 Sep 2017 17:24:35 -0400 Subject: [PATCH 1/3] clarify ./runtags syntax doesn't allow spaces --- runtags | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtags b/runtags index f5992b8f9..07a42b3c7 100755 --- a/runtags +++ b/runtags @@ -24,9 +24,10 @@ tags=$(echo $1 | tr "," "\n") if [ "$tags" == "" ] then - echo " usage: ./runtags " - echo " Can take a single value or a comma separated list." - echo " Now retrieving a list of possible values..." + echo " usage: ./runtags " + echo " usage: ./runtags ,," + 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 exit 0 fi From c12d3f8e748045b67e877517c6ef077843ddb97b Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 29 Sep 2017 17:50:31 -0400 Subject: [PATCH 2/3] revised per @jvonau's recommendation (tags include playbooks but also other things) --- runtags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtags b/runtags index 07a42b3c7..2e347f03e 100755 --- a/runtags +++ b/runtags @@ -24,8 +24,8 @@ tags=$(echo $1 | tr "," "\n") if [ "$tags" == "" ] then - echo " usage: ./runtags " - echo " usage: ./runtags ,," + echo " usage: ./runtags " + echo " usage: ./runtags ,," 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 From e0527b727e5162c32188f33ce07297c71be5acfd Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 29 Sep 2017 17:53:19 -0400 Subject: [PATCH 3/3] further clarified ./runtags accepts "playbook and tagnames" --- runtags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtags b/runtags index 2e347f03e..933d07a67 100755 --- a/runtags +++ b/runtags @@ -27,7 +27,7 @@ then echo " usage: ./runtags " echo " usage: ./runtags ,," 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..." + echo " Now retrieving a list of possible Ansible playbook and tagname values..." ansible-playbook -i ansible_hosts iiab.yml --connection=local --list-tag exit 0 fi