diff --git a/yum_updates.yaml b/yum_updates.yaml index 3432fae..d14d4aa 100644 --- a/yum_updates.yaml +++ b/yum_updates.yaml @@ -2,6 +2,10 @@ - hosts: yumhosts gather_facts: no tasks: + - name: Import a role + ansible.builtin.import_role: + name: LucasJanin.ssh_config + - name: Update all installed packages using YUM module ansible.builtin.yum: use_backend: yum3 @@ -25,7 +29,7 @@ ansible.builtin.command: needs-restarting -r register: reboot_check ignore_errors: yes # Important: The command returns a non-zero exit code if a reboot is needed - changed_when: false # This command does not change the system state + #changed_when: false # This command does not change the system state - name: Reboot the server if required ansible.builtin.reboot: