# Latest

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

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

**Page:** 339

---

## [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):

---

## [Ansible 2.10 - ModuleNotFoundError: No module named 'azure.mgmt.monitor.version'](https://forum.ansible.com/t/ansible-2-10-modulenotfounderror-no-module-named-azure-mgmt-monitor-version/33981)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 4\
**Last updated:** [October 14, 2020, 12:07pm UTC](https://forum.ansible.com/t/ansible-2-10-modulenotfounderror-no-module-named-azure-mgmt-monitor-version/33981 "2020-10-14T12:07:38Z")

</div>

Hi, I find it impossible to find good guides on how to switch to ansible 2.10 and use galaxy collections. SUMMARY Installed Ansible 2.10 and collection azure.azurecollection. I am unable to get Ansible 2.10 working wi…

---

## [misunderstanding inventory ?](https://forum.ansible.com/t/misunderstanding-inventory/34032)

<div class="topic-metadata">

**Author:** [@AnsibleJunior](https://forum.ansible.com/u/AnsibleJunior)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 9:49am UTC](https://forum.ansible.com/t/misunderstanding-inventory/34032 "2020-10-14T09:49:59Z")

</div>

Hi everybody, I hope this the good place to post my problem. I have declared this inventory in yml all: children: server\_country\_prod: hosts: server1.com: vars: … server\_country\_preprod: hosts: server2.com: …

---

## [Dynamic inventory script](https://forum.ansible.com/t/dynamic-inventory-script/34029)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 8:34am UTC](https://forum.ansible.com/t/dynamic-inventory-script/34029 "2020-10-14T08:34:37Z")

</div>

Hi all, Could someone tell me if there are any sample python (or other) scripts to create a dynamic inventory from a CMDB webservice? Thanks in advance !

---

## [How can I reference the client's host in AWX?](https://forum.ansible.com/t/how-can-i-reference-the-clients-host-in-awx/34028)

<div class="topic-metadata">

**Author:** [@Kong\_Nan](https://forum.ansible.com/u/Kong_Nan)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 3:16am UTC](https://forum.ansible.com/t/how-can-i-reference-the-clients-host-in-awx/34028 "2020-10-14T03:16:40Z")

</div>

I hope that PlayBook can be executed on the computer that accesses AWX with a browser, which is often used when writing PlayBook. Is there any way to directly reference the host name? (For example, in RFC-3875, The REMO…

---

## [ERROR! the field 'hosts' is required but was not set](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/34015)

<div class="topic-metadata">

**Author:** [@Subhash\_Chandra\_Rang](https://forum.ansible.com/u/Subhash_Chandra_Rang)\
**Replies:** 2\
**Last updated:** [October 13, 2020, 11:21pm UTC](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/34015 "2020-10-13T23:21:08Z")

</div>

---

## [Ansible-2.10.1 has been released](https://forum.ansible.com/t/ansible-2-10-1-has-been-released/34026)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 10:17pm UTC](https://forum.ansible.com/t/ansible-2-10-1-has-been-released/34026 "2020-10-13T22:17:02Z")

</div>

Hi all- \*\*Important:\*\* If you are upgrading from Ansible 2.9.x or older, please see the \`How to get it\` section for an important limitation. We're happy to announce that the ansible-2.10.1 package is now available! …

---

## [How treat errors in tasks](https://forum.ansible.com/t/how-treat-errors-in-tasks/34025)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [October 13, 2020, 9:40pm UTC](https://forum.ansible.com/t/how-treat-errors-in-tasks/34025 "2020-10-13T21:40:21Z")

</div>

Hi, I have the function that creates a database and after creating the DB I inserted the access information in a VAULT, the problem that sometimes inconsistent information is passed and the database creation TASK return…

---

## [AWX Cluster with Docker](https://forum.ansible.com/t/awx-cluster-with-docker/34016)

<div class="topic-metadata">

**Author:** [@Paul\_Wilson](https://forum.ansible.com/u/Paul_Wilson)\
**Replies:** 3\
**Last updated:** [October 13, 2020, 6:25pm UTC](https://forum.ansible.com/t/awx-cluster-with-docker/34016 "2020-10-13T18:25:34Z")

</div>

Hi I’ve been working with AWX on docker, pointed at an external PSQL DB. Using 2 AWX nodes currently causes 500 errors when looking at jobs. I can see there’s a clustering option in tower and there’s a docker-compose-cl…

---

## [Source control credentials with ssh not working](https://forum.ansible.com/t/source-control-credentials-with-ssh-not-working/33994)

<div class="topic-metadata">

**Author:** [@AWXKTony](https://forum.ansible.com/u/AWXKTony)\
**Replies:** 1\
**Last updated:** [October 13, 2020, 5:45pm UTC](https://forum.ansible.com/t/source-control-credentials-with-ssh-not-working/33994 "2020-10-13T17:45:26Z")

</div>

Hi, I for some reason am not able to create a source control credential with ssh key only to pull from a git repo. I seem to have to add username and github personal access token. Is this normal? Shouldn’t I be able to …

---

## [Missing collection error](https://forum.ansible.com/t/missing-collection-error/34023)

<div class="topic-metadata">

**Author:** [@Eoghan\_O\_Hara](https://forum.ansible.com/u/Eoghan_O_Hara)\
**Replies:** 3\
**Last updated:** [October 13, 2020, 5:05pm UTC](https://forum.ansible.com/t/missing-collection-error/34023 "2020-10-13T17:05:08Z")

</div>

Hi all, I wish to use the ansible.posix.mount module in my project, and have been attempting to include the installation of this collection in code. To do this I have a requirements.yml file:

---

## [SPLINTER: An opinionated provisioning tool for macOS automated with Ansible](https://forum.ansible.com/t/splinter-an-opinionated-provisioning-tool-for-macos-automated-with-ansible/34022)

<div class="topic-metadata">

**Author:** [@Marco\_Massari\_Calder](https://forum.ansible.com/u/Marco_Massari_Calder)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 3:41pm UTC](https://forum.ansible.com/t/splinter-an-opinionated-provisioning-tool-for-macos-automated-with-ansible/34022 "2020-10-13T15:41:45Z")

</div>

Hello guys, how are you doing? In the past months, I have been working to create a tool called Splinter (like the ninja rat) that I wanted to introduce to you because I would really appreciate your opinions and suggesti…

---

## [Digital Ocean Droplet facts](https://forum.ansible.com/t/digital-ocean-droplet-facts/34021)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 3:26pm UTC](https://forum.ansible.com/t/digital-ocean-droplet-facts/34021 "2020-10-13T15:26:27Z")

</div>

Hi All, Just curious to know,. Is there any specific reason why digital ocean droplet facts are not avaialble as part of the digital ocean collection. Is there been any other approach which is being followed to retrie…

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

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