If I:
- name: Copy SSL cert
copy: src={{ ansible_hostname if ansible_hostname in valid_hosts else
('test') }}.crt
dest=/etc/pki/tls/certs/
mode=0644
How can I capture the name of the certificate that was actually copied for
action in another task?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5382ed08-6fb7-42df-a9a8-2c938829fa8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.