I’m trying to invoke the route53 command as part of a playbook - this requires access to the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
Is there a way to tell ansible to take the exported variables from the local shell and export them to the remote shell when the playbook is run?
I'm trying to invoke the route53 command as part of a playbook - this
requires access to the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
environment variables.
Is there a way to tell ansible to take the exported variables from the
local shell and export them to the remote shell when the playbook is
run?
For note, I've tried to set the environment explicitly, e.g.