# Get Help

**URL:** https://forum.ansible.com/c/help/6.md?page=85

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

**Page:** 86

---

## [Jinja2 warning using conditionnals](https://forum.ansible.com/t/jinja2-warning-using-conditionnals/4218)

<div class="topic-metadata">

**Author:** [@motorbass](https://forum.ansible.com/u/motorbass)\
**Replies:** 5\
**Last updated:** [March 7, 2024, 7:26am UTC](https://forum.ansible.com/t/jinja2-warning-using-conditionnals/4218 "2024-03-07T07:26:52Z")

</div>

Hi I’m using the following tasks to add servers to my AD Domain only if there’s not already joined. - name: Domain discovery ansible.builtin.shell: | realm discover my\_domain.net register: join - nam…

---

## [Error when installing AWX Operator](https://forum.ansible.com/t/error-when-installing-awx-operator/4222)

<div class="topic-metadata">

**Author:** [@virtualhobbit](https://forum.ansible.com/u/virtualhobbit)\
**Replies:** 9\
**Last updated:** [March 7, 2024, 1:59am UTC](https://forum.ansible.com/t/error-when-installing-awx-operator/4222 "2024-03-07T01:59:02Z")

</div>

I am receiving an error when creating the AWX Operator. I’m getting the logs using: kubectl logs deployments/awx-operator-controller-manager -c awx-manager -f -n awx I get the following error: TASK \[installer : Set th…

---

## [Missing interpreter line for builtin modules](https://forum.ansible.com/t/missing-interpreter-line-for-builtin-modules/4242)

<div class="topic-metadata">

**Author:** [@SAPDanJoe](https://forum.ansible.com/u/SAPDanJoe)\
**Replies:** 4\
**Last updated:** [March 6, 2024, 7:58pm UTC](https://forum.ansible.com/t/missing-interpreter-line-for-builtin-modules/4242 "2024-03-06T19:58:44Z")

</div>

I’m trying to include a playbook, and getting this error: Using module file /opt/ansible\_env/lib64/python3.9/site-packages/ansible/modules/import\_playbook.py fatal: \[w2k19\]: FAILED! =\> { "msg": "module (ansible.buil…

---

## [Migrate off awx-demo Minikube cluster](https://forum.ansible.com/t/migrate-off-awx-demo-minikube-cluster/4238)

<div class="topic-metadata">

**Author:** [@plouton24](https://forum.ansible.com/u/plouton24)\
**Replies:** 0\
**Last updated:** [March 6, 2024, 4:12pm UTC](https://forum.ansible.com/t/migrate-off-awx-demo-minikube-cluster/4238 "2024-03-06T16:12:38Z")

</div>

So I am needing help migrating off a AWX-demo minikube instance that was used for production. I inherited this cluster and sadly it is complaining about a cert expiry on api-server, so I need to get the data migrated off…

---

## [New Ansible Galaxy Web Portal - where is all the old Role admin functionality?](https://forum.ansible.com/t/new-ansible-galaxy-web-portal-where-is-all-the-old-role-admin-functionality/2304)

<div class="topic-metadata">

**Author:** [@semuadmin](https://forum.ansible.com/u/semuadmin)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 3:41pm UTC](https://forum.ansible.com/t/new-ansible-galaxy-web-portal-where-is-all-the-old-role-admin-functionality/2304 "2023-11-14T15:41:54Z")

</div>

OK this may prove to be the dumbest question on this forum but here goes… I’m no DevOp and Ansible has never been a major priority for me, but for the past 5 years or so I’ve happily maintained a couple of Ansible roles…

---

## [Need help with Azure AD with AWX](https://forum.ansible.com/t/need-help-with-azure-ad-with-awx/4144)

<div class="topic-metadata">

**Author:** [@Wizz](https://forum.ansible.com/u/Wizz)\
**Replies:** 8\
**Last updated:** [March 6, 2024, 4:27am UTC](https://forum.ansible.com/t/need-help-with-azure-ad-with-awx/4144 "2024-03-06T04:27:06Z")

</div>

Hi, K3s v1.28.6+k3s2 awx-operator 2.12.1 AWX 23.9.0 PostgreSQL 13 AWX is exposed via nginx ingress (with domain ) I’ve created a public certificate I’ve configured azure and AWX according to the documentation. When…

---

## [Questions/howto: AWX version updates](https://forum.ansible.com/t/questions-howto-awx-version-updates/4129)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 8\
**Last updated:** [March 5, 2024, 7:54am UTC](https://forum.ansible.com/t/questions-howto-awx-version-updates/4129 "2024-03-05T07:54:31Z")

</div>

Hello! I like to try to Update my Test AWX, but i have a few questions before i start: 1: in this guide they use docker run, but not kubectl to set the awx\_operator to the new version(?) 2.1: I used this guide to ge…

---

## [Trouble with simple ansible.builtin.reboot](https://forum.ansible.com/t/trouble-with-simple-ansible-builtin-reboot/4180)

<div class="topic-metadata">

**Author:** [@go140point6](https://forum.ansible.com/u/go140point6)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 11:07pm UTC](https://forum.ansible.com/t/trouble-with-simple-ansible-builtin-reboot/4180 "2024-03-04T23:07:03Z")

</div>

Feel a little silly even having to post this but I can’t get the ansible.builtin.reboot working. It reboots the target no problem, and I’m able to log back in via ssh within 5-10 seconds but the play always fails with: “…

---

## [Ansible Hyper-V inventory module](https://forum.ansible.com/t/ansible-hyper-v-inventory-module/4181)

<div class="topic-metadata">

**Author:** [@disi](https://forum.ansible.com/u/disi)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 9:48pm UTC](https://forum.ansible.com/t/ansible-hyper-v-inventory-module/4181 "2024-03-04T21:48:40Z")

</div>

I looked but could not find a module for Hyper-V. It would be useful to build a dynamic inventory from a Hyper-V host (Windows). The manual way would be to do something with Powershell and write an inventory file for An…

---

## [Long running Ansible jobs in AWX timeout/fail](https://forum.ansible.com/t/long-running-ansible-jobs-in-awx-timeout-fail/4207)

<div class="topic-metadata">

**Author:** [@macado](https://forum.ansible.com/u/macado)\
**Replies:** 2\
**Last updated:** [March 4, 2024, 9:18pm UTC](https://forum.ansible.com/t/long-running-ansible-jobs-in-awx-timeout-fail/4207 "2024-03-04T21:18:33Z")

</div>

Would anyone be able to help me investigate an issue we are having with long running Ansible jobs that just seem to crash/die in middle of job? I realize that is a vague statement. Right now I can re-produce the prob…

---

## [Reuse set of tasks](https://forum.ansible.com/t/reuse-set-of-tasks/4201)

<div class="topic-metadata">

**Author:** [@monsdar](https://forum.ansible.com/u/monsdar)\
**Replies:** 5\
**Last updated:** [March 4, 2024, 8:19pm UTC](https://forum.ansible.com/t/reuse-set-of-tasks/4201 "2024-03-04T20:19:26Z")

</div>

I am the maintainer of a collection. Users of my collection use my roles to extend their own roles on and use them in their playbooks to deploy their system. I also provide a bunch of playbooks in the collection that my …

---

## [Changing different passwords for servers in Ansible](https://forum.ansible.com/t/changing-different-passwords-for-servers-in-ansible/4190)

<div class="topic-metadata">

**Author:** [@aria](https://forum.ansible.com/u/aria)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 5:40pm UTC](https://forum.ansible.com/t/changing-different-passwords-for-servers-in-ansible/4190 "2024-03-04T17:40:39Z")

</div>

I have 10 Linux servers. I am going to change the password of the root user for all servers. I have written a playbook with “expect” and “user” modules, but I need to run this playbook separately for each server. \[php\] …

---

## [Playbook ansible](https://forum.ansible.com/t/playbook-ansible/4202)

<div class="topic-metadata">

**Author:** [@Jasonroot1](https://forum.ansible.com/u/Jasonroot1)\
**Replies:** 5\
**Last updated:** [March 4, 2024, 5:07pm UTC](https://forum.ansible.com/t/playbook-ansible/4202 "2024-03-04T17:07:01Z")

</div>

Good morning, I have a problem with a task, I want to run a playbook that executes different commands on different machines in my inventory, how can I do it?

---

## [Install Fusioninventory + dependencies](https://forum.ansible.com/t/install-fusioninventory-dependencies/4104)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 1:51pm UTC](https://forum.ansible.com/t/install-fusioninventory-dependencies/4104 "2024-03-04T13:51:41Z")

</div>

Hello again! I tried tom make a playbook to install a fusioninventroy agent and dependecies. Copy the config from a git and reboot the service in the end, but it fails with this error: "msg": "'/usr/bin/apt-get -y…

---

## [Private CAs/custom certs, LDAPS Code 21 Unable to verify first certificate](https://forum.ansible.com/t/private-cas-custom-certs-ldaps-code-21-unable-to-verify-first-certificate/4119)

<div class="topic-metadata">

**Author:** [@jeremytourville](https://forum.ansible.com/u/jeremytourville)\
**Replies:** 11\
**Last updated:** [March 4, 2024, 12:48pm UTC](https://forum.ansible.com/t/private-cas-custom-certs-ldaps-code-21-unable-to-verify-first-certificate/4119 "2024-03-04T12:48:51Z")

</div>

I have been reading documentation - \[Trusting a custom certificate authority - Ansible AWX Operator Documentation\] \[Add private CAs to the containers · Issue #376 · ansible/awx-operator · GitHub\] I have not been able …

---

## [In the Ansible-Runner Input Directory Hierarchy where do the \`ansible.cfg\` configurations go?](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 8:06am UTC](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194 "2024-03-04T08:06:30Z")

</div>

I am transitioning my project to have the Ansible Runner’s Input Directory Hierarchy structure. I currently have the following ansible.cfg stdout\_callback = yaml host\_key\_checking = False I cannot find any documentat…

---

## [Trigger one of a set of handlers](https://forum.ansible.com/t/trigger-one-of-a-set-of-handlers/4177)

<div class="topic-metadata">

**Author:** [@jms1](https://forum.ansible.com/u/jms1)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 8:02am UTC](https://forum.ansible.com/t/trigger-one-of-a-set-of-handlers/4177 "2024-03-04T08:02:13Z")

</div>

I’m writing a fairly typical role to install and configure Apache. If the primary httpd.conf file is changed, I need to “restart” Apache. This ends up running the usual service httpd restart or systemctl restart httpd …

---

## [Unable to remove notification\_templates\_\* by using awx.awx.job\_template](https://forum.ansible.com/t/unable-to-remove-notification-templates-by-using-awx-awx-job-template/4187)

<div class="topic-metadata">

**Author:** [@Crimrose](https://forum.ansible.com/u/Crimrose)\
**Replies:** 2\
**Last updated:** [March 3, 2024, 5:36am UTC](https://forum.ansible.com/t/unable-to-remove-notification-templates-by-using-awx-awx-job-template/4187 "2024-03-03T05:36:58Z")

</div>

I’m using awx.awx.job\_template to create notifications for job tempate. But I can’t remove these notification rules after adding with code. I already tried removing notification\_templates\_error or set this value as empt…

---

## [Not Able to install Ansible](https://forum.ansible.com/t/not-able-to-install-ansible/4037)

<div class="topic-metadata">

**Author:** [@DebasisDBA](https://forum.ansible.com/u/DebasisDBA)\
**Replies:** 3\
**Last updated:** [March 2, 2024, 2:21am UTC](https://forum.ansible.com/t/not-able-to-install-ansible/4037 "2024-03-02T02:21:36Z")

</div>

Hi Team, While trying to install ansible I am getting below error. The RHEL version is 9.x \[root@localhost ~\]# yum install ansible Updating Subscription Management repositories. Last metadata expiration check: 2:47:…

---

## [Dependency issue with azure.azcollection, Ansible installed via Homebrew](https://forum.ansible.com/t/dependency-issue-with-azure-azcollection-ansible-installed-via-homebrew/4174)

<div class="topic-metadata">

**Author:** [@jms1](https://forum.ansible.com/u/jms1)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 6:04pm UTC](https://forum.ansible.com/t/dependency-issue-with-azure-azcollection-ansible-installed-via-homebrew/4174 "2024-03-01T18:04:00Z")

</div>

I’m using Ansible on macOS, installed via homebrew. I’m trying to use azure.azcollection, it’s telling me … An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFound…

---

## [Upgrade AWX 1.0.6.16 to AWX 15 or higer version](https://forum.ansible.com/t/upgrade-awx-1-0-6-16-to-awx-15-or-higer-version/4172)

<div class="topic-metadata">

**Author:** [@aj-kyriba](https://forum.ansible.com/u/aj-kyriba)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 4:53pm UTC](https://forum.ansible.com/t/upgrade-awx-1-0-6-16-to-awx-15-or-higer-version/4172 "2024-03-01T16:53:02Z")

</div>

Hello I have a existing AWX set instllated in docker containers. AWX 1.0.6.16 External RDS : PG Engine 12 Since its a big version change, I would like to test the upgrade to version 15 or 17 or higher using docker i…

---

## [AWX ldap spec/myvalues.yaml file](https://forum.ansible.com/t/awx-ldap-spec-myvalues-yaml-file/4092)

<div class="topic-metadata">

**Author:** [@jeremytourville](https://forum.ansible.com/u/jeremytourville)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 2:49pm UTC](https://forum.ansible.com/t/awx-ldap-spec-myvalues-yaml-file/4092 "2024-03-01T14:49:47Z")

</div>

Environment: AWX Operator Helm Chart ver 2.11.0 AWX 23.7.0 on a K8s cluster myvalues.yaml / spec applied during install of helm chart AWX: # enable use of awx-deploy template enabled: true name: awx spec: …

---

## [Raspberry Pi + HQ camera as a webcam Github project using ansible](https://forum.ansible.com/t/raspberry-pi-hq-camera-as-a-webcam-github-project-using-ansible/4151)

<div class="topic-metadata">

**Author:** [@Findesiecle](https://forum.ansible.com/u/Findesiecle)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 1:25pm UTC](https://forum.ansible.com/t/raspberry-pi-hq-camera-as-a-webcam-github-project-using-ansible/4151 "2024-03-01T13:25:03Z")

</div>

Hello, First of all, I don’t know anything about ansible, I just had to use it two years ago to build this project : GitHub - geerlingguy/pi-webcam: Automation to configure a Raspberry Pi as a USB OTG webcam Two years …

---

## [For our collection (vmware.alb ) in galaxy , the version 30.1.1 is set to the latest but this has issues and we've uploaded a fixed version 30.1.1-1p1.Can we set the 30.1.1-1p1 version as the latest instead of 301.1 ?](https://forum.ansible.com/t/for-our-collection-vmware-alb-in-galaxy-the-version-30-1-1-is-set-to-the-latest-but-this-has-issues-and-weve-uploaded-a-fixed-version-30-1-1-1p1-can-we-set-the-30-1-1-1p1-version-as-the-latest-instead-of-301-1/4161)

<div class="topic-metadata">

**Author:** [@chandanapatnala](https://forum.ansible.com/u/chandanapatnala)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 11:49am UTC](https://forum.ansible.com/t/for-our-collection-vmware-alb-in-galaxy-the-version-30-1-1-is-set-to-the-latest-but-this-has-issues-and-weve-uploaded-a-fixed-version-30-1-1-1p1-can-we-set-the-30-1-1-1p1-version-as-the-latest-instead-of-301-1/4161 "2024-03-01T11:49:10Z")

</div>

For our collection (vmware.alb ) in galaxy , the version 30.1.1 is set to the latest but this has issues and we’ve uploaded a fixed version 30.1.1-1p1.Can we set the 30.1.1-1p1 version as the latest instead of 301.1 ?

---

## [Reduce Postgres memory usage for AWX](https://forum.ansible.com/t/reduce-postgres-memory-usage-for-awx/3838)

<div class="topic-metadata">

**Author:** [@Crimrose](https://forum.ansible.com/u/Crimrose)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 11:32am UTC](https://forum.ansible.com/t/reduce-postgres-memory-usage-for-awx/3838 "2024-03-01T11:32:11Z")

</div>

My AWX platform is experiencing error 499 from awx UI. I think the issue comes from the slow response from Postgres. I had one big job run, it took about 10 hours to finish. However, when this job started, Postgres’s me…

---

## [Reaching AWX on Minikube from external server](https://forum.ansible.com/t/reaching-awx-on-minikube-from-external-server/4164)

<div class="topic-metadata">

**Author:** [@gvisentin](https://forum.ansible.com/u/gvisentin)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 10:18am UTC](https://forum.ansible.com/t/reaching-awx-on-minikube-from-external-server/4164 "2024-03-01T10:18:56Z")

</div>

Hi All, I installed ansible awx on a minikube cluster on a linux rhel 8.9 test server. Once I have completed the process, I cannot access the dashboard. Going into detail, if I enter the service url and try to access it…

---

## [Inventory with multiple range](https://forum.ansible.com/t/inventory-with-multiple-range/3998)

<div class="topic-metadata">

**Author:** [@Zematrox](https://forum.ansible.com/u/Zematrox)\
**Replies:** 6\
**Last updated:** [March 1, 2024, 9:33am UTC](https://forum.ansible.com/t/inventory-with-multiple-range/3998 "2024-03-01T09:33:17Z")

</div>

Hello, I would just like some help to be able to make my inventory. I have ansible \[core 2.15.9\]. In my inventory, I’d like to be able to add all the computers that start with “DESKTOP-” to retrieve all the new comput…

---

## [I need help with the Applications section under Adminscreen](https://forum.ansible.com/t/i-need-help-with-the-applications-section-under-adminscreen/4158)

<div class="topic-metadata">

**Author:** [@Jiteshs06](https://forum.ansible.com/u/Jiteshs06)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 7:56am UTC](https://forum.ansible.com/t/i-need-help-with-the-applications-section-under-adminscreen/4158 "2024-03-01T07:56:48Z")

</div>

I am trying to access an external application with the AWX. I have created a application instance in the AWX web interface. When I am trying to access the external application with the given Client Id, it is not working…

---

## [Kubernetes.core.k8s - Issue creating a specific configmap when value is json and contains Jinja2 variable](https://forum.ansible.com/t/kubernetes-core-k8s-issue-creating-a-specific-configmap-when-value-is-json-and-contains-jinja2-variable/4065)

<div class="topic-metadata">

**Author:** [@Monkadelic-D](https://forum.ansible.com/u/Monkadelic-D)\
**Replies:** 5\
**Last updated:** [March 1, 2024, 3:20am UTC](https://forum.ansible.com/t/kubernetes-core-k8s-issue-creating-a-specific-configmap-when-value-is-json-and-contains-jinja2-variable/4065 "2024-03-01T03:20:31Z")

</div>

SUMMARY When applying a particular ConfigMap where the data is JSON and includes Jinja2 variables I get the following error: "json: cannot unmarshal object into Go struct field ConfigMap.data of type string, reason:BadR…

---

## [Configuring AWX with external AWS Postgres RDS](https://forum.ansible.com/t/configuring-awx-with-external-aws-postgres-rds/4134)

<div class="topic-metadata">

**Author:** [@aj-kyriba](https://forum.ansible.com/u/aj-kyriba)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 3:04am UTC](https://forum.ansible.com/t/configuring-awx-with-external-aws-postgres-rds/4134 "2024-03-01T03:04:29Z")

</div>

Hello I am trying to install AWX 23.8.0 in a AWS EC2 and want to use external Aws Postgres RDS(Engine 1). I followed the documentation in awx/tools/docker-compose/README.md at 22.5.0 · ansible/awx · GitHub And I confi…

[Previous page](https://forum.ansible.com/c/help/6.md?page=84)

[Next page](https://forum.ansible.com/c/help/6.md?page=86)
