inlining the hosts instead of relying on the hosts file

This commit is contained in:
aminnairi
2023-12-30 17:17:24 +01:00
parent 2ed0c0bab2
commit 9b76e6282f
+1 -1
View File
@@ -58,6 +58,6 @@ ANSIBLE_COLLECTIONS_PATH="$PWD/ansible/collections" ansible-galaxy collection in
echo "Done installing needed Ansible packages." echo "Done installing needed Ansible packages."
echo "Running choosen Ansible Playbook at $choosen_playbook_path..." echo "Running choosen Ansible Playbook at $choosen_playbook_path..."
ansible-playbook --ask-become-pass --inventory ./ansible/hosts --module-path ansible/collections "$choosen_playbook_path" ansible-playbook --ask-become-pass --inventory localhost, --module-path ansible/collections "$choosen_playbook_path"
echo "Done running choosen Ansible Playbook. If this is your first installation, you might want to reboot in order for the settings to take effect." echo "Done running choosen Ansible Playbook. If this is your first installation, you might want to reboot in order for the settings to take effect."