summaryrefslogtreecommitdiffstats
path: root/roles/contiv
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 /roles/contiv
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 'roles/contiv')
-rw-r--r--roles/contiv/tasks/download_bins.yml2
-rw-r--r--roles/contiv/tasks/netplugin.yml6
-rw-r--r--roles/contiv/tasks/pkgMgrInstallers/centos-install.yml6
3 files changed, 7 insertions, 7 deletions
diff --git a/roles/contiv/tasks/download_bins.yml b/roles/contiv/tasks/download_bins.yml
index 741c1d1da..831fd360a 100644
--- a/roles/contiv/tasks/download_bins.yml
+++ b/roles/contiv/tasks/download_bins.yml
@@ -9,7 +9,7 @@
name: bzip2
state: installed
register: result
- until: result | success
+ until: result is succeeded
- name: Download Bins | Download Contiv tar file
get_url:
diff --git a/roles/contiv/tasks/netplugin.yml b/roles/contiv/tasks/netplugin.yml
index cf92a8cc0..540f6e4bc 100644
--- a/roles/contiv/tasks/netplugin.yml
+++ b/roles/contiv/tasks/netplugin.yml
@@ -101,15 +101,15 @@
- name: systemd reload
command: systemctl daemon-reload
- when: docker_updated|changed
+ when: docker_updated is changed
- name: Docker | Restart docker
service:
name: "{{ openshift_docker_service_name }}"
state: restarted
- when: docker_updated|changed
+ when: docker_updated is changed
register: l_docker_restart_docker_in_contiv_result
- until: not l_docker_restart_docker_in_contiv_result | failed
+ until: not (l_docker_restart_docker_in_contiv_result is failed)
retries: 3
delay: 30
diff --git a/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml b/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml
index a4d260279..53c5b4099 100644
--- a/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml
+++ b/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml
@@ -4,7 +4,7 @@
pkg=net-tools
state=latest
register: result
- until: result | success
+ until: result is succeeded
- name: PkgMgr RHEL/CentOS | Get openstack ocata rpm
get_url:
@@ -23,7 +23,7 @@
tags:
- ovs_install
register: result
- until: result | success
+ until: result is succeeded
- name: PkgMgr RHEL/CentOS | Install ovs
yum:
@@ -36,4 +36,4 @@
tags:
- ovs_install
register: result
- until: result | success
+ until: result is succeeded