# Archives

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

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

**Page:** 164

---

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

---

## [Python error with ansible](https://forum.ansible.com/t/python-error-with-ansible/28861)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 1\
**Last updated:** [October 17, 2020, 11:09am UTC](https://forum.ansible.com/t/python-error-with-ansible/28861 "2020-10-17T11:09:59Z")

</div>

Hi all, getting the error "The Python 2 bindings for are needed for this module. If you require Python 3 support use the Ansible module instead." 2.5.4 file = ///ansible.cfg module search path = \[u’/home///plugins/mo…

---

## [Incorrect Output from junos ansible command module](https://forum.ansible.com/t/incorrect-output-from-junos-ansible-command-module/34047)

<div class="topic-metadata">

**Author:** [@AK1](https://forum.ansible.com/u/AK1)\
**Replies:** 1\
**Last updated:** [October 17, 2020, 12:18am UTC](https://forum.ansible.com/t/incorrect-output-from-junos-ansible-command-module/34047 "2020-10-17T00:18:08Z")

</div>

Hi Folks, I am trying to display output for junos command “show configuration | compare rollback 1” through ansible however every time I store the data, I see the whole config output. Any ideas? Is there another way to …

---

## [pip modules for AWX](https://forum.ansible.com/t/pip-modules-for-awx/34046)

<div class="topic-metadata">

**Author:** [@Jose\_Osorio](https://forum.ansible.com/u/Jose_Osorio)\
**Replies:** 0\
**Last updated:** [October 16, 2020, 7:48pm UTC](https://forum.ansible.com/t/pip-modules-for-awx/34046 "2020-10-16T19:48:43Z")

</div>

Hello All, This is probably a well know case. I do find some links but I quite do not understand. We need to user the “pypsrp” module to do some testing but I noticed that module is not there. We use AWX on docker cont…

---

## [How to extract a value of a field within a list of deeply nested dictionaries when some keys match other values](https://forum.ansible.com/t/how-to-extract-a-value-of-a-field-within-a-list-of-deeply-nested-dictionaries-when-some-keys-match-other-values/34040)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 6\
**Last updated:** [October 16, 2020, 7:31pm UTC](https://forum.ansible.com/t/how-to-extract-a-value-of-a-field-within-a-list-of-deeply-nested-dictionaries-when-some-keys-match-other-values/34040 "2020-10-16T19:31:59Z")

</div>

Let’s assume the following fictional dictionary with nested lists, dictionaries, and strings, of arbitrary depth.: domain\_definition.yml --- domain\_definition: - name: server01 cluster: cluster0 port: '8070' - name: s…

---

## [How can I tried to convert one task from junos\_command to junos\_config I have tried but getting error like below](https://forum.ansible.com/t/how-can-i-tried-to-convert-one-task-from-junos-command-to-junos-config-i-have-tried-but-getting-error-like-below/34044)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 0\
**Last updated:** [October 16, 2020, 3:36pm UTC](https://forum.ansible.com/t/how-can-i-tried-to-convert-one-task-from-junos-command-to-junos-config-i-have-tried-but-getting-error-like-below/34044 "2020-10-16T15:36:55Z")

</div>

---

## [How can i use Host Variables in Task name](https://forum.ansible.com/t/how-can-i-use-host-variables-in-task-name/33998)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 3:28pm UTC](https://forum.ansible.com/t/how-can-i-use-host-variables-in-task-name/33998 "2020-10-16T15:28:39Z")

</div>

Hello Everyone, I am trying to use the host variables set for each host of inventory in the task name but for some reason, it doesn’t work. I have got a dynamic inventory (hosts imported in AWX using it) and all the ho…

---

## [AWX configuration from version control?](https://forum.ansible.com/t/awx-configuration-from-version-control/34042)

<div class="topic-metadata">

**Author:** [@John\_Mason](https://forum.ansible.com/u/John_Mason)\
**Replies:** 4\
**Last updated:** [October 16, 2020, 2:53pm UTC](https://forum.ansible.com/t/awx-configuration-from-version-control/34042 "2020-10-16T14:53:17Z")

</div>

Hi, We would like a way to have all of AWX’s configuration (e.g. projects, job templates, inventory scripts, users, teams, and so on) be sourced from a Git repo, so that we can spin up AWX clusters that obtain all of th…

---

## [Error while Trying to run a dynamic inventory script from ldap source,](https://forum.ansible.com/t/error-while-trying-to-run-a-dynamic-inventory-script-from-ldap-source/34031)

<div class="topic-metadata">

**Author:** [@sameer\_khan](https://forum.ansible.com/u/sameer_khan)\
**Replies:** 8\
**Last updated:** [October 16, 2020, 7:32am UTC](https://forum.ansible.com/t/error-while-trying-to-run-a-dynamic-inventory-script-from-ldap-source/34031 "2020-10-16T07:32:56Z")

</div>

when I run the script with python on command line, I get the json output, however when I run it with ansible-inventory or ansible-playbook I hit the following error ansible-inventory 2.9.6 config file = /Users/sm/ansib…

---

## [Ansible user create and test ssh connectivity](https://forum.ansible.com/t/ansible-user-create-and-test-ssh-connectivity/34041)

<div class="topic-metadata">

**Author:** [@Harshal\_Unhale](https://forum.ansible.com/u/Harshal_Unhale)\
**Replies:** 1\
**Last updated:** [October 16, 2020, 1:34am UTC](https://forum.ansible.com/t/ansible-user-create-and-test-ssh-connectivity/34041 "2020-10-16T01:34:18Z")

</div>

My playbook:

---

## [AzureStack - azure\_rm\_virtualmachine - Not accecpting api\_profile](https://forum.ansible.com/t/azurestack-azure-rm-virtualmachine-not-accecpting-api-profile/34043)

<div class="topic-metadata">

**Author:** [@Charles\_Shaw](https://forum.ansible.com/u/Charles_Shaw)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 8:34pm UTC](https://forum.ansible.com/t/azurestack-azure-rm-virtualmachine-not-accecpting-api-profile/34043 "2020-10-15T20:34:19Z")

</div>

Hi there, I am working with ansible 2.9 and ansible\[azure\] modules. These have been successfully installed and configured, as I can create resources within AzureStack. ansible 2.9.0 config file = /ansible/azure\_stack/…

---

## [ansible unarchive module idempotency](https://forum.ansible.com/t/ansible-unarchive-module-idempotency/34039)

<div class="topic-metadata">

**Author:** [@Michael3](https://forum.ansible.com/u/Michael3)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 6:38pm UTC](https://forum.ansible.com/t/ansible-unarchive-module-idempotency/34039 "2020-10-15T18:38:08Z")

</div>

I have a Jenkins pipeline that automates an install using Ansible. One of the steps includes copying a tar file to the target host using the unarchive module. This step finishes with a ‘changed’ status if rerun and so is…

---

## [fortios config backup - can someone help me understand this please](https://forum.ansible.com/t/fortios-config-backup-can-someone-help-me-understand-this-please/34038)

<div class="topic-metadata">

**Author:** [@Gisbert\_Haas](https://forum.ansible.com/u/Gisbert_Haas)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 1:11pm UTC](https://forum.ansible.com/t/fortios-config-backup-can-someone-help-me-understand-this-please/34038 "2020-10-15T13:11:46Z")

</div>

https://docs.ansible.com/ansible/latest/collections/fortinet/fortios/fortios\_system\_config\_backup\_restore\_module.html using the example from the documentation above I dont understand why hosts is set to locahosts and I…

---

## [Installing Oracle Cloud collection in AWX Docker](https://forum.ansible.com/t/installing-oracle-cloud-collection-in-awx-docker/34037)

<div class="topic-metadata">

**Author:** [@Yehuda](https://forum.ansible.com/u/Yehuda)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 11:12am UTC](https://forum.ansible.com/t/installing-oracle-cloud-collection-in-awx-docker/34037 "2020-10-15T11:12:11Z")

</div>

Hi, I’m trying to install the Oracle Cloud Infrastructure (OCI) module in AWX Docker. I’m using the https://github.com/oracle/oci-ansible-collection/ and I’ve added the “- name: oracle.oci” to “awx/requirements/collecti…

---

## [ASSIST IN ANSIBLE](https://forum.ansible.com/t/assist-in-ansible/34024)

<div class="topic-metadata">

**Author:** [@gr00t](https://forum.ansible.com/u/gr00t)\
**Replies:** 3\
**Last updated:** [October 15, 2020, 2:29am UTC](https://forum.ansible.com/t/assist-in-ansible/34024 "2020-10-15T02:29:54Z")

</div>

Hey Guys, Need some help … been trying to place multiple tasks in one block with tags but I keep getting an error include task files must contain a list of tasks… Below is one of my ansible block … hosts: local tags…

---

## [Mysql Grafana using ansible](https://forum.ansible.com/t/mysql-grafana-using-ansible/34035)

<div class="topic-metadata">

**Author:** [@Pavithra\_Chellakumar](https://forum.ansible.com/u/Pavithra_Chellakumar)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 11:30pm UTC](https://forum.ansible.com/t/mysql-grafana-using-ansible/34035 "2020-10-14T23:30:19Z")

</div>

How to add mysql queries and connect to grafana using ansible? Thanks in advance

---

## [Unable o copy file in the Ansible tower](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 4:18pm UTC](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027 "2020-10-14T16:18:09Z")

</div>

Hi, Kindly help on the below issue, 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 a…

---

## [Using ansible\_user in task with delegate\_to: localhost](https://forum.ansible.com/t/using-ansible-user-in-task-with-delegate-to-localhost/34033)

<div class="topic-metadata">

**Author:** [@Simon\_Liddicott](https://forum.ansible.com/u/Simon_Liddicott)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 3:59pm UTC](https://forum.ansible.com/t/using-ansible-user-in-task-with-delegate-to-localhost/34033 "2020-10-14T15:59:01Z")

</div>

Hi I’d expect the following two tasks to return the same output, however the first task returns the user that I was running ansible-playbook as and the second task returns the user set with -u. I can understand why thi…

---

## [is there a way to define a range of data?](https://forum.ansible.com/t/is-there-a-way-to-define-a-range-of-data/34030)

<div class="topic-metadata">

**Author:** [@lou](https://forum.ansible.com/u/lou)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 3:41pm UTC](https://forum.ansible.com/t/is-there-a-way-to-define-a-range-of-data/34030 "2020-10-14T15:41:39Z")

</div>

Hi Ansible experts, Is there a way to simplify writing the following (vlan):

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

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