On 31. okt. 2016 09:00, marko wrote:
I tried including the certificate issuance task in our server provisioning playbook, but being a bit of a Ansible newbie, I'm running into problems. When I run the certificate issuance task on host CA, I need to copy the certificate from host CA to the provisioned host P. Apparently, I can't use copy or fetch because they work between the Ansible host A and the newly provisioned server P - instead of hosts CA and P.
You can use fetch with delegate_to: CA, den the files will be fetched from the CA server instead of host P to host A, and then a copy will copy the files to host P.
-- Kai Stian Olstad -- 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/4d91b5c6-fff5-6321-0b2e-def357b3028e%40olstad.com. For more options, visit https://groups.google.com/d/optout.
