Merge "use-buildset-registry: do not update ca when not necessary"

This commit is contained in:
Zuul
2020-05-05 20:22:57 +00:00
committed by Gerrit Code Review

View File

@@ -39,9 +39,11 @@
copy:
content: "{{ buildset_registry.cert }}"
dest: "{{ ca_dir }}/buildset-registry.crt"
register: _tls_ca
- name: Update CA certs
command: "{{ ca_command }}"
become: true
when: _tls_ca is changed
# Update daemon config
- name: Check if docker daemon configuration exists