# Latest

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

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

**Page:** 246

---

## [need help for XML to JSON Parsing Error with Ansible using Parse\_xml](https://forum.ansible.com/t/need-help-for-xml-to-json-parsing-error-with-ansible-using-parse-xml/36815)

<div class="topic-metadata">

**Author:** [@maulik\_patel](https://forum.ansible.com/u/maulik_patel)\
**Replies:** 3\
**Last updated:** [July 10, 2022, 3:29pm UTC](https://forum.ansible.com/t/need-help-for-xml-to-json-parsing-error-with-ansible-using-parse-xml/36815 "2022-07-10T15:29:00Z")

</div>

hi , I was trying to parse a XML response to JSON using parse\_xml from an AWS VPN output, but I’m getting the below error. I am able to parse data with “vpn\_conn\_facts.vpn\_connections\[0\].customer\_gateway\_configuration” …

---

## [Need help on ansible code from shell script](https://forum.ansible.com/t/need-help-on-ansible-code-from-shell-script/36821)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 6:13pm UTC](https://forum.ansible.com/t/need-help-on-ansible-code-from-shell-script/36821 "2022-07-09T18:13:36Z")

</div>

Hi Experts, Just started learning ansible few weeks back. want to automate a shell script. Need your help badly. Any jinja template or any help would be greatly appreciated. Here is the pseudocode for the shell script …

---

## [How to correctly print a multiline stdout?](https://forum.ansible.com/t/how-to-correctly-print-a-multiline-stdout/13416)

<div class="topic-metadata">

**Author:** [@Nicolas\_Grilly](https://forum.ansible.com/u/Nicolas_Grilly)\
**Replies:** 19\
**Last updated:** [July 9, 2022, 2:45pm UTC](https://forum.ansible.com/t/how-to-correctly-print-a-multiline-stdout/13416 "2022-07-09T14:45:31Z")

</div>

Hello, We run our database migrations using Ansible with something along these lines: name: Run database migrations command: env/bin/python migrate.py -q chdir=$project\_dir/releases/$release\_date register: result c…

---

## [copy file to one host only](https://forum.ansible.com/t/copy-file-to-one-host-only/36819)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [July 8, 2022, 6:03pm UTC](https://forum.ansible.com/t/copy-file-to-one-host-only/36819 "2022-07-08T18:03:08Z")

</div>

I am trying to copy a file to one host. the file will be on my ansible host I am copying over to the remote host do I need to create a file folder and put the file I want copied there project ├── hosts ├── main.yml …

---

## [Announcing AWX 21.2.0](https://forum.ansible.com/t/announcing-awx-21-2-0/36764)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 3\
**Last updated:** [July 8, 2022, 4:44pm UTC](https://forum.ansible.com/t/announcing-awx-21-2-0/36764 "2022-07-08T16:44:23Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version is now available! In addition AWX Operator version has also been release! Please see the releases pages for more details: AWX: https://github.com/…

---

## [Following AWX versions fixing CVEs](https://forum.ansible.com/t/following-awx-versions-fixing-cves/36817)

<div class="topic-metadata">

**Author:** [@EZ1](https://forum.ansible.com/u/EZ1)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 4:13pm UTC](https://forum.ansible.com/t/following-awx-versions-fixing-cves/36817 "2022-07-08T16:13:54Z")

</div>

Hello all of you, Actually auditing an AWX and Ansible community config in doors, I’m looking for AWX versions fixing known CVEs, from v8 to today. Well let’s take the latest could be the answer, but on the other hand …

---

## [manage docker via Ansible - question on the python docker library/package on the target](https://forum.ansible.com/t/manage-docker-via-ansible-question-on-the-python-docker-library-package-on-the-target/36813)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 6\
**Last updated:** [July 8, 2022, 1:08pm UTC](https://forum.ansible.com/t/manage-docker-via-ansible-question-on-the-python-docker-library-package-on-the-target/36813 "2022-07-08T13:08:11Z")

</div>

hi everybody, I try to handle docker containers via Ansible and am getting this error: msg: 'Failed to import the required Python library (Docker SDK for Python: docker (Python \>= 2.7) or docker-py (Python 2.6)) on vm-…

---

## [what s the use of % set with ansible](https://forum.ansible.com/t/what-s-the-use-of-set-with-ansible/36809)

<div class="topic-metadata">

**Author:** [@gomz\_arvind](https://forum.ansible.com/u/gomz_arvind)\
**Replies:** 7\
**Last updated:** [July 8, 2022, 8:36am UTC](https://forum.ansible.com/t/what-s-the-use-of-set-with-ansible/36809 "2022-07-08T08:36:15Z")

</div>

Hi team, can i know the actual usage of % set with ansible

---

## [Ansible integration with LUMEN devices](https://forum.ansible.com/t/ansible-integration-with-lumen-devices/36808)

<div class="topic-metadata">

**Author:** [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 3:16am UTC](https://forum.ansible.com/t/ansible-integration-with-lumen-devices/36808 "2022-07-08T03:16:20Z")

</div>

How can we integrate ansible with LUMEN devices for fetching top talkers details by using commands. Is there any module or something? How can we achieve this.

---

## [Meta module](https://forum.ansible.com/t/meta-module/36802)

<div class="topic-metadata">

**Author:** [@brice\_Folio](https://forum.ansible.com/u/brice_Folio)\
**Replies:** 8\
**Last updated:** [July 7, 2022, 2:30pm UTC](https://forum.ansible.com/t/meta-module/36802 "2022-07-07T14:30:34Z")

</div>

Hello, I have playbook played in tower and at the end of a block I use meta: end\_play module without any condition. I don’t know why but this task is ignored and when I enable debug it displays: META: Instead of: ME…

---

## [Changing directory for installed collection](https://forum.ansible.com/t/changing-directory-for-installed-collection/36811)

<div class="topic-metadata">

**Author:** [@Sebastian1](https://forum.ansible.com/u/Sebastian1)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 12:55pm UTC](https://forum.ansible.com/t/changing-directory-for-installed-collection/36811 "2022-07-07T12:55:18Z")

</div>

Is it possible to change directory where installed default collection? According to the documentation, it is located in /var/lib/awx/projects/.\_\_awx\_cache/ https://github.com/ansible/awx/blob/devel/docs/collections.md …

---

## [Unable to execute ansible playbook](https://forum.ansible.com/t/unable-to-execute-ansible-playbook/36812)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 10\
**Last updated:** [July 7, 2022, 11:10am UTC](https://forum.ansible.com/t/unable-to-execute-ansible-playbook/36812 "2022-07-07T11:10:35Z")

</div>

Hi all, I got the following error, while trying to execute ansible playbook: TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [tower-cli and awx command](https://forum.ansible.com/t/tower-cli-and-awx-command/36799)

<div class="topic-metadata">

**Author:** [@nico\_travail](https://forum.ansible.com/u/nico_travail)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 8:59pm UTC](https://forum.ansible.com/t/tower-cli-and-awx-command/36799 "2022-07-06T20:59:31Z")

</div>

Hello, I have an “old” script ansible witch configure surveys from API and with tower-cli. But now, tower-cli is deprecated and we must use awx, and I don’t find any command to query surveys and modify them with awx… T…

---

## [Capacity shows 0, 100% Utilized, Jobs not running.](https://forum.ansible.com/t/capacity-shows-0-100-utilized-jobs-not-running/36067)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 8:08pm UTC](https://forum.ansible.com/t/capacity-shows-0-100-utilized-jobs-not-running/36067 "2022-07-06T20:08:42Z")

</div>

Seems like something is not working quite right for me with my installation. Doesn’t appear to be able to read or get cluster data to generate capacity numbers. Not sure if related to kubernetes service account or s…

---

## [Ansible: Need help in manipulating with date and time](https://forum.ansible.com/t/ansible-need-help-in-manipulating-with-date-and-time/36810)

<div class="topic-metadata">

**Author:** [@gomz\_arvind](https://forum.ansible.com/u/gomz_arvind)\
**Replies:** 0\
**Last updated:** [July 6, 2022, 1:01pm UTC](https://forum.ansible.com/t/ansible-need-help-in-manipulating-with-date-and-time/36810 "2022-07-06T13:01:12Z")

</div>

Example: 12:02:43.569 UTC Wed Jul 06 2022 I wish to get an ansible script to go back 15 minutes from the above timing

---

## [Ansible integration with Solarwinds](https://forum.ansible.com/t/ansible-integration-with-solarwinds/36795)

<div class="topic-metadata">

**Author:** [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Replies:** 2\
**Last updated:** [July 6, 2022, 5:28am UTC](https://forum.ansible.com/t/ansible-integration-with-solarwinds/36795 "2022-07-06T05:28:53Z")

</div>

Is there anyway we can integrate solarwinds with ansible. How can we achieve to fetch information from solarwinds using the ansible playbook.

---

## [Ansible 2.8 will work on RHEL8 with python 3.6.](https://forum.ansible.com/t/ansible-2-8-will-work-on-rhel8-with-python-3-6/36785)

<div class="topic-metadata">

**Author:** [@sathish\_subramani](https://forum.ansible.com/u/sathish_subramani)\
**Replies:** 10\
**Last updated:** [July 6, 2022, 2:31am UTC](https://forum.ansible.com/t/ansible-2-8-will-work-on-rhel8-with-python-3-6/36785 "2022-07-06T02:31:26Z")

</div>

Hi Team, Ansible 2.8 will work on RHEL8 with python 3.6. Reference : https://github.com/ansible/ansible/tree/stable-2.8 Thanks and Regards, S Sathish

---

## [mail module with when condition](https://forum.ansible.com/t/mail-module-with-when-condition/36806)

<div class="topic-metadata">

**Author:** [@Milan\_Patel](https://forum.ansible.com/u/Milan_Patel)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 8:51pm UTC](https://forum.ansible.com/t/mail-module-with-when-condition/36806 "2022-07-05T20:51:18Z")

</div>

---

## [ansible 6 debian repo](https://forum.ansible.com/t/ansible-6-debian-repo/36805)

<div class="topic-metadata">

**Author:** [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 8:10pm UTC](https://forum.ansible.com/t/ansible-6-debian-repo/36805 "2022-07-05T20:10:10Z")

</div>

greetings! as the roadmap is showing, ansible 6 release (based on ansible-core 2.13) should be available since end of june, but still no ansible-6 on official debian/ubuntu repo https://launchpad.net/~ansible anyone ha…

---

## [Installing AWX 17 on K8s without cluster admin and root](https://forum.ansible.com/t/installing-awx-17-on-k8s-without-cluster-admin-and-root/36804)

<div class="topic-metadata">

**Author:** [@semmelbroesel](https://forum.ansible.com/u/semmelbroesel)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 8:03pm UTC](https://forum.ansible.com/t/installing-awx-17-on-k8s-without-cluster-admin-and-root/36804 "2022-07-05T20:03:12Z")

</div>

Hi. I’m trying to install AWX 17 in Kubernetes without root pod access and clusterroles (which is why I’m not using a newer version because the operator won’t run without cluster permissions). I keep running into Permi…

---

## [ansible.builtin.user multiple groups with jinjia2](https://forum.ansible.com/t/ansible-builtin-user-multiple-groups-with-jinjia2/36791)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 6:43pm UTC](https://forum.ansible.com/t/ansible-builtin-user-multiple-groups-with-jinjia2/36791 "2022-07-05T18:43:37Z")

</div>

any idea how I can create a user and then put it into multiple groups with jinja2? name: create user sam ansible.builtin.user: name: ‘{{ username }}’ shell: ‘{{ shell }}’ generate\_ssh\_key: yes create\_home: yes gr…

---

## [Ansible for event automation with Cisco Nessus device. need help to extract past 15 minutes logs from show clock of the device](https://forum.ansible.com/t/ansible-for-event-automation-with-cisco-nessus-device-need-help-to-extract-past-15-minutes-logs-from-show-clock-of-the-device/36803)

<div class="topic-metadata">

**Author:** [@gomz\_arvind](https://forum.ansible.com/u/gomz_arvind)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 9:41am UTC](https://forum.ansible.com/t/ansible-for-event-automation-with-cisco-nessus-device-need-help-to-extract-past-15-minutes-logs-from-show-clock-of-the-device/36803 "2022-07-05T09:41:17Z")

</div>

Description of my problem: Ansible code should be triggered during an interface flapping with cisco nessus device. It should fetch the time of nessus device(show clock) and try to pull the past 15 minutes from the “show …

---

## [Roles and apt](https://forum.ansible.com/t/roles-and-apt/36794)

<div class="topic-metadata">

**Author:** [@Glen\_Huang](https://forum.ansible.com/u/Glen_Huang)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 8:19am UTC](https://forum.ansible.com/t/roles-and-apt/36794 "2022-07-05T08:19:53Z")

</div>

Hi, I have a couple of roles that add files to sources.list.d, and then install packages. Is it somehow possible to run the apt module to update apt index after ALL roles have added the files but before installing packa…

---

## [Change from US date format in AWX](https://forum.ansible.com/t/change-from-us-date-format-in-awx/36798)

<div class="topic-metadata">

**Author:** [@Andrew\_Mulheirn](https://forum.ansible.com/u/Andrew_Mulheirn)\
**Replies:** 1\
**Last updated:** [July 4, 2022, 2:38pm UTC](https://forum.ansible.com/t/change-from-us-date-format-in-awx/36798 "2022-07-04T14:38:50Z")

</div>

Hi all, Could someone tell me how to change AWX so the date is formatted the non-US way - i.e. dd/mm/yy? Apologies if this has been asked already - I can’t seem to find it in the documentation. I thought there used to …

---

## [JOB | Production Support (Sydney)](https://forum.ansible.com/t/job-production-support-sydney/36800)

<div class="topic-metadata">

**Author:** [@ghost\_advocate](https://forum.ansible.com/u/ghost_advocate)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 1:43pm UTC](https://forum.ansible.com/t/job-production-support-sydney/36800 "2022-07-04T13:43:45Z")

</div>

Hello, I’m working with a financial trading platform that is looking to hire someone for their Sydney office that wants to be client facing, own the production service offered globally to their clients and be part of the…

---

## [Action Plugins Development and handling potential](https://forum.ansible.com/t/action-plugins-development-and-handling-potential/36796)

<div class="topic-metadata">

**Author:** [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 9:41am UTC](https://forum.ansible.com/t/action-plugins-development-and-handling-potential/36796 "2022-07-04T09:41:46Z")

</div>

I am exploring writing Action Plugins. What I am writing is a custom action plugin that runs a ‘compliance’ module on the destination Windowd host to determine whether a certain task has been completed or not. The reaso…

---

## [How do I create a MSSQL database user (user on the DB level not the server)](https://forum.ansible.com/t/how-do-i-create-a-mssql-database-user-user-on-the-db-level-not-the-server/36790)

<div class="topic-metadata">

**Author:** [@Adurota\_Gideon](https://forum.ansible.com/u/Adurota_Gideon)\
**Replies:** 3\
**Last updated:** [July 4, 2022, 5:00am UTC](https://forum.ansible.com/t/how-do-i-create-a-mssql-database-user-user-on-the-db-level-not-the-server/36790 "2022-07-04T05:00:43Z")

</div>

Hello, So I am new to ansible and I have been looking for a way to create a user on mssql database using ansible but I can’t seem to find a module for that. What I saw is more for MySql db. name: Create DB user with n…

---

## [Ansible hangs, unless overriding ssh setting -o ControlMaster=no](https://forum.ansible.com/t/ansible-hangs-unless-overriding-ssh-setting-o-controlmaster-no/36793)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [July 3, 2022, 10:12pm UTC](https://forum.ansible.com/t/ansible-hangs-unless-overriding-ssh-setting-o-controlmaster-no/36793 "2022-07-03T22:12:29Z")

</div>

Take a look at the closing comment for that (2.5 year old) issue: This is most likely an issue with the ssh settings of the VM Ansible is trying to connect to.

---

## [Storing env-specific files in inventories](https://forum.ansible.com/t/storing-env-specific-files-in-inventories/36786)

<div class="topic-metadata">

**Author:** [@Alessandro\_Pezze](https://forum.ansible.com/u/Alessandro_Pezze)\
**Replies:** 1\
**Last updated:** [July 3, 2022, 8:23pm UTC](https://forum.ansible.com/t/storing-env-specific-files-in-inventories/36786 "2022-07-03T20:23:48Z")

</div>

Hi, We are transitioning from Ansible to AWX. In the past we used to store our env-specific files (production, staging, …) in different env-specific inventories, in a special files folder. Old structure: /roles/role\_n…

---

## [Error: Installing msi on windows host](https://forum.ansible.com/t/error-installing-msi-on-windows-host/36792)

<div class="topic-metadata">

**Author:** [@Bathula\_vasanth](https://forum.ansible.com/u/Bathula_vasanth)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 11:23am UTC](https://forum.ansible.com/t/error-installing-msi-on-windows-host/36792 "2022-07-03T11:23:00Z")

</div>

name: Installing MSSQL Command Line Utilities hosts: windows tasks: name: Install MSSQLCmdLnUtils win\_package: path: C:\\Users\\Administrator\\Downloads\\BancWare Data Integration 2021.2.0\\x64\\Microsoft SQL Server Red…

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

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