From adfb09b9e19f7a31632eab01171693cb81ec75ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 8 Feb 2024 13:32:37 +0100 Subject: refactor(roles): new variable naming standard --- roles/update/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/update/tasks') diff --git a/roles/update/tasks/main.yml b/roles/update/tasks/main.yml index 1719611..0c10aa7 100644 --- a/roles/update/tasks/main.yml +++ b/roles/update/tasks/main.yml @@ -2,12 +2,12 @@ - name: apply system update ansible.builtin.command: syspatch - register: update_result_system_update + register: update__result_system_update failed_when: - - update_result_system_update.rc > 0 - - update_result_system_update.rc != 2 + - update__result_system_update.rc > 0 + - update__result_system_update.rc != 2 changed_when: - - update_result_system_update.rc == 0 + - update__result_system_update.rc == 0 when: ansible_distribution == "OpenBSD" - name: apply package update -- cgit v1.2.3