# Latest

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

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

**Page:** 244

---

## [How to set the description for hosts in a dynamic inventory](https://forum.ansible.com/t/how-to-set-the-description-for-hosts-in-a-dynamic-inventory/36801)

<div class="topic-metadata">

**Author:** [@Andrew\_Mulheirn](https://forum.ansible.com/u/Andrew_Mulheirn)\
**Replies:** 7\
**Last updated:** [July 21, 2022, 5:51pm UTC](https://forum.ansible.com/t/how-to-set-the-description-for-hosts-in-a-dynamic-inventory/36801 "2022-07-21T17:51:48Z")

</div>

Hi, I’m using a dynamic inventory - python that pulls in hosts from a Google Sheet. It all works well, except that the description always appears as ‘imported’. I can manually edit an imported entry to set the descripti…

---

## [netbox\_interface module: Failed to establish connection to Netbox API"](https://forum.ansible.com/t/netbox-interface-module-failed-to-establish-connection-to-netbox-api/33300)

<div class="topic-metadata">

**Author:** [@Heinz\_Meier](https://forum.ansible.com/u/Heinz_Meier)\
**Replies:** 4\
**Last updated:** [July 21, 2022, 4:31pm UTC](https://forum.ansible.com/t/netbox-interface-module-failed-to-establish-connection-to-netbox-api/33300 "2022-07-21T16:31:08Z")

</div>

Hi, I am quite desparate already. I want to use the netbox\_interface module in ansible, but it fails. To check it, I use the uri module: name: URI uri:: url: https://127.0.0.1/api/ method: GET header: Accept: app…

---

## [find element with dictionary in Ansible and return value](https://forum.ansible.com/t/find-element-with-dictionary-in-ansible-and-return-value/36875)

<div class="topic-metadata">

**Author:** [@maulik\_patel](https://forum.ansible.com/u/maulik_patel)\
**Replies:** 2\
**Last updated:** [July 21, 2022, 2:24pm UTC](https://forum.ansible.com/t/find-element-with-dictionary-in-ansible-and-return-value/36875 "2022-07-21T14:24:43Z")

</div>

hi , i’m trying to value of one yaml file1 with another file2 which has list of dict and if element if file1 matched with key/value of file2 then need to use value of file1 need to use as a key of file2 and return value…

---

## [WebSocket connection to xxx failed](https://forum.ansible.com/t/websocket-connection-to-xxx-failed/36880)

<div class="topic-metadata">

**Author:** [@KaHo\_Lee](https://forum.ansible.com/u/KaHo_Lee)\
**Replies:** 0\
**Last updated:** [July 21, 2022, 1:40am UTC](https://forum.ansible.com/t/websocket-connection-to-xxx-failed/36880 "2022-07-21T01:40:10Z")

</div>

Please confirm the following I agree to follow this project’s code of conduct. I have checked the current issues for duplicates. I understand that AWX is open source software provided for free and that I might not re…

---

## [PGDB from 17.0.1 to 21.0.2](https://forum.ansible.com/t/pgdb-from-17-0-1-to-21-0-2/36859)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 8:20pm UTC](https://forum.ansible.com/t/pgdb-from-17-0-1-to-21-0-2/36859 "2022-07-20T20:20:27Z")

</div>

I am unable to migrate data from awx 17.0.0 to awx 21.0.0 Please help if you have exact steps to do the same. Thanks

---

## [AWX (K3s) Certificate issue when contacting Satellite](https://forum.ansible.com/t/awx-k3s-certificate-issue-when-contacting-satellite/36857)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 8:08pm UTC](https://forum.ansible.com/t/awx-k3s-certificate-issue-when-contacting-satellite/36857 "2022-07-20T20:08:16Z")

</div>

Hi Team, Has anyone issue with Certificate by AWX on container? I’m using K3s. I’ve tried to use theforeman.foreman.collection or redhat.satellite.collection but playbook failed with: Failed to establish a new connecti…

---

## [Deploying other types of nodes with AWX Operator](https://forum.ansible.com/t/deploying-other-types-of-nodes-with-awx-operator/36861)

<div class="topic-metadata">

**Author:** [@mhalano](https://forum.ansible.com/u/mhalano)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 7:54pm UTC](https://forum.ansible.com/t/deploying-other-types-of-nodes-with-awx-operator/36861 "2022-07-20T19:54:23Z")

</div>

Hi fellows! I know Ansible for a long time, but I just started trying to deploy to test AWX. I studied a little about Ansible Automation Platform and saw the automation mesh has multiple node types, like hop, hybrid, c…

---

## [RADIUS deprecated plan](https://forum.ansible.com/t/radius-deprecated-plan/36855)

<div class="topic-metadata">

**Author:** [@elleryq](https://forum.ansible.com/u/elleryq)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 6:52pm UTC](https://forum.ansible.com/t/radius-deprecated-plan/36855 "2022-07-20T18:52:39Z")

</div>

Hi, all I see there is a warning on the details view for RADIUS and TACACS+ settings. I like to know when. Any plan? just like 22.0.0 or 23.0.0?? Thanks

---

## [Ansible skipping other hosts](https://forum.ansible.com/t/ansible-skipping-other-hosts/36879)

<div class="topic-metadata">

**Author:** [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 5:36pm UTC](https://forum.ansible.com/t/ansible-skipping-other-hosts/36879 "2022-07-20T17:36:22Z")

</div>

Hi, I have some tasks in a role that creates .ssh directory, generates a key on one of the servers, copy the public key on local and then run authorized\_key module to copy the public key in the other nodes. The problem…

---

## [Get list of failed instances](https://forum.ansible.com/t/get-list-of-failed-instances/36868)

<div class="topic-metadata">

**Author:** [@Vinita\_Shah1](https://forum.ansible.com/u/Vinita_Shah1)\
**Replies:** 3\
**Last updated:** [July 20, 2022, 5:31pm UTC](https://forum.ansible.com/t/get-list-of-failed-instances/36868 "2022-07-20T17:31:15Z")

</div>

I have roles in the playbook.

---

## [display information returned with debug in a more usable layout](https://forum.ansible.com/t/display-information-returned-with-debug-in-a-more-usable-layout/36865)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 5\
**Last updated:** [July 20, 2022, 5:29pm UTC](https://forum.ansible.com/t/display-information-returned-with-debug-in-a-more-usable-layout/36865 "2022-07-20T17:29:31Z")

</div>

I am trying to retreive information about installed versions of a package on a couple of hosts. name: check pgBackRest version command: /usr/bin/pgbackrest version register: backrest\_version name: Print return in…

---

## [identation and spaces with lininfile](https://forum.ansible.com/t/identation-and-spaces-with-lininfile/36878)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 5:12pm UTC](https://forum.ansible.com/t/identation-and-spaces-with-lininfile/36878 "2022-07-20T17:12:04Z")

</div>

I am really stuck trying to insert a line with lineinfile with 5 space indentation any idea? task is name: add line lineinfile: backup: no #backrefs: yes state: present path: “{{ file\_path }}” #regexp: ‘^(\\s\*)\[…

---

## [Can't display Ansible Error ( no\_log=true)](https://forum.ansible.com/t/cant-display-ansible-error-no-log-true/36874)

<div class="topic-metadata">

**Author:** [@A.T](https://forum.ansible.com/u/A.T)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 11:05pm UTC](https://forum.ansible.com/t/cant-display-ansible-error-no-log-true/36874 "2022-07-19T23:05:06Z")

</div>

Hi Ansible peeps, I have this environment to automate VMware with Ansible Is there any way to alter this behaviour to allow the task to display error, I can’t seem to debug this way. TASK \[Adding ESXi host “esxi01-mgm…

---

## [Create VM with Operating System with Ansible](https://forum.ansible.com/t/create-vm-with-operating-system-with-ansible/36863)

<div class="topic-metadata">

**Author:** [@fabiuscom1](https://forum.ansible.com/u/fabiuscom1)\
**Replies:** 5\
**Last updated:** [July 19, 2022, 10:22pm UTC](https://forum.ansible.com/t/create-vm-with-operating-system-with-ansible/36863 "2022-07-19T22:22:02Z")

</div>

Hi, i want to do a playbook that create a vm and from iso file, install the operatin system. It’s possible? Thansk

---

## [having issues with lineinfile insert](https://forum.ansible.com/t/having-issues-with-lineinfile-insert/36873)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 6:41pm UTC](https://forum.ansible.com/t/having-issues-with-lineinfile-insert/36873 "2022-07-19T18:41:10Z")

</div>

I keep getting errors when running an insert line task the task to insert is name: add line lineinfile: backup: no backrefs: yes state: present path: “{{ file\_path }}” regexp: ‘^(\\s\*)\[#\]?{{ item.search }}(: )\*’ …

---

## [error with appending list in Ansible](https://forum.ansible.com/t/error-with-appending-list-in-ansible/36869)

<div class="topic-metadata">

**Author:** [@maulik\_patel](https://forum.ansible.com/u/maulik_patel)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 4:03pm UTC](https://forum.ansible.com/t/error-with-appending-list-in-ansible/36869 "2022-07-19T16:03:54Z")

</div>

I’m trying to append new tunnel interface to empty list, but i’m got below error. Can you please help me out here ? tasks: - name: empty list set\_fact: list\_tunnel: \[\] - name: create new list for tunnel set\_fact: l…

---

## [Container AWX-web crash](https://forum.ansible.com/t/container-awx-web-crash/36870)

<div class="topic-metadata">

**Author:** [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 2:27pm UTC](https://forum.ansible.com/t/container-awx-web-crash/36870 "2022-07-19T14:27:51Z")

</div>

Hello, awx-operatior : 0.24.0 awx : 19.3.0 plateform : k3s CPU : 4G MEM : 8G I have a problem with awx-web container (Back-off restarting failed container) : awx-web container logs : \[wait-for-migrations\] Waiting…

---

## [/bin/sh: sudo: command not found](https://forum.ansible.com/t/bin-sh-sudo-command-not-found/36854)

<div class="topic-metadata">

**Author:** [@Rob\_Cal](https://forum.ansible.com/u/Rob_Cal)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 8:40am UTC](https://forum.ansible.com/t/bin-sh-sudo-command-not-found/36854 "2022-07-19T08:40:24Z")

</div>

Hi, My environment is as follows: AWX 19.2.2 Ansible 2.9.13 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/usr/share/ansible/openshift’\] ansible python module location = /usr/local/lib/py…

---

## [Ansible playbook to monitor disk space utilization and generate alert](https://forum.ansible.com/t/ansible-playbook-to-monitor-disk-space-utilization-and-generate-alert/36867)

<div class="topic-metadata">

**Author:** [@Amit\_Das](https://forum.ansible.com/u/Amit_Das)\
**Replies:** 4\
**Last updated:** [July 18, 2022, 8:39pm UTC](https://forum.ansible.com/t/ansible-playbook-to-monitor-disk-space-utilization-and-generate-alert/36867 "2022-07-18T20:39:30Z")

</div>

Dear All, I am relatively new to Ansible. Could someone please guide me on writing a playbook which runs hourly to monitor the disk space and generates an email alert if the threshold is breached? Thank you! Kind rega…

---

## [Ansible - AUtorizarion tokens with uri module](https://forum.ansible.com/t/ansible-autorizarion-tokens-with-uri-module/21169)

<div class="topic-metadata">

**Author:** [@John\_McCormack](https://forum.ansible.com/u/John_McCormack)\
**Replies:** 3\
**Last updated:** [July 18, 2022, 7:52pm UTC](https://forum.ansible.com/t/ansible-autorizarion-tokens-with-uri-module/21169 "2022-07-18T19:52:56Z")

</div>

Hi I am trying to use the uri module to connect to my cloud providers API’s curl commands work fine: curl -i -X POST https://api.madrid.gigas.com/token -d 'login=apiuser&password=apipswd' -H 'Accept: application/json' …

---

## [trying to create new user on remote machines](https://forum.ansible.com/t/trying-to-create-new-user-on-remote-machines/36864)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 4:04pm UTC](https://forum.ansible.com/t/trying-to-create-new-user-on-remote-machines/36864 "2022-07-18T16:04:32Z")

</div>

I got following task to create remote user but I do not have ssh keys setup on root or any user. what can i do to create the user? I dont have the become password tasks file for createuser include\_vars: dir: vars n…

---

## [Get info from Content Libraries with community.vmware](https://forum.ansible.com/t/get-info-from-content-libraries-with-community-vmware/36862)

<div class="topic-metadata">

**Author:** [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 1:53pm UTC](https://forum.ansible.com/t/get-info-from-content-libraries-with-community-vmware/36862 "2022-07-18T13:53:19Z")

</div>

Please install vSphere Automation SDK on cn.localdomain with Python3.9

---

## ['copy' TASK won't copy a file - eventhough reporting 'ok'](https://forum.ansible.com/t/copy-task-wont-copy-a-file-eventhough-reporting-ok/36850)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 8\
**Last updated:** [July 18, 2022, 12:24pm UTC](https://forum.ansible.com/t/copy-task-wont-copy-a-file-eventhough-reporting-ok/36850 "2022-07-18T12:24:16Z")

</div>

I have a TASK that should copy ~/files/repo\_pgbackrest.conf to the remote as /etc/pgbackrest/pgbackrest.conf (note the differing file name). however, despite that fact playbook exection returns an ‘ok’ an that TASK, the…

---

## [Install Packages after VM is created in VSphere](https://forum.ansible.com/t/install-packages-after-vm-is-created-in-vsphere/36818)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 8\
**Last updated:** [July 16, 2022, 3:58am UTC](https://forum.ansible.com/t/install-packages-after-vm-is-created-in-vsphere/36818 "2022-07-16T03:58:15Z")

</div>

Hello All, I am Creating VM in vCenter using community.vmware.vmware\_guest, after the VM is Created I have certain prerequisites to be fulfilled: Do Patching Do some package installation. And some more How to accompl…

---

## [Unhealthy Target Group](https://forum.ansible.com/t/unhealthy-target-group/36858)

<div class="topic-metadata">

**Author:** [@Z\_M](https://forum.ansible.com/u/Z_M)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 4:18pm UTC](https://forum.ansible.com/t/unhealthy-target-group/36858 "2022-07-15T16:18:48Z")

</div>

Hello. Still struggling with SSL deployment on a private cluster. The cluster is accessible via VPN and a bind server handles my DNS. Everything seems ok, but I’m getting an unhealthy Target Group and am not sure how to…

---

## [Ansible hangs while gathering facts](https://forum.ansible.com/t/ansible-hangs-while-gathering-facts/36853)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 4\
**Last updated:** [July 15, 2022, 11:28am UTC](https://forum.ansible.com/t/ansible-hangs-while-gathering-facts/36853 "2022-07-15T11:28:37Z")

</div>

Hi Team, got the following error: PLAY \[Common setup for all servers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* After this, Ansible …

---

## [keep getting error : "module\_stderr": "Shared connection to host closed](https://forum.ansible.com/t/keep-getting-error-module-stderr-shared-connection-to-host-closed/36852)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [July 14, 2022, 9:06pm UTC](https://forum.ansible.com/t/keep-getting-error-module-stderr-shared-connection-to-host-closed/36852 "2022-07-14T21:06:21Z")

</div>

any idea why?

---

## [Does vmware\_guest have an idempotency issue or do I hold it wrong?](https://forum.ansible.com/t/does-vmware-guest-have-an-idempotency-issue-or-do-i-hold-it-wrong/36385)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 8:13pm UTC](https://forum.ansible.com/t/does-vmware-guest-have-an-idempotency-issue-or-do-i-hold-it-wrong/36385 "2022-07-14T20:13:17Z")

</div>

Hey folks, I’m using the vmware\_guest module to clone virtual machines (VMs) from a template and customizing them. When running the same playbook with the same parameters/values again while the VMs already exist I would…

---

## [file does not do what it should - inside a role](https://forum.ansible.com/t/file-does-not-do-what-it-should-inside-a-role/36842)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [July 14, 2022, 3:18pm UTC](https://forum.ansible.com/t/file-does-not-do-what-it-should-inside-a-role/36842 "2022-07-14T15:18:14Z")

</div>

I have a ./roles/pgBackRest\_install/tasks/main.yml aiming to install pgBackRest. the entire roles goes through without any problem but these 2 TASKS are practially not havin any effect on the target. neiter /etc/pgback…

---

## [email issues](https://forum.ansible.com/t/email-issues/36851)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 0\
**Last updated:** [July 14, 2022, 2:59pm UTC](https://forum.ansible.com/t/email-issues/36851 "2022-07-14T14:59:53Z")

</div>

Attempting to send an email via ansible and running into issues. Here is the playbook hosts: localhost gather\_facts: no vars\_files: group\_vars/vars tasks: name: send an email community.general.mail: host: sign…

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

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