Re: [ansible-project] Using new SSH password when running task

2018-02-23 Thread Cody Harlow
So I guess this turns into a question of can I start a new SSH connection with a new password and user when it runs a new play? On Friday, February 23, 2018 at 9:25:59 AM UTC-5, Kai Stian Olstad wrote: > > On Friday, 23 February 2018 00.54.31 CET Cody Harlow wrote: > > So I have a role that

Re: [ansible-project] Using new SSH password when running task

2018-02-23 Thread Cody Harlow
So I guess this turns into a question of can I start a new SSH connection when it runs a new play? On Friday, February 23, 2018 at 9:25:59 AM UTC-5, Kai Stian Olstad wrote: > > On Friday, 23 February 2018 00.54.31 CET Cody Harlow wrote: > > So I have a role that pulls a password from a website

Re: [ansible-project] Using new SSH password when running task

2018-02-23 Thread Kai Stian Olstad
On Friday, 23 February 2018 00.54.31 CET Cody Harlow wrote: > So I have a role that pulls a password from a website using the uri method > and I store it in a variable. I call the variable like this: > varname.json.password. How can I use this password when Ansible jumps to > the next play? I