# How do I configure Ansible to run kickstart for RHEL VM's

**URL:** <https://forum.ansible.com/t/how-do-i-configure-ansible-to-run-kickstart-for-rhel-vms/18890>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [July 29, 2015, 6:48pm UTC](https://forum.ansible.com/t/how-do-i-configure-ansible-to-run-kickstart-for-rhel-vms/18890 "2015-07-29T18:48:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Pruchniewski](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@Gerald\_Pruchniewski](https://forum.ansible.com/u/Gerald_Pruchniewski)\
**Post date:** [July 29, 2015, 6:48pm UTC](https://forum.ansible.com/t/how-do-i-configure-ansible-to-run-kickstart-for-rhel-vms/18890/1 "2015-07-29T18:48:40Z")

</div>

I found this link which provides a lot of great information [https://groups.google.com/forum/#!topic/pysphere/iTNRGbtbans](https://groups.google.com/forum/#!topic/pysphere/iTNRGbtbans) on what I’m trying to accomplish. The first problem I have is it looks like it wants the vCenter username and password to be in plain text. I was wondering if there is a way to get around that, make it more secure?

I am brand new to the Ansible world, I am sure I will have many other questions. I really do like the product, I hope to get better and use it more in my daily tasks.

Thanks in advance for any help or direction with my issue.

Jerry P.

---

<div class="post-metadata">

**Author:** ![Paul\_Markham](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Paul\_Markham](https://forum.ansible.com/u/Paul_Markham)\
**Post date:** [July 29, 2015, 11:14pm UTC](https://forum.ansible.com/t/how-do-i-configure-ansible-to-run-kickstart-for-rhel-vms/18890/2 "2015-07-29T23:14:25Z")

</div>

You can use variables for the username and password, then use Ansible vault to encrypt the file containing the variable definitions.
