# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=162

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

**Page:** 163

---

## [LDAPS with Ansible AWX](https://forum.ansible.com/t/ldaps-with-ansible-awx/34034)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 10\
**Last updated:** [October 23, 2020, 4:44pm UTC](https://forum.ansible.com/t/ldaps-with-ansible-awx/34034 "2020-10-23T16:44:50Z")

</div>

I have a requirement to have Ansible work with LDAPS. I have gone into the GUI and put in the correct address for LDAPS. Did not work. I found a technical support article at RedHat that provided more to do with changin…

---

## [l2 Interfaces](https://forum.ansible.com/t/l2-interfaces/34093)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 0\
**Last updated:** [October 23, 2020, 4:43pm UTC](https://forum.ansible.com/t/l2-interfaces/34093 "2020-10-23T16:43:30Z")

</div>

When I run this in ansible I pull a list of interfaces off a network switch.

---

## [tower picking user as awx](https://forum.ansible.com/t/tower-picking-user-as-awx/34070)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 2\
**Last updated:** [October 23, 2020, 3:22pm UTC](https://forum.ansible.com/t/tower-picking-user-as-awx/34070 "2020-10-23T15:22:21Z")

</div>

Hi All, am trying to copy one file from controller to node, ansible is picking awx as user, actually in the rest tasks it picking my user please help how to resolve the issue in the tower. Regards Razzaq

---

## [awx inplace upgrade to v15 using local docker ... Data migration not happening](https://forum.ansible.com/t/awx-inplace-upgrade-to-v15-using-local-docker-data-migration-not-happening/34090)

<div class="topic-metadata">

**Author:** [@Rajiv\_Kamath](https://forum.ansible.com/u/Rajiv_Kamath)\
**Replies:** 0\
**Last updated:** [October 23, 2020, 3:11pm UTC](https://forum.ansible.com/t/awx-inplace-upgrade-to-v15-using-local-docker-data-migration-not-happening/34090 "2020-10-23T15:11:57Z")

</div>

SUMMARY Used the official github instructions to do an inplace upgrade using docker-compose and below is a summary of what was done for the upgrade Downloaded the latest awx artifacts from github ( version 15 ) co…

---

## [ansible-playbook don't see the custom connection plugin](https://forum.ansible.com/t/ansible-playbook-dont-see-the-custom-connection-plugin/34089)

<div class="topic-metadata">

**Author:** [@Valentin\_Gusarin](https://forum.ansible.com/u/Valentin_Gusarin)\
**Replies:** 0\
**Last updated:** [October 23, 2020, 11:49am UTC](https://forum.ansible.com/t/ansible-playbook-dont-see-the-custom-connection-plugin/34089 "2020-10-23T11:49:27Z")

</div>

Hi! I try to develope custom connection plugin. Plugin placed in ~/.ansible/plugins/connection folder and correctly seen by ansible-doc. But, when I try to run playbook, I have a message: {“msg”: “the connection plugi…

---

## [Copy Module with host name in file:  dest: "/root/file \<hostname\>](https://forum.ansible.com/t/copy-module-with-host-name-in-file-dest-root-file-hostname/34088)

<div class="topic-metadata">

**Author:** [@Sobhan\_Anavarapu](https://forum.ansible.com/u/Sobhan_Anavarapu)\
**Replies:** 3\
**Last updated:** [October 23, 2020, 8:30am UTC](https://forum.ansible.com/t/copy-module-with-host-name-in-file-dest-root-file-hostname/34088 "2020-10-23T08:30:11Z")

</div>

Hi All, I am seeking for your help if I can create files in the controller node with the output we generate against the multiple IP’s Eg: If I am passing 2 IP’s with vars\_prompt. In copy module it should create 2 diffe…

---

## [Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found](https://forum.ansible.com/t/can-t-open-lib-usr-lib64-libmyodbc5-so-file-not-found/34087)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 2\
**Last updated:** [October 23, 2020, 5:57am UTC](https://forum.ansible.com/t/can-t-open-lib-usr-lib64-libmyodbc5-so-file-not-found/34087 "2020-10-23T05:57:19Z")

</div>

command: $ echo “select 1” | isql -v asterisk asterisk password Error: \[01000\]\[unixODBC\]\[Driver Manager\]Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found \[ISQL\]ERROR: Could not SQLConnect odbcinst.ini: \[Pos…

---

## [mssql-tools breaks yum update](https://forum.ansible.com/t/mssql-tools-breaks-yum-update/34085)

<div class="topic-metadata">

**Author:** [@JeremyVV](https://forum.ansible.com/u/JeremyVV)\
**Replies:** 1\
**Last updated:** [October 23, 2020, 5:52am UTC](https://forum.ansible.com/t/mssql-tools-breaks-yum-update/34085 "2020-10-23T05:52:33Z")

</div>

I have a patching playbook that works fine if the yum package installation doesn’t require any prompts, as per rpm best practices. Well when I ran my patching playbook to update my OS I discovered that mssql-tools upon r…

---

## [Ansible: need help uninstalling Windows software via playbook](https://forum.ansible.com/t/ansible-need-help-uninstalling-windows-software-via-playbook/34086)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 8:54pm UTC](https://forum.ansible.com/t/ansible-need-help-uninstalling-windows-software-via-playbook/34086 "2020-10-22T20:54:01Z")

</div>

Hello, I would greatly appreciate any help/input to help me get this playbook working. I have been trying with win\_package (win\_package states the program is uninstalled, but its not). I have even tried powershell via w…

---

## [Conditionally input to a playbook based on vars\_prompt](https://forum.ansible.com/t/conditionally-input-to-a-playbook-based-on-vars-prompt/34082)

<div class="topic-metadata">

**Author:** [@Sobhan\_Anavarapu](https://forum.ansible.com/u/Sobhan_Anavarapu)\
**Replies:** 6\
**Last updated:** [October 22, 2020, 4:53pm UTC](https://forum.ansible.com/t/conditionally-input-to-a-playbook-based-on-vars-prompt/34082 "2020-10-22T16:53:01Z")

</div>

I have a question, with optional input of A or B in vars\_prompt can the command be executed in a playbook task. example name: checking the switchshow value\_command: command\_set: command: switchdisable command: switc…

---

## [Win\_psexec help](https://forum.ansible.com/t/win-psexec-help/34079)

<div class="topic-metadata">

**Author:** [@Roman\_DeHonney](https://forum.ansible.com/u/Roman_DeHonney)\
**Replies:** 3\
**Last updated:** [October 22, 2020, 2:25pm UTC](https://forum.ansible.com/t/win-psexec-help/34079 "2020-10-22T14:25:09Z")

</div>

I am attempting to run an .exe that I created using Auto IT. It simply makes two clicks on a program to perform a test and logs it. It works fine if I am logged into the host and double click the exe. I need to run this…

---

## [Ansible-ServiceNow integration](https://forum.ansible.com/t/ansible-servicenow-integration/34083)

<div class="topic-metadata">

**Author:** [@Zaldy\_B](https://forum.ansible.com/u/Zaldy_B)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 12:40pm UTC](https://forum.ansible.com/t/ansible-servicenow-integration/34083 "2020-10-22T12:40:16Z")

</div>

Hi Experts. My setup is this: I have lists of playbooks for network devices (like traceroute, ping, etc). our ansible is not the source of incident to create ticket (we have other management system for that). if there i…

---

## [vmware\_guest - Failed to set static IP - VCenter 6.5](https://forum.ansible.com/t/vmware-guest-failed-to-set-static-ip-vcenter-6-5/34078)

<div class="topic-metadata">

**Author:** [@Saketha\_Vamshi\_d](https://forum.ansible.com/u/Saketha_Vamshi_d)\
**Replies:** 8\
**Last updated:** [October 22, 2020, 10:02am UTC](https://forum.ansible.com/t/vmware-guest-failed-to-set-static-ip-vcenter-6-5/34078 "2020-10-22T10:02:25Z")

</div>

Hello guys, I’m trying to deploy a new VM on ESXi host with ansible 2.9.13 with a device\_type=e1000. But unfortunately it is not accepting my static IP value, even when I mentioned type=static in playbook. For e.g.: n…

---

## [Urgent help required on vmware\_guest\_network](https://forum.ansible.com/t/urgent-help-required-on-vmware-guest-network/34077)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 3\
**Last updated:** [October 22, 2020, 8:05am UTC](https://forum.ansible.com/t/urgent-help-required-on-vmware-guest-network/34077 "2020-10-22T08:05:23Z")

</div>

Hello Everyone, I am trying to add network adaptor to vmware virtual machine, but while executing playbook i am getting below error. Please help me to resolve this issue. Note: we are process in to upgrade ansible & p…

---

## [Define multiple TACACS hosts for authentication](https://forum.ansible.com/t/define-multiple-tacacs-hosts-for-authentication/33856)

<div class="topic-metadata">

**Author:** [@Hrvoje\_Gaspar](https://forum.ansible.com/u/Hrvoje_Gaspar)\
**Replies:** 1\
**Last updated:** [October 22, 2020, 7:32am UTC](https://forum.ansible.com/t/define-multiple-tacacs-hosts-for-authentication/33856 "2020-10-22T07:32:53Z")

</div>

Hello people, A client would like centralized authentication via TACACS, and apparently they are using two separate TACACS hosts. Is there a way AWX could be configured to use both when searching for user? Something li…

---

## [vm\_extra\_config in vmware\_guest not available?](https://forum.ansible.com/t/vm-extra-config-in-vmware-guest-not-available/34081)

<div class="topic-metadata">

**Author:** [@Jay\_O](https://forum.ansible.com/u/Jay_O)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 5:39am UTC](https://forum.ansible.com/t/vm-extra-config-in-vmware-guest-not-available/34081 "2020-10-22T05:39:40Z")

</div>

Hi, I’ve used vm\_extra\_config from “vsphere\_guest”. Now I’m transitioning my playbooks to “vmware\_guest”. However I can’t seem to find the equivalent for vm\_extra\_config (to add extra params to vmx file). Is this not a…

---

## [Synchronise module not working](https://forum.ansible.com/t/synchronise-module-not-working/34069)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 2\
**Last updated:** [October 22, 2020, 5:30am UTC](https://forum.ansible.com/t/synchronise-module-not-working/34069 "2020-10-22T05:30:46Z")

</div>

Hi All I was trying to 2gb file from ansible controller to ansible node where am using copy / synchronize module and my all playbooks are working fine in the ansible cli, when it comes to ansible tower am getting below …

---

## [Register IOS ports based on port configurations](https://forum.ansible.com/t/register-ios-ports-based-on-port-configurations/34080)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 0\
**Last updated:** [October 21, 2020, 9:41pm UTC](https://forum.ansible.com/t/register-ios-ports-based-on-port-configurations/34080 "2020-10-21T21:41:06Z")

</div>

I am working on a way to register interfaces to use as a variable based on the way the port is configured. For example I want all ports that are configured for a trunk or access vlan 10. I have not found a way to use the…

---

## [Linux lun mount and format/filesystem](https://forum.ansible.com/t/linux-lun-mount-and-format-filesystem/33976)

<div class="topic-metadata">

**Author:** [@anonymus](https://forum.ansible.com/u/anonymus)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 4:55pm UTC](https://forum.ansible.com/t/linux-lun-mount-and-format-filesystem/33976 "2020-10-21T16:55:17Z")

</div>

i am newbie on ansible i wanted to do the below task using ansible , is there any playbook for Discovering an iscsi target Login in rescanning iscsi bus formatting the newly discovered lun creating filesystem on it. u…

---

## [Ansible package proposal to remove .rst files from tarballs](https://forum.ansible.com/t/ansible-package-proposal-to-remove-rst-files-from-tarballs/34076)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [October 21, 2020, 3:58pm UTC](https://forum.ansible.com/t/ansible-package-proposal-to-remove-rst-files-from-tarballs/34076 "2020-10-21T15:58:00Z")

</div>

Hi folks - Currently, the Ansible package tarballs and the individual collection tarballs include .RST files. This adds to the overall size of these packages, so we are considering removing them, and instead, creating a…

---

## [How to filter plugins access vars from host](https://forum.ansible.com/t/how-to-filter-plugins-access-vars-from-host/34075)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 2:53pm UTC](https://forum.ansible.com/t/how-to-filter-plugins-access-vars-from-host/34075 "2020-10-21T14:53:27Z")

</div>

Hi, I create a new filter plugin but the plugin needs to get vars from the host. How to get the vars in python filter plugins?

---

## [Timeout when waiting for postgres:5432 psycopg2.OperationalError: could not translate host name "postgres" to address: Nam│ │127.0.0.1 | FAILED! "unable to connect to database: could not translate host name \\"postgres\\" to address: Name or service no](https://forum.ansible.com/t/timeout-when-waiting-for-postgres-5432-psycopg2-operationalerror-could-not-translate-host-name-postgres-to-address-nam-127-0-0-1-failed-unable-to-connect-to-database-could-not-translate-host-name-postgres-to-address-name-or-service-no/34073)

<div class="topic-metadata">

**Author:** [@Roscha](https://forum.ansible.com/u/Roscha)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 1:21pm UTC](https://forum.ansible.com/t/timeout-when-waiting-for-postgres-5432-psycopg2-operationalerror-could-not-translate-host-name-postgres-to-address-nam-127-0-0-1-failed-unable-to-connect-to-database-could-not-translate-host-name-postgres-to-address-name-or-service-no/34073 "2020-10-21T13:21:25Z")

</div>

macOS Docker Desktop % docker --version Docker version 19.03.13, build 4484c46d9d % ansible --version ansible 2.10.2 config file = None configured module search path = \[‘/Users/admin/.ansible/plugins/modules’, ‘/us…

---

## [ansible taking a really long time](https://forum.ansible.com/t/ansible-taking-a-really-long-time/34067)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 12:17pm UTC](https://forum.ansible.com/t/ansible-taking-a-really-long-time/34067 "2020-10-21T12:17:01Z")

</div>

When I run: $ ansible all -m command -a uptime -o for 97 hosts (Solaris and GNU/Linux) the command (just ran) takes 31 minutes. How can I find where the time is being spent? I have a custom ~/.ansible.cfg that specifi…

---

## [create folder adds \[' my var ’\]](https://forum.ansible.com/t/create-folder-adds-my-var/34068)

<div class="topic-metadata">

**Author:** [@Gisbert\_Haas](https://forum.ansible.com/u/Gisbert_Haas)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 10:24am UTC](https://forum.ansible.com/t/create-folder-adds-my-var/34068 "2020-10-21T10:24:33Z")

</div>

I have the following regex in my playbook: name: get business ID set\_fact: my\_var: “{{ inventory\_hostname | regex\_findall(‘.+?(?=-).+?(?=-).+?(?=-).+?(?=-)+’) }}” the debug returns the right value: ok: \[DE-LEI-GRO-…

---

## [Harvesting UIDs above 1000](https://forum.ansible.com/t/harvesting-uids-above-1000/34064)

<div class="topic-metadata">

**Author:** [@Joseph\_Alexander](https://forum.ansible.com/u/Joseph_Alexander)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 6:10am UTC](https://forum.ansible.com/t/harvesting-uids-above-1000/34064 "2020-10-21T06:10:37Z")

</div>

I have a task from our program security to verify all local accounts on all of our RHEL servers and turn them in. I have a working playbook, but I’m wondering if there is a better, more cleaner way to do this. I have a …

---

## [AWX survey varible alwasy treated as a string](https://forum.ansible.com/t/awx-survey-varible-alwasy-treated-as-a-string/34061)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 4\
**Last updated:** [October 20, 2020, 5:19pm UTC](https://forum.ansible.com/t/awx-survey-varible-alwasy-treated-as-a-string/34061 "2020-10-20T17:19:22Z")

</div>

Hello, I have AWX 13.0 and ansible 2.9. I have a template in AWX that has a survey. I set and send an integer value to a playbook via --extra\_vars. The problem is the playbook sends a string to the device I am working…

---

## [False positives using win\_psexec module](https://forum.ansible.com/t/false-positives-using-win-psexec-module/34066)

<div class="topic-metadata">

**Author:** [@Roman\_DeHonney](https://forum.ansible.com/u/Roman_DeHonney)\
**Replies:** 0\
**Last updated:** [October 20, 2020, 4:56pm UTC](https://forum.ansible.com/t/false-positives-using-win-psexec-module/34066 "2020-10-20T16:56:57Z")

</div>

So I am attempting to run an .exe that I created using Auto IT. It simply makes two clicks on a program to perform a test and logs it. It works fine if I am logged into the host and double click the exe. I need to run t…

---

## [Announcing AWX 15.0.1](https://forum.ansible.com/t/announcing-awx-15-0-1/34063)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [October 20, 2020, 3:11pm UTC](https://forum.ansible.com/t/announcing-awx-15-0-1/34063 "2020-10-20T15:11:48Z")

</div>

Hello Everyone, I am excited to announce a new version of AWX, 15.0.1. Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md):

---

## [Accessing cached facts from custom module](https://forum.ansible.com/t/accessing-cached-facts-from-custom-module/34036)

<div class="topic-metadata">

**Author:** [@Zeek3000](https://forum.ansible.com/u/Zeek3000)\
**Replies:** 3\
**Last updated:** [October 20, 2020, 10:48am UTC](https://forum.ansible.com/t/accessing-cached-facts-from-custom-module/34036 "2020-10-20T10:48:00Z")

</div>

Hello, I’m trying to access facts that are cached in AWX from within my custom network module, preferably without having to make an API call. I need to check if an element already exists in the fact cache so that it doe…

---

## [has anyone setup private ansible galaxy?](https://forum.ansible.com/t/has-anyone-setup-private-ansible-galaxy/34054)

<div class="topic-metadata">

**Author:** [@Prabha](https://forum.ansible.com/u/Prabha)\
**Replies:** 3\
**Last updated:** [October 20, 2020, 9:26am UTC](https://forum.ansible.com/t/has-anyone-setup-private-ansible-galaxy/34054 "2020-10-20T09:26:23Z")

</div>

Hi, Has anyone ever setup a Private Ansible Galaxy server. I am hardly finding any documents around it. As an organization we aren’t allowed to pull repos from internet and we would like to create our own Ansible Galax…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=161)

[Next page](https://forum.ansible.com/c/archives/31.md?page=163)
