From ff3f76bd8dcb0f3dcc8a1b51d15d610f478d0d0c Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 17 Jan 2018 14:08:33 -0500 Subject: Default install_result when reloading generated facts. --- roles/openshift_ca/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles') 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: -- cgit v1.2.3