# Latest

**URL:** https://forum.ansible.com/latest.md?page=405

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 406

---

## [waits for password when I don't want it to](https://forum.ansible.com/t/waits-for-password-when-i-dont-want-it-to/32087)

<div class="topic-metadata">

**Author:** [@dmartin](https://forum.ansible.com/u/dmartin)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 5:32pm UTC](https://forum.ansible.com/t/waits-for-password-when-i-dont-want-it-to/32087 "2020-01-29T17:32:31Z")

</div>

Hi all. I have an environment with several hundred unreliable machines. Sometimes they’re just dead, sometimes they’re misconfigured. I always encounter some where the keys in my ssh-agent don’t work and it prompts me t…

---

## [Azure dynamic inventory default to SSH even for win\_ping](https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077)

<div class="topic-metadata">

**Author:** [@Aravind\_Sivaraman](https://forum.ansible.com/u/Aravind_Sivaraman)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 5:17pm UTC](https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077 "2020-01-29T17:17:03Z")

</div>

I am testing the Azure Dynamic Inventory plugin, have a windows VM in one of the resource group, when i am trying to do win\_ping it default the connection to SSH. How do I specify to use by windows credentials here?

---

## [exporting grafana dashboards (containerised) using ansible](https://forum.ansible.com/t/exporting-grafana-dashboards-containerised-using-ansible/32067)

<div class="topic-metadata">

**Author:** [@Vishal\_Bobade](https://forum.ansible.com/u/Vishal_Bobade)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 5:12pm UTC](https://forum.ansible.com/t/exporting-grafana-dashboards-containerised-using-ansible/32067 "2020-01-29T17:12:06Z")

</div>

Hello, I am looking forward to export grafana json dashboards using ansible. Could you please help me on how can I use dockerized grafana to do so . Regards, vbob

---

## [Powershell script from Ansible Playbook](https://forum.ansible.com/t/powershell-script-from-ansible-playbook/32084)

<div class="topic-metadata">

**Author:** [@Sai\_Prasha](https://forum.ansible.com/u/Sai_Prasha)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 1:00pm UTC](https://forum.ansible.com/t/powershell-script-from-ansible-playbook/32084 "2020-01-29T13:00:01Z")

</div>

I have .psl file i want to run that file on Ansible nodes ,So when i try to invoke the .psl file using adhoc command : ansible win1 -m win\_command -a “powershell.exe -File C:\\Sample\\tomeescript.ps1” , It works fine When…

---

## [Anchors to specific module parameters in the docs?](https://forum.ansible.com/t/anchors-to-specific-module-parameters-in-the-docs/32083)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 12:07pm UTC](https://forum.ansible.com/t/anchors-to-specific-module-parameters-in-the-docs/32083 "2020-01-29T12:07:21Z")

</div>

Hi Not sure if this is the right place, but.... I used URLs to module documentation a lot, for instance: https://docs.ansible.com/ansible/latest/modules/docker\_container\_module.html But what I most of the time want, …

---

## [Create module ansible](https://forum.ansible.com/t/create-module-ansible/32081)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 0\
**Last updated:** [January 29, 2020, 11:06am UTC](https://forum.ansible.com/t/create-module-ansible/32081 "2020-01-29T11:06:07Z")

</div>

Hello guy !! :slight\_smile: I want create module for connection and execution script sql in my database MSSQL. I have create programme python : #!/usr/bin/python import pymssql conn = pymssql.connect(host=“my\_host\_d…

---

## [Execut script with Ansible](https://forum.ansible.com/t/execut-script-with-ansible/32074)

<div class="topic-metadata">

**Author:** [@P\_Varsha](https://forum.ansible.com/u/P_Varsha)\
**Replies:** 6\
**Last updated:** [January 29, 2020, 9:56am UTC](https://forum.ansible.com/t/execut-script-with-ansible/32074 "2020-01-29T09:56:03Z")

</div>

can you please share what actually error log you are getting.

---

## [letsencrypt](https://forum.ansible.com/t/letsencrypt/32078)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 2\
**Last updated:** [January 29, 2020, 9:10am UTC](https://forum.ansible.com/t/letsencrypt/32078 "2020-01-29T09:10:25Z")

</div>

I saw there is a module\[1\] that you can use to create a letsencrypt cert. How do you use it to renew said certificate? \[1\] https://docs.ansible.com/ansible/latest/modules/acme\_certificate\_module.html#acme-certificate-m…

---

## [AWX 9.1.1 - SAML Authentication](https://forum.ansible.com/t/awx-9-1-1-saml-authentication/32080)

<div class="topic-metadata">

**Author:** [@Julien\_Tehery](https://forum.ansible.com/u/Julien_Tehery)\
**Replies:** 0\
**Last updated:** [January 29, 2020, 9:03am UTC](https://forum.ansible.com/t/awx-9-1-1-saml-authentication/32080 "2020-01-29T09:03:07Z")

</div>

Hello, I’m familiar with the SAML protocol and 'm trying to set up SAML authentication between AWX as SP and lemonldap as IDP. I followed the instructions here https://docs.ansible.com/ansible-tower/latest/html/adminis…

---

## [get\_config with filter nc: namespace issue](https://forum.ansible.com/t/get-config-with-filter-nc-namespace-issue/32079)

<div class="topic-metadata">

**Author:** [@Eshna\_Jain](https://forum.ansible.com/u/Eshna_Jain)\
**Replies:** 0\
**Last updated:** [January 29, 2020, 4:56am UTC](https://forum.ansible.com/t/get-config-with-filter-nc-namespace-issue/32079 "2020-01-29T04:56:55Z")

</div>

Hello, I am using ansible to configure my system over ansible. I am making a get\_config query with a filter. the filter is : config\_filter: I call the netconf connection module’s get\_config with the above filter. At …

---

## [What is the best approach to creating a inlude\_vars file for my requirement](https://forum.ansible.com/t/what-is-the-best-approach-to-creating-a-inlude-vars-file-for-my-requirement/32055)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 4\
**Last updated:** [January 28, 2020, 9:53pm UTC](https://forum.ansible.com/t/what-is-the-best-approach-to-creating-a-inlude-vars-file-for-my-requirement/32055 "2020-01-28T21:53:06Z")

</div>

I use the stat module to read multiple files statistics from each remote server. Thus, I’m able to get the file mode and checksum value of say 3 files on host1 and 2 files on host2. I wish to know what is a good way to…

---

## [Ansible 2.9 hostvars localhost issue](https://forum.ansible.com/t/ansible-2-9-hostvars-localhost-issue/32076)

<div class="topic-metadata">

**Author:** [@Michael\_Garris](https://forum.ansible.com/u/Michael_Garris)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 8:14pm UTC](https://forum.ansible.com/t/ansible-2-9-hostvars-localhost-issue/32076 "2020-01-28T20:14:14Z")

</div>

I have a local playbook on my laptop which I use to build local vms for testing. I have noticed recently (with the update to Ansible 2.9) that I have been having issues with the playbook running successfully. It used to …

---

## [kerberos: the python kerberos library is not installed](https://forum.ansible.com/t/kerberos-the-python-kerberos-library-is-not-installed/32068)

<div class="topic-metadata">

**Author:** [@Aravind\_Sivaraman](https://forum.ansible.com/u/Aravind_Sivaraman)\
**Replies:** 4\
**Last updated:** [January 28, 2020, 1:47pm UTC](https://forum.ansible.com/t/kerberos-the-python-kerberos-library-is-not-installed/32068 "2020-01-28T13:47:46Z")

</div>

I am trying to authenticated to windows servers using "Kerberos” , but I am getting an error as “kerberos: the python kerberos library is not installed”. The basic authentication to the windows servers works well. Kerber…

---

## [Ansible and Jenkins](https://forum.ansible.com/t/ansible-and-jenkins/32073)

<div class="topic-metadata">

**Author:** [@Sai\_Prasha](https://forum.ansible.com/u/Sai_Prasha)\
**Replies:** 3\
**Last updated:** [January 28, 2020, 1:21pm UTC](https://forum.ansible.com/t/ansible-and-jenkins/32073 "2020-01-28T13:21:58Z")

</div>

I Installed Anisble Server on Windows by enabling WSL (Windows system for Linux ) having Ubuntu Client Now I have Jenkins Installed on the same Windows machine but when i try to run simple ansible command i am seeing th…

---

## [Help with meta end\_host](https://forum.ansible.com/t/help-with-meta-end-host/31324)

<div class="topic-metadata">

**Author:** [@KSS](https://forum.ansible.com/u/KSS)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 1:16pm UTC](https://forum.ansible.com/t/help-with-meta-end-host/31324 "2020-01-28T13:16:28Z")

</div>

Hi, I have a playbook that uses a meta task to end the play for hosts not meeting a certain condition. Further along the playbook I have a run\_once task that uses the ansible\_play\_hosts variable to provide a list of the…

---

## [Unable to run npm command in ansible awx\_task container](https://forum.ansible.com/t/unable-to-run-npm-command-in-ansible-awx-task-container/32011)

<div class="topic-metadata">

**Author:** [@Blacksensei](https://forum.ansible.com/u/Blacksensei)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 12:57pm UTC](https://forum.ansible.com/t/unable-to-run-npm-command-in-ansible-awx-task-container/32011 "2020-01-28T12:57:04Z")

</div>

Hello Guys, Big sorry should this be against rules of the house around double posting. I didn’t know this mailing list existed till now. I had moved a question from ansible mailling list here but before that, I have pos…

---

## [multiple inventories with different credentials](https://forum.ansible.com/t/multiple-inventories-with-different-credentials/32025)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 1\
**Last updated:** [January 28, 2020, 10:51am UTC](https://forum.ansible.com/t/multiple-inventories-with-different-credentials/32025 "2020-01-28T10:51:03Z")

</div>

In Ansible CLI, I can have one inventory file with 2 groups, routers and switches. Each group has its own credentials. Then I have a playbook that is running on switches, but also needs to execute a command on routers. I…

---

## [Ansible custom plugin path change](https://forum.ansible.com/t/ansible-custom-plugin-path-change/32072)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 10:20am UTC](https://forum.ansible.com/t/ansible-custom-plugin-path-change/32072 "2020-01-28T10:20:31Z")

</div>

Right now, by default custom plugins are stored in home directory : ~/.ansible/plugins/callback Our custom plugins are placed in comman directory : say : /var/ansible/plugin We dont have comman user to login to perform …

---

## [Running a select statement as script using oracle\_sql module](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32057)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 2\
**Last updated:** [January 27, 2020, 11:40pm UTC](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32057 "2020-01-27T23:40:39Z")

</div>

Hi, I am trying to run a sql script which has simple select statement. (select username from dba\_users). Will oracle\_sql module run a “Select” statement and returns the results ? My playbook is name: Script will crea…

---

## [Simple Loop](https://forum.ansible.com/t/simple-loop/32066)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 11:39pm UTC](https://forum.ansible.com/t/simple-loop/32066 "2020-01-27T23:39:20Z")

</div>

Hi, I want to create users in the database using Ansible. I need ansible to run the task (creating user) for all the users mentioned in the vars: schemaname. How do I do that in loop ? var: schemaname: user1, user2, u…

---

## [Ansible win\_ping fails](https://forum.ansible.com/t/ansible-win-ping-fails/32069)

<div class="topic-metadata">

**Author:** [@Scott\_V](https://forum.ansible.com/u/Scott_V)\
**Replies:** 1\
**Last updated:** [January 27, 2020, 9:27pm UTC](https://forum.ansible.com/t/ansible-win-ping-fails/32069 "2020-01-27T21:27:03Z")

</div>

I have OpenSSH configured on a Windows 2012 server and I can establish an SSH connection to it from Centos 7, but when I run the command: sudo ansible windows -m win\_ping I get: ansible 2.9.2 config file = /etc/ansib…

---

## [Upgrade from previous version - retaining data?](https://forum.ansible.com/t/upgrade-from-previous-version-retaining-data/32027)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 9:13pm UTC](https://forum.ansible.com/t/upgrade-from-previous-version-retaining-data/32027 "2020-01-27T21:13:07Z")

</div>

Can anyone tell me if this process is supposed to upgrade and retain data or just simply do an upgrade (data loss)? I’m going to assume it doesn’t consist of retaining data as when I followed the process my data was gone…

---

## [Simple Loops in Ansible](https://forum.ansible.com/t/simple-loops-in-ansible/32065)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 1\
**Last updated:** [January 27, 2020, 6:04pm UTC](https://forum.ansible.com/t/simple-loops-in-ansible/32065 "2020-01-27T18:04:32Z")

</div>

Hi, I want to create users in the database using Ansible. I need ansible to run the task (creating user) for all the users mentioned in the vars: schemaname. How do I do that in loop ? var: schemaname: user1, user2, u…

---

## [Openstack Ansible modules moving to Openstack Gerrit from 2.10 version](https://forum.ansible.com/t/openstack-ansible-modules-moving-to-openstack-gerrit-from-2-10-version/32064)

<div class="topic-metadata">

**Author:** [@sshnaidm](https://forum.ansible.com/u/sshnaidm)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 2:02pm UTC](https://forum.ansible.com/t/openstack-ansible-modules-moving-to-openstack-gerrit-from-2-10-version/32064 "2020-01-27T14:02:08Z")

</div>

Hi as you already know the Ansible community modules will go to different locations from 2.10. I’d like to announce that Openstack Ansible modules are moving to Openstack Gerrit \[1\] All 2.10 code should be there. Pleas…

---

## [GCP: How to pull inventory dynamically with multiple labels using Inventory Plugins?](https://forum.ansible.com/t/gcp-how-to-pull-inventory-dynamically-with-multiple-labels-using-inventory-plugins/32063)

<div class="topic-metadata">

**Author:** [@Sreenivas\_Chokkarapu](https://forum.ansible.com/u/Sreenivas_Chokkarapu)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 11:30am UTC](https://forum.ansible.com/t/gcp-how-to-pull-inventory-dynamically-with-multiple-labels-using-inventory-plugins/32063 "2020-01-27T11:30:53Z")

</div>

Hi Folks, I’m using ansible 2.8.4 with Google cloud platform. I’m using Inventory Plugins to get the dynamic inventory as ansible recommends. I’ve 2 Apache nifi clusters, so I’m pulling inventory using gcp\_compute. Eac…

---

## [Problem with Conditional variable](https://forum.ansible.com/t/problem-with-conditional-variable/32039)

<div class="topic-metadata">

**Author:** [@Yehuda\_Pinhas](https://forum.ansible.com/u/Yehuda_Pinhas)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 9:22am UTC](https://forum.ansible.com/t/problem-with-conditional-variable/32039 "2020-01-27T09:22:20Z")

</div>

Hi! I want to make the variable qos\_policy set on conditional basis: If bandwidth\_mb == ‘50’ then qos\_policy == ‘qos-nested-50’ else qos\_policy == ‘qos-nested-new-50’ My code is this (not working): qos\_policy: “{{…

---

## [Basic beginner question](https://forum.ansible.com/t/basic-beginner-question/32061)

<div class="topic-metadata">

**Author:** [@Waqar\_Khan](https://forum.ansible.com/u/Waqar_Khan)\
**Replies:** 3\
**Last updated:** [January 26, 2020, 1:54pm UTC](https://forum.ansible.com/t/basic-beginner-question/32061 "2020-01-26T13:54:46Z")

</div>

Starting out with ansible and trying to configure sshd config. Here is what I have, it works but is there a better way to do with for future reference. e.g. if I have many different distributions it looks like a lot of c…

---

## [Running a select statement as script using oracle\_sql module](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32058)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 2\
**Last updated:** [January 26, 2020, 2:37am UTC](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32058 "2020-01-26T02:37:05Z")

</div>

Hi, I am trying to run a sql script which has simple select statement. (select username from dba\_users). Will oracle\_sql module run a “Select” statement and returns the results ? My playbook is name: Script will crea…

---

## [Run excel VB or Macro?](https://forum.ansible.com/t/run-excel-vb-or-macro/32054)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [January 25, 2020, 10:56pm UTC](https://forum.ansible.com/t/run-excel-vb-or-macro/32054 "2020-01-25T22:56:41Z")

</div>

I am trying to automate a process. Is it possible, natively in Ansible, to run an Excel Macro, or Visual Basic code against an .csv? Thanks in advance.

---

## [Hostvars giving  me undefined error](https://forum.ansible.com/t/hostvars-giving-me-undefined-error/32048)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 7\
**Last updated:** [January 25, 2020, 10:25pm UTC](https://forum.ansible.com/t/hostvars-giving-me-undefined-error/32048 "2020-01-25T22:25:40Z")

</div>

Hi Iam trying to access the variable from other hosts using hostvars. I am getting the undefined error. Can anybody help me: stuck at this point hosts: yum gather\_facts: false vars: file\_locn: “/san/repos/{{ vers…

[Previous page](https://forum.ansible.com/latest.md?page=404)

[Next page](https://forum.ansible.com/latest.md?page=406)
