I figured it out. -> - user: name=name password=password - command: do something
On Thursday, June 11, 2015 at 10:31:54 AM UTC-4, richard kappler wrote: > > How would I provide a username and password for an application? > > Specifically, within a running app to which I am deploying and add-on I > need to run a script to verify proper operation of the add-on installation. > When the command to run the script is entered, the app asks for a username > and password. I don't need, and actually prefer not to have, any encryption > as this is an airgapped system. So, basically what I'm looking for is - > > command: do something > output.txt > username: provide the username when asked > password: provide the password when asked > fetch: src=/path/output.txt dest=/path/fetchedOutput.txt > > regards, Richard > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4946fa25-7f44-4559-a9d1-4f4a53ae1929%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
