tmichett / Fedora_Remix

Fedora Linux Remix
2 stars 0 forks source link

Update YAD Script for PXE - Collections #35

Closed tmichett closed 10 months ago

tmichett commented 10 months ago

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.

tmichett commented 10 months ago

Script to modify

https://github.com/tmichett/Fedora_Remix/blob/main/YAD/scripts/create_pxe_server.sh

tmichett commented 10 months ago

!/bin/bash

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

tmichett commented 10 months ago

Tested script on new system