diff options
author | Eric Sauer <esauer@redhat.com> | 2017-04-03 15:37:22 -0400 |
---|---|---|
committer | Eric Sauer <esauer@redhat.com> | 2017-04-03 15:37:22 -0400 |
commit | 2f3158bbc8f1264f6fe8d3be5d111d4c8576d79f (patch) | |
tree | 6eca9f269787c4608bc0f9eea6d2240df4736179 /roles | |
parent | 6c4941a7dd63de9fd07408c87a91e46493f96f6c (diff) | |
download | openshift-2f3158bbc8f1264f6fe8d3be5d111d4c8576d79f.tar.gz openshift-2f3158bbc8f1264f6fe8d3be5d111d4c8576d79f.tar.bz2 openshift-2f3158bbc8f1264f6fe8d3be5d111d4c8576d79f.tar.xz openshift-2f3158bbc8f1264f6fe8d3be5d111d4c8576d79f.zip |
Addressing py27-yamllint
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_logging/tasks/procure_server_certs.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_logging/tasks/procure_server_certs.yaml b/roles/openshift_logging/tasks/procure_server_certs.yaml index 19e03aba4..7ab140357 100644 --- a/roles/openshift_logging/tasks/procure_server_certs.yaml +++ b/roles/openshift_logging/tasks/procure_server_certs.yaml @@ -19,7 +19,7 @@ - name: Trying to discover the server key variable name for {{ cert_info.procure_component }} set_fact: procure_component_key={{ lookup('env', '{{cert_info.procure_component}}' + '_key') }} - when: + when: - cert_info.hostnames is undefined - cert_info[ cert_info.procure_component + '_crt' ] is defined - cert_info[ cert_info.procure_component + '_key' ] is defined @@ -33,9 +33,9 @@ --signer-serial={{generated_certs_dir}}/ca.serial.txt check_mode: no when: - - cert_info.hostnames is defined - - not component_key_file.stat.exists - - not component_cert_file.stat.exists + - cert_info.hostnames is defined + - not component_key_file.stat.exists + - not component_cert_file.stat.exists - name: Copying server key for {{ cert_info.procure_component }} to generated certs directory copy: content="{{procure_component_key}}" dest={{generated_certs_dir}}/{{cert_info.procure_component}}.key |