# Latest

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

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

**Page:** 338

---

## [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…

---

## [Some changes to the official AWX CLI](https://forum.ansible.com/t/some-changes-to-the-official-awx-cli/33241)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 4\
**Last updated:** [October 20, 2020, 4:28am UTC](https://forum.ansible.com/t/some-changes-to-the-official-awx-cli/33241 "2020-10-20T04:28:07Z")

</div>

Hey folks, I wanted to take a moment to inform the community of a change we’ve made to how we publish and distribute the official AWX command line interface. In prior versions of AWX, we included official AWX CLI releas…

---

## [Accessing Cfg file values within nested loops + using sections + passing section in cmd argument](https://forum.ansible.com/t/accessing-cfg-file-values-within-nested-loops-using-sections-passing-section-in-cmd-argument/34059)

<div class="topic-metadata">

**Author:** [@Akshay\_Kumar](https://forum.ansible.com/u/Akshay_Kumar)\
**Replies:** 2\
**Last updated:** [October 19, 2020, 7:51pm UTC](https://forum.ansible.com/t/accessing-cfg-file-values-within-nested-loops-using-sections-passing-section-in-cmd-argument/34059 "2020-10-19T19:51:27Z")

</div>

Hi All, Hope all is well with everyone during these bad times because of covid :-). I would like to know some good advices from the community on a scenario am working on , it goes as followed: Cfg file: SectionA: ls…

---

## [Reading NTFS ACL's](https://forum.ansible.com/t/reading-ntfs-acls/34060)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 7:08pm UTC](https://forum.ansible.com/t/reading-ntfs-acls/34060 "2020-10-19T19:08:09Z")

</div>

From what I’ve found from searching and tinkering myself, it isn’t too easy to read NTFS ACL’s from a file path, local or UNC, doesn’t matter… am I mistaken on this? Would this be something better to just cheat and writ…

---

## [awx baseurl change](https://forum.ansible.com/t/awx-baseurl-change/34058)

<div class="topic-metadata">

**Author:** [@SP1](https://forum.ansible.com/u/SP1)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 5:18pm UTC](https://forum.ansible.com/t/awx-baseurl-change/34058 "2020-10-19T17:18:39Z")

</div>

Hi, how to set baseurl to abc.awx.com during installation on docker?

---

## [Update the rsa dependency \>4.3 to address CVE-2020-13757?](https://forum.ansible.com/t/update-the-rsa-dependency-4-3-to-address-cve-2020-13757/34057)

<div class="topic-metadata">

**Author:** [@David\_Flores](https://forum.ansible.com/u/David_Flores)\
**Replies:** 2\
**Last updated:** [October 19, 2020, 5:11pm UTC](https://forum.ansible.com/t/update-the-rsa-dependency-4-3-to-address-cve-2020-13757/34057 "2020-10-19T17:11:53Z")

</div>

Hello everyone! Quick question, any reason why the rsa dependency is pinned to 4.0 (requirements/requirements.txt rsa==4.0)? I was running a scan and it triggered CVE-2020-13757. An upgrade to 4,3 should be good to cl…

---

## [AWX 12.0 Inventory script started failing on value too long for type character varying(512). How to debug?](https://forum.ansible.com/t/awx-12-0-inventory-script-started-failing-on-value-too-long-for-type-character-varying-512-how-to-debug/34056)

<div class="topic-metadata">

**Author:** [@eaoinco](https://forum.ansible.com/u/eaoinco)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 2:44pm UTC](https://forum.ansible.com/t/awx-12-0-inventory-script-started-failing-on-value-too-long-for-type-character-varying-512-how-to-debug/34056 "2020-10-19T14:44:13Z")

</div>

Hi Everyone! The inventory script (from Oracle Cloud) started failing. I could not find any super long group names in the output json… How can I debug this? 102.993 DEBUG Group “VM.Standard2.4” added 103.000 DEBUG Gr…

---

## [SELinux Role Review](https://forum.ansible.com/t/selinux-role-review/34055)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 2:39pm UTC](https://forum.ansible.com/t/selinux-role-review/34055 "2020-10-19T14:39:03Z")

</div>

Hello ALL, I’m working on a linux-system-role-selinux. Expected functionality: Set enforcing/permissive restorecon portions of filesystem tree Set/Get Booleans Set/Get file contexts Manage logins Mana…

---

## [Accessing values from cfg/ini file and using that in playbook](https://forum.ansible.com/t/accessing-values-from-cfg-ini-file-and-using-that-in-playbook/34053)

<div class="topic-metadata">

**Author:** [@Akshay\_Kumar](https://forum.ansible.com/u/Akshay_Kumar)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 2:21pm UTC](https://forum.ansible.com/t/accessing-values-from-cfg-ini-file-and-using-that-in-playbook/34053 "2020-10-19T14:21:33Z")

</div>

Hi Team, I am trying to do the following , would appreciate if someone has a better idea to workout for the scenario: Cfg file----- Section1: ls: first: DirName: /home/kumar/DevFileLocation User: kumar Section2: …

---

## [Display apt-get install progress in realtime](https://forum.ansible.com/t/display-apt-get-install-progress-in-realtime/34052)

<div class="topic-metadata">

**Author:** [@Gebrina\_Divva\_Meuthi](https://forum.ansible.com/u/Gebrina_Divva_Meuthi)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 12:53pm UTC](https://forum.ansible.com/t/display-apt-get-install-progress-in-realtime/34052 "2020-10-19T12:53:21Z")

</div>

Hi so I encountered some problems, while ansible have been a blessing for my automation task, I have some problems with apt installation package. What I mean is that I want ansible to display each of the progress realtim…

---

## [How to share an inventory between several organizations ?](https://forum.ansible.com/t/how-to-share-an-inventory-between-several-organizations/34051)

<div class="topic-metadata">

**Author:** [@milod](https://forum.ansible.com/u/milod)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 9:16am UTC](https://forum.ansible.com/t/how-to-share-an-inventory-between-several-organizations/34051 "2020-10-19T09:16:29Z")

</div>

Hello, I have an inventory built from a script. I want this inventory to be shared by several organizations in order to have a single script launch … I could do the same script for several organstaion but I don’t find…

---

## [ansible nxos bgp "restart bgp \<AS#\>"](https://forum.ansible.com/t/ansible-nxos-bgp-restart-bgp-as/33906)

<div class="topic-metadata">

**Author:** [@stack\_flow](https://forum.ansible.com/u/stack_flow)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 5:37am UTC](https://forum.ansible.com/t/ansible-nxos-bgp-restart-bgp-as/33906 "2020-10-19T05:37:04Z")

</div>

Hello, I have to write ansible script for Cisco NXOS to restart bgp. I am looking “restart bgp \<AS#\>” but it looks ansible module doesn’t have it available. what are my options? how to accomplish it?

---

## [Error - "No Package MySQL-python avaiable". How to fix this?](https://forum.ansible.com/t/error-no-package-mysql-python-avaiable-how-to-fix-this/34048)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 3\
**Last updated:** [October 19, 2020, 4:15am UTC](https://forum.ansible.com/t/error-no-package-mysql-python-avaiable-how-to-fix-this/34048 "2020-10-19T04:15:27Z")

</div>

\[root@localhost playbooks\]# ansible-playbook starfish.yml \[DEPRECATION WARNING\]: The firewalld module has been moved to the ansible.posix collection. This feature will be removed from community.general in version 2.0.…

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

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