Closed tmichett closed 1 year ago
USER="$(whoami)" cd /opt/PXEServer/
ansible-galaxy collection install -r collections/requirements.yml -p collections ansible-galaxy install -r roles/requirements.yml -p roles
ansible-playbook Setup_PXE_Server.yml -k
Tested script on new system
Ansible playbook doesn't run or do anything as the collections might be missing.
Modify the script to install the Ansible Collections and Roles prior to running the playbook.