diff --git a/main.sh b/main.sh index 08b2f22..c30166e 100755 --- a/main.sh +++ b/main.sh @@ -103,6 +103,6 @@ echo "Installing needed Ansible packages..." \ && ANSIBLE_COLLECTIONS_PATH="$PWD/ansible/collections" ansible-galaxy collection install --collections-path ansible/collections --requirements-file ansible/galaxy/requirements.yml \ && echo "Done installing needed Ansible packages." \ && echo "Running choosen Ansible Playbook at $choosen_playbook_path..." \ - && yes | yay \ + && yes O | yay \ && ansible-playbook --inventory localhost --ask-become-pass --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."