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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -