diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/network/tasks/main.yml b/ansible/roles/firstboot/files/ansible_payload/roles/network/tasks/main.yml index 9701ac6..d016d92 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/network/tasks/main.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/network/tasks/main.yml @@ -7,4 +7,4 @@ dest: /etc/netplan/00-installer-config.yaml - name: Apply netplan configuration ansible.builtin.shell: - cmd: netplan apply + cmd: /usr/sbin/netplan apply diff --git a/ansible/roles/firstboot/templates/firstboot.j2 b/ansible/roles/firstboot/templates/firstboot.j2 index 06eaeea..2e90451 100644 --- a/ansible/roles/firstboot/templates/firstboot.j2 +++ b/ansible/roles/firstboot/templates/firstboot.j2 @@ -1,4 +1,4 @@ #!/bin/bash # Apply firstboot configuration w/ ansible -ansible-playbook /opt/firstboot/ansible/playbook.yml | tee -a /var/log/firstboot.log > /dev/tty1 \ No newline at end of file +/usr/local/bin/ansible-playbook /opt/firstboot/ansible/playbook.yml | tee -a /var/log/firstboot.log > /dev/tty1 \ No newline at end of file diff --git a/ansible/roles/os/tasks/ansible.yml b/ansible/roles/os/tasks/ansible.yml index a12b610..e6efa1b 100644 --- a/ansible/roles/os/tasks/ansible.yml +++ b/ansible/roles/os/tasks/ansible.yml @@ -1,4 +1,4 @@ -- name: Install ansible through pip3 +- name: Install ansible (w/ dependencies) ansible.builtin.pip: name: "{{ item }}" executable: pip3