summaryrefslogtreecommitdiffstats
path: root/roles/openshift_ca/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2018-01-17 14:08:33 -0500
committerAndrew Butcher <abutcher@redhat.com>2018-01-17 14:08:33 -0500
commitff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c (patch)
tree0fa6a01906b10eb94ec13ae6df6f1f8fdb4902b4 /roles/openshift_ca/tasks
parentb58e8c1136725db9ce11d01e01e42575ee25ab44 (diff)
downloadopenshift-ff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c.tar.gz
openshift-ff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c.tar.bz2
openshift-ff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c.tar.xz
openshift-ff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c.zip
Default install_result when reloading generated facts.
Diffstat (limited to 'roles/openshift_ca/tasks')
-rw-r--r--roles/openshift_ca/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_ca/tasks/main.yml b/roles/openshift_ca/tasks/main.yml
index b94cd9fba..9c8534c74 100644
--- a/roles/openshift_ca/tasks/main.yml
+++ b/roles/openshift_ca/tasks/main.yml
@@ -19,7 +19,8 @@
- name: Reload generated facts
openshift_facts:
- when: hostvars[openshift_ca_host].install_result is changed
+ when:
+ - hostvars[openshift_ca_host].install_result | default({'changed':false}) is changed
- name: Create openshift_ca_config_dir if it does not exist
file: