# Archives

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

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

**Page:** 40

---

## [how to create custom AWX 21 CRD to include extra pip modules?](https://forum.ansible.com/t/how-to-create-custom-awx-21-crd-to-include-extra-pip-modules/37750)

<div class="topic-metadata">

**Author:** [@Jose\_Osorio\_R](https://forum.ansible.com/u/Jose_Osorio_R)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 4:00am UTC](https://forum.ansible.com/t/how-to-create-custom-awx-21-crd-to-include-extra-pip-modules/37750 "2023-03-10T04:00:51Z")

</div>

Hello team, I’m trying to figure it out about how to include extra pip modules when deploying the AWX 21 throught the awx-operator. do you now how to do it? regards jose osorio

---

## [LDAP Config from Extra settings broke](https://forum.ansible.com/t/ldap-config-from-extra-settings-broke/37739)

<div class="topic-metadata">

**Author:** [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Replies:** 2\
**Last updated:** [March 9, 2023, 3:14pm UTC](https://forum.ansible.com/t/ldap-config-from-extra-settings-broke/37739 "2023-03-09T15:14:21Z")

</div>

Been using the same config and was working up until recently: setting: AUTH\_LDAP\_GROUP\_TYPE value: ‘ActiveDirectoryGroupType(name\_attr=“cn”)’ but now seeing error in awx\_web logs: rest\_framework.exceptions.Validatio…

---

## [metrics server unable to scrape AWX pod metrics](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731)

<div class="topic-metadata">

**Author:** [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 8:05pm UTC](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731 "2023-03-08T20:05:12Z")

</div>

Hi team, We have deployed AWX 20.1.0 on EKS cluster. To autoscale pods we deployed HPA and metrics server… Issue we are facing is: metrics server unable to scrape metrics. when we do kubectl get hpa it shows unknown fo…

---

## [Job finishes without any output.](https://forum.ansible.com/t/job-finishes-without-any-output/37715)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 5\
**Last updated:** [March 8, 2023, 7:46pm UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715 "2023-03-08T19:46:36Z")

</div>

I’m actually having a instance with operator version 19.0.0 and awx version 20.0.0. When i launch a job it runs and says its failed but there is no output.Container even doesn’t get launched. Below is the output that i …

---

## [On AWX getting JOB  Failure : Task was marked as running but was not present in the job queue, so it has been marked as failed. issue](https://forum.ansible.com/t/on-awx-getting-job-failure-task-was-marked-as-running-but-was-not-present-in-the-job-queue-so-it-has-been-marked-as-failed-issue/37724)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 7:43pm UTC](https://forum.ansible.com/t/on-awx-getting-job-failure-task-was-marked-as-running-but-was-not-present-in-the-job-queue-so-it-has-been-marked-as-failed-issue/37724 "2023-03-08T19:43:29Z")

</div>

Hi Team, On AWX 21.5.0 I am running one job for 24x7. out of almost 600 job runs 10 jobs are getting this error: “Task was marked as running but was not present in the job queue, so it has been marked as failed.” thoug…

---

## [Newbie Question](https://forum.ansible.com/t/newbie-question/37745)

<div class="topic-metadata">

**Author:** [@beda392](https://forum.ansible.com/u/beda392)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 7:30pm UTC](https://forum.ansible.com/t/newbie-question/37745 "2023-03-08T19:30:49Z")

</div>

How does AWX execution environments know what roles the playbook I’m running needs? I have many custom roles and collections that my playbooks will need and I’m trying to set it up to have access to these.

---

## [Task was marked as running but was not present in the job queue, so it has been marked as failed.](https://forum.ansible.com/t/task-was-marked-as-running-but-was-not-present-in-the-job-queue-so-it-has-been-marked-as-failed/37245)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 5\
**Last updated:** [March 8, 2023, 5:41pm UTC](https://forum.ansible.com/t/task-was-marked-as-running-but-was-not-present-in-the-job-queue-so-it-has-been-marked-as-failed/37245 "2023-03-08T17:41:41Z")

</div>

On AWX 21.4.0 I am running one job for 24x7. out of almost 250 job runs 10 jobs are getting this error: “Task was marked as running but was not present in the job queue, so it has been marked as failed.” though the job …

---

## [JOB | Lead Linux Sysadmin (Edinburgh/London)](https://forum.ansible.com/t/job-lead-linux-sysadmin-edinburgh-london/37742)

<div class="topic-metadata">

**Author:** [@ghost\_advocate](https://forum.ansible.com/u/ghost_advocate)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 11:01am UTC](https://forum.ansible.com/t/job-lead-linux-sysadmin-edinburgh-london/37742 "2023-03-08T11:01:16Z")

</div>

Hello, I'm working with an employer that is looking to hire someone in (Edinburgh or London) that can administer on-prem and vmware platforms. Consequently, I had hoped that some members of this group may like to dis…

---

## [Upgrade with awx-operator 1.1.2 to 1.1.3 (or newer) fails](https://forum.ansible.com/t/upgrade-with-awx-operator-1-1-2-to-1-1-3-or-newer-fails/37647)

<div class="topic-metadata">

**Author:** [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Replies:** 10\
**Last updated:** [March 7, 2023, 6:16pm UTC](https://forum.ansible.com/t/upgrade-with-awx-operator-1-1-2-to-1-1-3-or-newer-fails/37647 "2023-03-07T18:16:50Z")

</div>

Upgrade with awx-operator 1.1.2 to 1.1.3 (or newer) fails the awx web instance never gets going as waiting for db migrations fails and repeats continuously.

---

## [Ansible variable data to CSV file](https://forum.ansible.com/t/ansible-variable-data-to-csv-file/37735)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 12\
**Last updated:** [March 7, 2023, 6:08pm UTC](https://forum.ansible.com/t/ansible-variable-data-to-csv-file/37735 "2023-03-07T18:08:50Z")

</div>

Hi All, Could anyone please help for storing data into CSV file from variable with required structure ? Thank you I have csv variable data from other set\_fact as mentioned below “csv”: \[ “cluster1,virtual\_clu1,log\_vo…

---

## [help configuring aap centrify vault credential provider lookup](https://forum.ansible.com/t/help-configuring-aap-centrify-vault-credential-provider-lookup/37741)

<div class="topic-metadata">

**Author:** [@cary.c](https://forum.ansible.com/u/cary.c)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 5:41pm UTC](https://forum.ansible.com/t/help-configuring-aap-centrify-vault-credential-provider-lookup/37741 "2023-03-07T17:41:41Z")

</div>

I am attempting to run playbooks from aap that will checkout credentials from our Centrify solution. Has anyone gotten this working? My attempts to configure the centrify vault credential provider lookup fails the test c…

---

## [Forward DNS lookups to specific nameservers](https://forum.ansible.com/t/forward-dns-lookups-to-specific-nameservers/37713)

<div class="topic-metadata">

**Author:** [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Replies:** 3\
**Last updated:** [March 7, 2023, 1:57pm UTC](https://forum.ansible.com/t/forward-dns-lookups-to-specific-nameservers/37713 "2023-03-07T13:57:17Z")

</div>

We have a lot of servers in our network with fqnds that can only be resolved by nameservers in our private network. How can I configure our k3s/awx cluster to forward lookup requests for fqdns matching ‘\*.example.abc’ (…

---

## [Based on Variable defined template should behave](https://forum.ansible.com/t/based-on-variable-defined-template-should-behave/37730)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 5\
**Last updated:** [March 7, 2023, 12:27pm UTC](https://forum.ansible.com/t/based-on-variable-defined-template-should-behave/37730 "2023-03-07T12:27:54Z")

</div>

Hello experts, Need one little suggestion on below … Below is my current code . name: set /etc/motd for abcd servers template: src: etc-motd.j1 dest: /etc/motd owner: root group: root mode: 0644 backup: yes w…

---

## [Could not install pfsense-core](https://forum.ansible.com/t/could-not-install-pfsense-core/37738)

<div class="topic-metadata">

**Author:** [@Ala\_Karmous](https://forum.ansible.com/u/Ala_Karmous)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 11:45am UTC](https://forum.ansible.com/t/could-not-install-pfsense-core/37738 "2023-03-07T11:45:33Z")

</div>

there is the error when i try to install pfsense-core, maybe the ‘pfsense-core’ module is no longer available via ‘pip’. if someone knows how to fix it please let me know.

---

## [Announcing AWX 21.13.0 and AWX-Operator 1.3.0](https://forum.ansible.com/t/announcing-awx-21-13-0-and-awx-operator-1-3-0/37737)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 9:55pm UTC](https://forum.ansible.com/t/announcing-awx-21-13-0-and-awx-operator-1-3-0/37737 "2023-03-06T21:55:00Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version 21.13.0 is now available! Some notable features include: Make docker-compose command configurable in Makefile Add disable\_instance management comma…

---

## [Issue with yaml in jinja2](https://forum.ansible.com/t/issue-with-yaml-in-jinja2/37734)

<div class="topic-metadata">

**Author:** [@Guido](https://forum.ansible.com/u/Guido)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 7:21pm UTC](https://forum.ansible.com/t/issue-with-yaml-in-jinja2/37734 "2023-03-06T19:21:45Z")

</div>

Hi Ansible community., I’d like to share a problem I’m having while trying lo load a yaml formatted template and perhaps getting feedback from you on how to make it work. I wrote the following playbook: https://gist.gi…

---

## [Fetching varialble data into loops iterate/repeat](https://forum.ansible.com/t/fetching-varialble-data-into-loops-iterate-repeat/37728)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 12\
**Last updated:** [March 6, 2023, 7:06pm UTC](https://forum.ansible.com/t/fetching-varialble-data-into-loops-iterate-repeat/37728 "2023-03-06T19:06:57Z")

</div>

Hi Team, Greetings for the day! I have a variables called ‘aggregates’ under vars which ontaints cluster1,cluster3,cluster2…etc and aggr1,aggr2,aggr3…etc list as mentioned below. { “aggregates”: \[ \[ “Cluster1”, “a…

---

## [Inventory group not getting created when using add\_host and one of the iteration of task fails.](https://forum.ansible.com/t/inventory-group-not-getting-created-when-using-add-host-and-one-of-the-iteration-of-task-fails/37694)

<div class="topic-metadata">

**Author:** [@Bunty\_G](https://forum.ansible.com/u/Bunty_G)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 6:09pm UTC](https://forum.ansible.com/t/inventory-group-not-getting-created-when-using-add-host-and-one-of-the-iteration-of-task-fails/37694 "2023-03-06T18:09:11Z")

</div>

Inventory group not getting created when using add\_host and one of the iteration of task fails. Below is the playbook

---

## [Stopping the k3s service does not stop the containers](https://forum.ansible.com/t/stopping-the-k3s-service-does-not-stop-the-containers/37722)

<div class="topic-metadata">

**Author:** [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 5:19pm UTC](https://forum.ansible.com/t/stopping-the-k3s-service-does-not-stop-the-containers/37722 "2023-03-06T17:19:08Z")

</div>

Is this the expected/desired outcome?

---

## [Anyone have ansible pacemaker patch](https://forum.ansible.com/t/anyone-have-ansible-pacemaker-patch/37733)

<div class="topic-metadata">

**Author:** [@Vijay\_atluri](https://forum.ansible.com/u/Vijay_atluri)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 4:56pm UTC](https://forum.ansible.com/t/anyone-have-ansible-pacemaker-patch/37733 "2023-03-06T16:56:17Z")

</div>

Anisble pacemaker to stop inactive mode and do patch after that move the resorces to inactive mode and do another server

---

## [How to use version compare test in selectattr?](https://forum.ansible.com/t/how-to-use-version-compare-test-in-selectattr/37732)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 3:39pm UTC](https://forum.ansible.com/t/how-to-use-version-compare-test-in-selectattr/37732 "2023-03-06T15:39:51Z")

</div>

Hi I'm trying to use version compare in selectattr but get error message "Version comparison failed: '\<' not supported between instances of 'int' and 'str' This is the playboot I'm using - hosts: localhost gather\_…

---

## [Template Module with\_nested ?](https://forum.ansible.com/t/template-module-with-nested/37729)

<div class="topic-metadata">

**Author:** [@Endure\_Kona](https://forum.ansible.com/u/Endure_Kona)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 2:30am UTC](https://forum.ansible.com/t/template-module-with-nested/37729 "2023-03-06T02:30:30Z")

</div>

I have no clue why the template module fails and the shell works with the nested items. I don’t have ‘ORA\_SID’ any place but it keeps saying its ansible.errors.AnsibleUndefinedVariable, any ideas on this one would be wel…

---

## [Is it possible to run different nodes in same workflow templates at same automation-job pod?](https://forum.ansible.com/t/is-it-possible-to-run-different-nodes-in-same-workflow-templates-at-same-automation-job-pod/37708)

<div class="topic-metadata">

**Author:** [@user40](https://forum.ansible.com/u/user40)\
**Replies:** 4\
**Last updated:** [March 6, 2023, 12:48am UTC](https://forum.ansible.com/t/is-it-possible-to-run-different-nodes-in-same-workflow-templates-at-same-automation-job-pod/37708 "2023-03-06T00:48:52Z")

</div>

Hello! Is it possible to run different nodes in same workflow templates at same automation-job pod? workflow template visualizer example \[Start\] - \[A node\] - \[B node\] When I start workflow template, awx create automa…

---

## [Bazel definitions for Ansible roles, Molecule tests, etc](https://forum.ansible.com/t/bazel-definitions-for-ansible-roles-molecule-tests-etc/37726)

<div class="topic-metadata">

**Author:** [@CB1](https://forum.ansible.com/u/CB1)\
**Replies:** 0\
**Last updated:** [March 4, 2023, 12:05am UTC](https://forum.ansible.com/t/bazel-definitions-for-ansible-roles-molecule-tests-etc/37726 "2023-03-04T00:05:05Z")

</div>

Hi, Has anyone written Bazel definitions for Ansible roles, Molecule tests, and such? I would like within our Bazel framework to be able to run a molecule test by doing something along the lines of this: bazel test //…

---

## [How to call registered variable data in loops?](https://forum.ansible.com/t/how-to-call-registered-variable-data-in-loops/37723)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 10:02pm UTC](https://forum.ansible.com/t/how-to-call-registered-variable-data-in-loops/37723 "2023-03-03T22:02:09Z")

</div>

Hi Team, Could anyone please help on below query? Thank you. I have 2 registered variables data as example below. How to call those data over the loop? Vars: Cluster\_data: \[‘cluster1’,‘cluster2’\] Aggr\_data: \[‘aggr1’…

---

## [Error creating pod](https://forum.ansible.com/t/error-creating-pod/37720)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 6:33pm UTC](https://forum.ansible.com/t/error-creating-pod/37720 "2023-03-03T18:33:09Z")

</div>

Hello, We are using Awx on PKS/k8 and getting below error when launching a job. Each cluster is having four containers and unable to create pod, Can you suggest how I can solve this? Thank you

---

## [AWX SSH connection not establishing](https://forum.ansible.com/t/awx-ssh-connection-not-establishing/37695)

<div class="topic-metadata">

**Author:** [@Lennyf](https://forum.ansible.com/u/Lennyf)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 6:23pm UTC](https://forum.ansible.com/t/awx-ssh-connection-not-establishing/37695 "2023-03-03T18:23:21Z")

</div>

Trying to run my first playbook. Running AWX on CentOS8,trying to connect to remote device using SSH. On my remote device I have run ssh-genkey on my device and added the .pub key to authorized\_keys file. I have also tak…

---

## [Pacemarker config](https://forum.ansible.com/t/pacemarker-config/13218)

<div class="topic-metadata">

**Author:** [@Eloy\_Coto\_Pereiro1](https://forum.ansible.com/u/Eloy_Coto_Pereiro1)\
**Replies:** 5\
**Last updated:** [March 3, 2023, 10:29am UTC](https://forum.ansible.com/t/pacemarker-config/13218 "2023-03-03T10:29:53Z")

</div>

Hi I want to setup pacemaker to setup my HA. I want to use ansible for all setup, but I don’t know how to use the resources of the live console. Pacemaker shell example: http://clusterlabs.org/wiki/Debian\_Lenny\_HowTo#…

---

## [PACEMAKER STOP](https://forum.ansible.com/t/pacemaker-stop/37721)

<div class="topic-metadata">

**Author:** [@Vijay\_atluri](https://forum.ansible.com/u/Vijay_atluri)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 10:28am UTC](https://forum.ansible.com/t/pacemaker-stop/37721 "2023-03-03T10:28:04Z")

</div>

HI All Anyone have stopped pacemaker inactive node and do patch after that active mode has to move resources to another node and do the patching Regards VijayATluri

---

## [ansible variables for each os](https://forum.ansible.com/t/ansible-variables-for-each-os/37718)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 3\
**Last updated:** [March 2, 2023, 7:34pm UTC](https://forum.ansible.com/t/ansible-variables-for-each-os/37718 "2023-03-02T19:34:09Z")

</div>

In our playbooks, we used to load one OS-specific vars file for all our roles. Now we’d like to move the variables into each role. A method I had to do this before does not seem to be working. For our auditd role, in the…

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

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