--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1266659c-3d92-4ea3-85ca-5322bf4f0fea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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.
On Fri, Oct 28, 2016 at 1:00 PM, Lance Le Roux <wiresc...@gmail.com> wrote:
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---- name: Get Device Factshosts: allroles:- Juniper.junosconnection: localgather_facts: notasks:- name: Retrieve information from devices running Junos OSjunos_get_facts:host={{ inventory_hostname }}port=22user={{ ANSIBLE_NET_USERNAME }}passwd={{ ANSIBLE_NET_PASSWORD }}register: junos- name: versiondebug: msg="{{ junos.facts.version }}"
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.