ansible - How do I do SSH agent forwarding in AWS Lambda? -
i doing following tasks in aws lambda:
- create instance x.
- git pull ansible playbook instance x via
exec_command
of paramiko - run ansible playbook spawn multiple instances (y) , specific tasks.
however, have agent-forwarding here executing tasks on remote instances (y).
so, 1 solution scp
pem file x via exec_command
.
is there better/elegant solution problem statement?
Comments
Post a Comment