diff options
author | Michael Fraenkel <michael.fraenkel@gmail.com> | 2017-08-10 12:22:29 -0400 |
---|---|---|
committer | Michael Fraenkel <michael.fraenkel@gmail.com> | 2017-08-11 13:36:15 -0400 |
commit | 0f84a11fbeb3bd3b05335e70558357cd133ce8b6 (patch) | |
tree | e6f0007b3cc6078cb0ae564002f87660c1ab17e9 | |
parent | 3409e6db205b6b24914e16c62972de50071f4051 (diff) | |
download | openshift-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.yml | 2 |
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: |