Edit the show facts parameter to exit after it runs. Also fix its spacing in the usage.

This commit is contained in:
2025-12-18 10:46:26 -07:00
parent b3e9f7584f
commit 8b52914683

View File

@@ -130,6 +130,7 @@ echo "Installed!"
if [[ "$show_facts" == "Y" ]]; then if [[ "$show_facts" == "Y" ]]; then
echo "Showing Ansible Facts" echo "Showing Ansible Facts"
ansible localhost -m setup --connection=local ansible localhost -m setup --connection=local
exit 0
fi fi
#echo "Adding Ansible Collections..." #echo "Adding Ansible Collections..."