diff --git a/roles/configuration/tasks/main.yml b/roles/configuration/tasks/main.yml index 8b163c2..c12bb84 100644 --- a/roles/configuration/tasks/main.yml +++ b/roles/configuration/tasks/main.yml @@ -233,7 +233,7 @@ mode: '0644' loop: - /mnt/etc/issue - - /mnt/etc/issue.net + - /etc/issue.net - name: Setup Network block: @@ -303,7 +303,7 @@ register: result - name: Disable SELinux - when: os | lower == "fedora" + when: os | lower == "fedora" or not selinux | bool ansible.builtin.lineinfile: path: /mnt/etc/selinux/config regexp: ^SELINUX=