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: copy:
content: "{{ buildset_registry.cert }}" content: "{{ buildset_registry.cert }}"
dest: "{{ ca_dir }}/buildset-registry.crt" dest: "{{ ca_dir }}/buildset-registry.crt"
register: _tls_ca
- name: Update CA certs - name: Update CA certs
command: "{{ ca_command }}" command: "{{ ca_command }}"
become: true become: true
when: _tls_ca is changed
# Update daemon config # Update daemon config
- name: Check if docker daemon configuration exists - name: Check if docker daemon configuration exists