Allow distribution of non-autogenerated certs
This patch changes the conditional run of the certs generation from being dependent on the value of generate_certs to whether there are actual certs present. Related-Bug: #1838039 Change-Id: I90bb377c76f51db906de64c134271ec866d11bb5
This commit is contained in:
parent
4369b998d5
commit
cb69257614
|
@ -8,7 +8,7 @@
|
|||
setype: svirt_sandbox_file_t
|
||||
become: true
|
||||
|
||||
- name: Copying key info to octavia
|
||||
- name: Copying key info to octavia if not already there
|
||||
become: true
|
||||
copy:
|
||||
content: "{{ item.content }}"
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
- include_tasks: certificate.yml
|
||||
when:
|
||||
- generate_certs | bool
|
||||
- private_key_content|length > 0
|
||||
- ca_cert_content|length > 0
|
||||
- service_pem_content|length > 0
|
||||
|
||||
- include_tasks: netport.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue