Mejorar idempotencia: usar copy para PEM, agregar changed_when a GPG export
This commit is contained in:
parent
f55a621a01
commit
8b9fd80a0d
3 changed files with 9 additions and 6 deletions
|
|
@ -85,6 +85,7 @@
|
|||
ansible.builtin.shell:
|
||||
cmd: "gpg --armor --export 'Koji Signing Key' > {{ koji_pki_dir }}/gpg_key.pub"
|
||||
creates: "{{ koji_pki_dir }}/gpg_key.pub"
|
||||
changed_when: false
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue