summaryrefslogtreecommitdiffstats
path: root/roles/os_update_latest
diff options
context:
space:
mode:
Diffstat (limited to 'roles/os_update_latest')
-rw-r--r--roles/os_update_latest/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/os_update_latest/tasks/main.yml b/roles/os_update_latest/tasks/main.yml
index 3c3e80979..2400164fa 100644
--- a/roles/os_update_latest/tasks/main.yml
+++ b/roles/os_update_latest/tasks/main.yml
@@ -1,8 +1,8 @@
---
- fail:
msg: "Update is not yet supported by this playbook on atomic hosts"
- when: is_atomic
+ when: openshift.common.is_containerized | bool
- name: Update all packages
action: "{{ ansible_pkg_mgr }} name=* state=latest"
- when: not is_atomic \ No newline at end of file
+ when: not openshift.common.is_containerized | bool \ No newline at end of file