diff --git a/roles/role_configure_ovh_instance/tasks/main.yml b/roles/role_configure_ovh_instance/tasks/main.yml index ab49fe0..482581d 100644 --- a/roles/role_configure_ovh_instance/tasks/main.yml +++ b/roles/role_configure_ovh_instance/tasks/main.yml @@ -24,7 +24,9 @@ - name: reboot ansible.builtin.reboot: - when: upgrade_register is changed + when: + - upgrade_register is defined + - upgrade_register is changed become: true - name: enable EPEL