ansible - How do I do SSH agent forwarding in AWS Lambda? -


i doing following tasks in aws lambda:

  1. create instance x.
  2. git pull ansible playbook instance x via exec_command of paramiko
  3. 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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -