diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-09-29 09:21:36 -0400 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-09-29 09:23:00 -0400 |
commit | ed12dd75d2882eda00d3c06d2d41af63c35e53b4 (patch) | |
tree | 81d6d3517a5bd139ca6da006178e71dc97c702eb /roles/openshift_aws/tasks/iam_cert.yml | |
parent | 9920ea81d7f036432553921b708cf8c49ac6ea62 (diff) | |
download | openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.gz openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.bz2 openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.xz openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.zip |
Fix some provisioning variables
This commit fixes some provisioning variables.
It also adjusts a failure condition for an
ec2 call, which may fail silently without having
the necessary permissions, which creates an
unrelated error message later in the run.
Diffstat (limited to 'roles/openshift_aws/tasks/iam_cert.yml')
-rw-r--r-- | roles/openshift_aws/tasks/iam_cert.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_aws/tasks/iam_cert.yml b/roles/openshift_aws/tasks/iam_cert.yml index cd9772a25..6aab87d0c 100644 --- a/roles/openshift_aws/tasks/iam_cert.yml +++ b/roles/openshift_aws/tasks/iam_cert.yml @@ -11,14 +11,15 @@ - "'failed' in elb_cert_chain" - elb_cert_chain.failed - "'msg' in elb_cert_chain" - - "'already exists and has a different certificate body' in elb_cert_chain.msg" - - "'BotoServerError' in elb_cert_chain.msg" + - "'already exists and has a different certificate body' in elb_cert_chain.msg or 'BotoServerError' in elb_cert_chain.msg or 'Traceback' in elb_cert_chain.msg.module_stderr" when: - openshift_aws_create_iam_cert | bool - openshift_aws_iam_cert_path != '' - openshift_aws_iam_cert_key_path != '' - openshift_aws_elb_cert_arn == '' +- debug: msg="{{ elb_cert_chain }}" + - name: set_fact openshift_aws_elb_cert_arn set_fact: openshift_aws_elb_cert_arn: "{{ elb_cert_chain.arn }}" |