aboutsummaryrefslogtreecommitdiffstats
path: root/roles/update
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:32:37 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:33:36 +0100
commitadfb09b9e19f7a31632eab01171693cb81ec75ef (patch)
tree7b05135581ff49e7a5655ab07af7bba2ada43585 /roles/update
parent5c5b0fbf68dca224b7f92f5de0913fd684e7d3d9 (diff)
downloadrules-adfb09b9e19f7a31632eab01171693cb81ec75ef.tar.gz
refactor(roles): new variable naming standard
Diffstat (limited to 'roles/update')
-rw-r--r--roles/update/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
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
remember that computers suck.