Merge "use-buildset-registry: do not update ca when not necessary"
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user