Edit the show facts parameter to exit after it runs. Also fix its spacing in the usage.
This commit is contained in:
1
setup.sh
1
setup.sh
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user