The problem is it is the ansible-playbook that is actually going off to get the STS creds using sts_assume_role module so until i run the play, i don't have the creds.
I guess I could invoke a playbook from within another playbook :| On Tuesday, 11 April 2017 23:00:01 UTC+10, Brian Coca wrote: > > set them in the environment before executing Ansible > > AWS_SECURITY_TOKEN=xxx ansible-playbook .... > ---------- > Brian Coca > -- 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/35fcf400-35b0-4a93-8a02-4a6f082ca3a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
