# Archives

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

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

**Page:** 70

---

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

---

## [Support for functions for complex expressions](https://forum.ansible.com/t/support-for-functions-for-complex-expressions/36837)

<div class="topic-metadata">

**Author:** [@Roy\_Lenferink](https://forum.ansible.com/u/Roy_Lenferink)\
**Replies:** 3\
**Last updated:** [July 14, 2022, 2:20pm UTC](https://forum.ansible.com/t/support-for-functions-for-complex-expressions/36837 "2022-07-14T14:20:25Z")

</div>

Hi all, Ansible has a lot of options, where combining and chaining filters is of great usage. In certain cases the final result might become a bit hard to maintain if it is re-used in multiple places. E.g. take the fol…

---

## [A more extensible ActionModule: Split \_configure\_module](https://forum.ansible.com/t/a-more-extensible-actionmodule-split-configure-module/36534)

<div class="topic-metadata">

**Author:** [@Raph](https://forum.ansible.com/u/Raph)\
**Replies:** 6\
**Last updated:** [July 14, 2022, 2:09pm UTC](https://forum.ansible.com/t/a-more-extensible-actionmodule-split-configure-module/36534 "2022-07-14T14:09:08Z")

</div>

https://github.com/ansible/ansible/pull/77503 suggested that an ActionModule could legitimately want to access both become\_ and modules\_ variables right before encoding, and doing so via moving a small code block about b…

---

## [AWX Feature Feedback](https://forum.ansible.com/t/awx-feature-feedback/36849)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [July 14, 2022, 1:05pm UTC](https://forum.ansible.com/t/awx-feature-feedback/36849 "2022-07-14T13:05:01Z")

</div>

Hello AWX users, With the release of AWX 21.3.0 we added a change to the Google Compute Engine credential type that we would love to get some feedback on. In addition to how the credential type currently works, we now …

---

## [Community mail module not working](https://forum.ansible.com/t/community-mail-module-not-working/36847)

<div class="topic-metadata">

**Author:** [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 4:23am UTC](https://forum.ansible.com/t/community-mail-module-not-working/36847 "2022-07-14T04:23:46Z")

</div>

Hi, I’m running Ansible --version ansible 2.10.8 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/root/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible python module …

---

## [Install awx 21 on redhat or ubuntu](https://forum.ansible.com/t/install-awx-21-on-redhat-or-ubuntu/36820)

<div class="topic-metadata">

**Author:** [@Himanshu\_K](https://forum.ansible.com/u/Himanshu_K)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 7:51pm UTC](https://forum.ansible.com/t/install-awx-21-on-redhat-or-ubuntu/36820 "2022-07-13T19:51:08Z")

</div>

can I install awx 21 directly using awx-operator, do anyone have clear steps on red hat or ubuntu

---

## [Problem psycopg2.errors.UndefinedFile: could not open file "base/16384/21268": No such file or directory](https://forum.ansible.com/t/problem-psycopg2-errors-undefinedfile-could-not-open-file-base-16384-21268-no-such-file-or-directory/36781)

<div class="topic-metadata">

**Author:** [@user114](https://forum.ansible.com/u/user114)\
**Replies:** 3\
**Last updated:** [July 13, 2022, 7:45pm UTC](https://forum.ansible.com/t/problem-psycopg2-errors-undefinedfile-could-not-open-file-base-16384-21268-no-such-file-or-directory/36781 "2022-07-13T19:45:47Z")

</div>

My AWX version is 21 and I installed it according to the guide on github. After a week, an error occurred when accessing the AWX account, and when I checked the log, it was as follows.

---

## [ALB without SSL on Aws](https://forum.ansible.com/t/alb-without-ssl-on-aws/36825)

<div class="topic-metadata">

**Author:** [@Z\_M](https://forum.ansible.com/u/Z_M)\
**Replies:** 3\
**Last updated:** [July 13, 2022, 7:45pm UTC](https://forum.ansible.com/t/alb-without-ssl-on-aws/36825 "2022-07-13T19:45:23Z")

</div>

I’m trying to install the AWX operator on Aws/EKS with the ALB. What I’m encountering is a Bad Gateway whenever i go the the ALB Url. Below is the ingress that I’m using.

---

## [AWX operator, helm, resource requests](https://forum.ansible.com/t/awx-operator-helm-resource-requests/36846)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 7:34pm UTC](https://forum.ansible.com/t/awx-operator-helm-resource-requests/36846 "2022-07-13T19:34:43Z")

</div>

Hi! the source code related to helm chart is found here https://github.com/ansible/awx-operator/tree/devel/.helm/starter AWX Team

---

## [LVG Module is not working on AWX 19.5.0](https://forum.ansible.com/t/lvg-module-is-not-working-on-awx-19-5-0/36843)

<div class="topic-metadata">

**Author:** [@takshika\_jambhule](https://forum.ansible.com/u/takshika_jambhule)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 7:28pm UTC](https://forum.ansible.com/t/lvg-module-is-not-working-on-awx-19-5-0/36843 "2022-07-13T19:28:10Z")

</div>

I have a playbook which is using lvg module, it works fine on 14.1.0. But shows syntax error on Awx 19.5.0. playbook is as below:-

---

## [Regards refrence playbook](https://forum.ansible.com/t/regards-refrence-playbook/36844)

<div class="topic-metadata">

**Author:** [@Pritam\_Dadhe](https://forum.ansible.com/u/Pritam_Dadhe)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 4:07pm UTC](https://forum.ansible.com/t/regards-refrence-playbook/36844 "2022-07-13T16:07:19Z")

</div>

Hello Team I need playbook for reference, trying to create playbook for Linux hardening. Task1 : need to ensure that below filesystem are disable. Below filesystem are already disabled just need to confirm filesystem a…

---

## [Playbooks are failing in-between with ssh timeout error.](https://forum.ansible.com/t/playbooks-are-failing-in-between-with-ssh-timeout-error/36841)

<div class="topic-metadata">

**Author:** [@Pranav\_T\_P](https://forum.ansible.com/u/Pranav_T_P)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 12:53pm UTC](https://forum.ansible.com/t/playbooks-are-failing-in-between-with-ssh-timeout-error/36841 "2022-07-13T12:53:27Z")

</div>

Hello guys, My ansible playbooks are failing in-between with below error while running in AWX. This is happening for all the playbooks after few steps \[5-6 steps\]. fatal: UNREACHABLE! =\> {“changed”: false, “msg”: “Fail…

---

## [ssh via Ansible playbook and vagrant](https://forum.ansible.com/t/ssh-via-ansible-playbook-and-vagrant/36840)

<div class="topic-metadata">

**Author:** [@user50](https://forum.ansible.com/u/user50)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 12:08pm UTC](https://forum.ansible.com/t/ssh-via-ansible-playbook-and-vagrant/36840 "2022-07-13T12:08:53Z")

</div>

I am using vagrant to run ubuntu VM on my Mac. I am trying to provision vagrant with the playbook I wrote but when I do im getting an error about the host. this is my Vagrant file: Vagrant.configure(“2”) do |config| …

---

## [Ansible Loop](https://forum.ansible.com/t/ansible-loop/36839)

<div class="topic-metadata">

**Author:** [@Gerry\_Hall](https://forum.ansible.com/u/Gerry_Hall)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 11:24am UTC](https://forum.ansible.com/t/ansible-loop/36839 "2022-07-13T11:24:05Z")

</div>

I am installing several Tomcats on the same server which requires several different tasks. To do this I am using with\_items: “{{ TomCats }}” for each task where TomCats is something like the below and contained in a vars…

---

## [Passing a variable that is a list to a parameter that expects a list](https://forum.ansible.com/t/passing-a-variable-that-is-a-list-to-a-parameter-that-expects-a-list/36838)

<div class="topic-metadata">

**Author:** [@oloryn](https://forum.ansible.com/u/oloryn)\
**Replies:** 1\
**Last updated:** [July 12, 2022, 8:57pm UTC](https://forum.ansible.com/t/passing-a-variable-that-is-a-list-to-a-parameter-that-expects-a-list/36838 "2022-07-12T20:57:22Z")

</div>

In a variables file, I have a series of ssh keys assigned to variables: samwise\_key: 'ssh-rsa..... legolas\_key: 'ssh-rsa.... gandalf\_key: 'ssh-rsa..... I then have variable defined to be a list of said keys: ssh\_key…

---

## [Announcing AWX 21.3.0 and AWX-Operator 0.24.0](https://forum.ansible.com/t/announcing-awx-21-3-0-and-awx-operator-0-24-0/36836)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 6:16pm UTC](https://forum.ansible.com/t/announcing-awx-21-3-0-and-awx-operator-0-24-0/36836 "2022-07-12T18:16:17Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version 21.3.0 is now available! In addition AWX Operator version 0.24.0 has also been released! Please see the releases pages for more details: AWX: http…

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

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