summaryrefslogtreecommitdiffstats
path: root/playbooks/init
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-12-14 15:00:59 -0500
committerRussell Teague <rteague@redhat.com>2017-12-14 16:03:44 -0500
commitc113074f5b84881f416aca40e2bf4e20d4e6ce41 (patch)
tree307af8f0ddfc9bb5986dbcf8f17d2e2303f70386 /playbooks/init
parent29d3212bf1089661b9fd38db59d72160a39d39d4 (diff)
downloadopenshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.gz
openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.bz2
openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.xz
openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.zip
Deprecate using Ansible tests as filters
Diffstat (limited to 'playbooks/init')
-rw-r--r--playbooks/init/facts.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/init/facts.yml b/playbooks/init/facts.yml
index d41f365dc..4d40e472c 100644
--- a/playbooks/init/facts.yml
+++ b/playbooks/init/facts.yml
@@ -69,7 +69,7 @@
- name: assert atomic host docker version is 1.12 or later
assert:
that:
- - l_atomic_docker_version.stdout | replace('"', '') | version_compare('1.12','>=')
+ - l_atomic_docker_version.stdout | replace('"', '') is version_compare('1.12','>=')
msg: Installation on Atomic Host requires Docker 1.12 or later. Please upgrade and restart the Atomic Host.
- when:
@@ -85,7 +85,7 @@
- "{{ 'python3-PyYAML' if ansible_distribution == 'Fedora' else 'PyYAML' }}"
- yum-utils
register: result
- until: result | success
+ until: result is succeeded
- name: Ensure various deps for running system containers are installed
package:
@@ -103,7 +103,7 @@
or (openshift_use_node_system_container | default(False)) | bool
or (openshift_use_master_system_container | default(False)) | bool
register: result
- until: result | success
+ until: result is succeeded
- name: Gather Cluster facts and set is_containerized if needed
openshift_facts: