# Juniper Network Automation using Ansible Tower Network Credentials

**URL:** <https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915>\
**Category:** Ansible Project\
**Created:** [October 28, 2016, 5:00pm UTC](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915 "2016-10-28T17:00:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lance\_Le\_Roux](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@Lance\_Le\_Roux](https://forum.ansible.com/u/Lance_Le_Roux)\
**Post date:** [October 28, 2016, 5:00pm UTC](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915/1 "2016-10-28T17:00:13Z")

</div>

I am trying to use the network credentials in Ansible Tower however it doesn’t seem to work. I am using variable ANSIBLE\_NET\_USERNAME and ANSIBLE\_NET\_PASSWORD however they don’t exist when I run my template.

playbook.yaml

---

<div class="post-metadata">

**Author:** ![psprygada](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@psprygada](https://forum.ansible.com/u/psprygada)\
**Post date:** [October 28, 2016, 5:53pm UTC](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915/2 "2016-10-28T17:53:45Z")

</div>

You are using the Juniper modules distributed from Galaxy which are not compatible with Tower today. The only modules that work with Tower credentials are the Junos modules in core.

---

<div class="post-metadata">

**Author:** ![Lance\_Le\_Roux](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@Lance\_Le\_Roux](https://forum.ansible.com/u/Lance_Le_Roux)\
**Post date:** [November 1, 2016, 10:01pm UTC](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915/3 "2016-11-01T22:01:55Z")

</div>

That was the problem. I changed the module to junos\_facts which was already included with Ansible Tower.
