You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then save it to a remote file using shell and echo redirection and after read the file with shell and cat command (or we can find better option than using shell module).
The text was updated successfully, but these errors were encountered:
the use the password variable in our playbook. If the file does not exist it creates a password and fill the file, otherwise it reads the password from the file.
Right now we are generating a password every time we connect, this is because we can change it without restriction. I would like to keep it this way because storing password in a local file means another level of syncronisation (between us, the humans) . I can't execute the same playbook A on machine vm_A unless you share the password file.
Note:
Require the password file path (variable password_path) and set the variable password as result.
Still use library/gen_passwd.py because lookup password fail if no path is supplied.
Instead of using library/gen_passwd.py we can generate a password using lookup
Then save it to a remote file using shell and echo redirection and after read the file with shell and cat command (or we can find better option than using shell module).
The text was updated successfully, but these errors were encountered: