mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 19:06:39 +08:00
copr: backend: only update ca trust when needed
Perhaps last backend playbook idempotence fix.
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
183ba37276
commit
d770aeddff
@@ -1,5 +1,7 @@
|
||||
- name: copy .pem
|
||||
copy: src=../../files/fedora-cloud/fed-cloud09.pem dest=/etc/pki/ca-trust/source/anchors/
|
||||
register: cloud_pem_copied
|
||||
|
||||
- name: update certificates
|
||||
command: /usr/bin/update-ca-trust
|
||||
when: cloud_pem_copied.changed
|
||||
|
||||
Reference in New Issue
Block a user