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

python - PyInstaller UAC not working in onefile mode -

python - RuntimeError: can't re-enter readline -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -