summaryrefslogtreecommitdiffstats
path: root/roles/os_update_latest
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-10-05 12:53:10 -0400
committerScott Dodson <sdodson@redhat.com>2015-12-15 15:45:45 -0500
commit8e7c5c970b8adc83fd6d5cad115f4edb06b36d98 (patch)
tree408ffd1864ae9cd34ef238d5c5a9ff2aa59193d9 /roles/os_update_latest
parenta0b6fc7db1be2cf6190d982f90e96f4c39a4c699 (diff)
downloadopenshift-8e7c5c970b8adc83fd6d5cad115f4edb06b36d98.tar.gz
openshift-8e7c5c970b8adc83fd6d5cad115f4edb06b36d98.tar.bz2
openshift-8e7c5c970b8adc83fd6d5cad115f4edb06b36d98.tar.xz
openshift-8e7c5c970b8adc83fd6d5cad115f4edb06b36d98.zip
Containerization work by @sdodson
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