From 8b529146837af7b6e958e22ea7a7f056a0d619f5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 18 Dec 2025 10:46:26 -0700 Subject: [PATCH] Edit the show facts parameter to exit after it runs. Also fix its spacing in the usage. --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 4daef13..f03fd50 100755 --- a/setup.sh +++ b/setup.sh @@ -32,7 +32,7 @@ function usage { -g : Enable the General config with test contents. -w : Enable the Workstation config with test contents. -s : Enable the Server config with test contents. - -f : Display this system's facts. + -f : Display this system's facts. -h : Display this help text. EOF @@ -130,6 +130,7 @@ echo "Installed!" if [[ "$show_facts" == "Y" ]]; then echo "Showing Ansible Facts" ansible localhost -m setup --connection=local + exit 0 fi #echo "Adding Ansible Collections..."