summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Fraenkel <michael.fraenkel@gmail.com>2017-08-10 12:22:29 -0400
committerMichael Fraenkel <michael.fraenkel@gmail.com>2017-08-11 13:36:15 -0400
commit0f84a11fbeb3bd3b05335e70558357cd133ce8b6 (patch)
treee6f0007b3cc6078cb0ae564002f87660c1ab17e9
parent3409e6db205b6b24914e16c62972de50071f4051 (diff)
downloadopenshift-0f84a11fbeb3bd3b05335e70558357cd133ce8b6.tar.gz
openshift-0f84a11fbeb3bd3b05335e70558357cd133ce8b6.tar.bz2
openshift-0f84a11fbeb3bd3b05335e70558357cd133ce8b6.tar.xz
openshift-0f84a11fbeb3bd3b05335e70558357cd133ce8b6.zip
Fix Restore Master AWS Options
- remove dangling bool
-rw-r--r--roles/openshift_master/tasks/systemd_units.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/systemd_units.yml b/roles/openshift_master/tasks/systemd_units.yml
index 3affdd348..723bdb0c4 100644
--- a/roles/openshift_master/tasks/systemd_units.yml
+++ b/roles/openshift_master/tasks/systemd_units.yml
@@ -70,7 +70,7 @@
with_items: "{{ master_api_proxy.stdout_lines | default([]) }}"
- name: Restore Master API AWS Options
- when: bool and openshift.master.cluster_method == "native"
+ when: openshift.master.cluster_method == "native"
and master_api_aws.rc == 0 and
not (openshift_cloudprovider_kind is defined and openshift_cloudprovider_kind == 'aws' and openshift_cloudprovider_aws_access_key is defined and openshift_cloudprovider_aws_secret_key is defined)
lineinfile: