# provide app username and password

**URL:** <https://forum.ansible.com/t/provide-app-username-and-password/18472>\
**Category:** Ansible Project\
**Created:** [June 11, 2015, 2:31pm UTC](https://forum.ansible.com/t/provide-app-username-and-password/18472 "2015-06-11T14:31:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard\_kappler](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Post date:** [June 11, 2015, 2:31pm UTC](https://forum.ansible.com/t/provide-app-username-and-password/18472/1 "2015-06-11T14:31:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![richard\_kappler](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Post date:** [June 11, 2015, 4:10pm UTC](https://forum.ansible.com/t/provide-app-username-and-password/18472/2 "2015-06-11T16:10:07Z")

</div>

I figured it out. →

- user: name=name password=password
- command: do something
