# Archives

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

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

**Page:** 55

---

## [I am stump need to remove square brackets](https://forum.ansible.com/t/i-am-stump-need-to-remove-square-brackets/37308)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [November 6, 2022, 7:03am UTC](https://forum.ansible.com/t/i-am-stump-need-to-remove-square-brackets/37308 "2022-11-06T07:03:00Z")

</div>

The Win\_powershell output variable is a list, and in your case it contains one item: the file content. This is very clearly stated in the module docs: https://docs.ansible.com/ansible/latest/collections/ansible/windows…

---

## [Set default capacity\_adjustment instance value.](https://forum.ansible.com/t/set-default-capacity-adjustment-instance-value/37305)

<div class="topic-metadata">

**Author:** [@mickael\_besse](https://forum.ansible.com/u/mickael_besse)\
**Replies:** 3\
**Last updated:** [November 4, 2022, 9:51pm UTC](https://forum.ansible.com/t/set-default-capacity-adjustment-instance-value/37305 "2022-11-04T21:51:01Z")

</div>

Hello Is there a way to set a default value for capacity\_adjustment instance settings. It seems it is set to “1” by default. The idea is to override the default value that will be used for all new instances Thanks

---

## [AWX workflow job is running even though child job is completed](https://forum.ansible.com/t/awx-workflow-job-is-running-even-though-child-job-is-completed/37300)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 5:29pm UTC](https://forum.ansible.com/t/awx-workflow-job-is-running-even-though-child-job-is-completed/37300 "2022-11-04T17:29:14Z")

</div>

Hi Team, AwX 21.0.4 on k8s 1.21.0 AWX workflow job is running even though child job is completed. I tried to forcefully stop that job but its not getting stopped. Please suggest. Thanks,

---

## [AWX support for github enterprise cloud](https://forum.ansible.com/t/awx-support-for-github-enterprise-cloud/37306)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 5:09pm UTC](https://forum.ansible.com/t/awx-support-for-github-enterprise-cloud/37306 "2022-11-04T17:09:42Z")

</div>

Hi Team, I have a question wanted to know if github enterprise cloud is supported by awx as SCCM credential for cloning repos from github enterprise cloud also any docs that provides information like how to establish co…

---

## [\- Failed to create tmp directory](https://forum.ansible.com/t/failed-to-create-tmp-directory/37303)

<div class="topic-metadata">

**Author:** [@Vivek\_Khochare](https://forum.ansible.com/u/Vivek_Khochare)\
**Replies:** 9\
**Last updated:** [November 4, 2022, 2:58pm UTC](https://forum.ansible.com/t/failed-to-create-tmp-directory/37303 "2022-11-04T14:58:10Z")

</div>

Hi All I am getting the error "Failed to create temporary directory.In Some Cases,you may have been able to authenticate and did not have permission on the target directory.Consider changing the remote tmp path in ansib…

---

## [Download artifacts from artifactory into server location](https://forum.ansible.com/t/download-artifacts-from-artifactory-into-server-location/37304)

<div class="topic-metadata">

**Author:** [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 10:36am UTC](https://forum.ansible.com/t/download-artifacts-from-artifactory-into-server-location/37304 "2022-11-04T10:36:36Z")

</div>

Hi Team, I was trying to download the maven artifact from required location (in artifactory) to server. But I a, getting some error for the same. Firstfall, please find my code below: - hosts: 10.115.109.195 gather\_fa…

---

## [AWX EE Image from Azure Container Registry](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302)

<div class="topic-metadata">

**Author:** [@Eugene\_Reader](https://forum.ansible.com/u/Eugene_Reader)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 9:30pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302 "2022-11-03T21:30:56Z")

</div>

Hello, I am attempting to use an EE from our Azure Container Registry and I am getting this failure message: “Error creating pod: container failed to start, ImagePullBackOff” Which I am assuming means it is not actual…

---

## [Connecting to an ESXI Hosts error](https://forum.ansible.com/t/connecting-to-an-esxi-hosts-error/37301)

<div class="topic-metadata">

**Author:** [@Mr.G](https://forum.ansible.com/u/Mr.G)\
**Replies:** 0\
**Last updated:** [November 3, 2022, 5:08pm UTC](https://forum.ansible.com/t/connecting-to-an-esxi-hosts-error/37301 "2022-11-03T17:08:29Z")

</div>

Im attempting to run a job to connect to an VMware ESXI host. when running the job im receiving error. Im tried to add a public key into the host and generate a new key but still unsuccessful. Does anyone know a way to c…

---

## [opentelemetry callback with awx?](https://forum.ansible.com/t/opentelemetry-callback-with-awx/37265)

<div class="topic-metadata">

**Author:** [@howardjones](https://forum.ansible.com/u/howardjones)\
**Replies:** 4\
**Last updated:** [November 3, 2022, 4:42pm UTC](https://forum.ansible.com/t/opentelemetry-callback-with-awx/37265 "2022-11-03T16:42:40Z")

</div>

Hi, We’re already running opentelemetry collector and Elastic APM for other purposes, and I noticed that Ansible has an opentelemetry callback (https://docs.ansible.com/ansible/latest/collections/community/general/opent…

---

## [Special variable group\_names list items out of order](https://forum.ansible.com/t/special-variable-group-names-list-items-out-of-order/37299)

<div class="topic-metadata">

**Author:** [@Goran\_Kuzmanovic](https://forum.ansible.com/u/Goran_Kuzmanovic)\
**Replies:** 1\
**Last updated:** [November 3, 2022, 2:55pm UTC](https://forum.ansible.com/t/special-variable-group-names-list-items-out-of-order/37299 "2022-11-03T14:55:39Z")

</div>

Hello, While searching for my use-case, I stumbled upon this issue https://github.com/ansible/ansible/issues/73208 when the explanation provided was “The group\_names variable is purposefully alphanumerically sorted by n…

---

## [Missing awx instance](https://forum.ansible.com/t/missing-awx-instance/37098)

<div class="topic-metadata">

**Author:** [@epi82](https://forum.ansible.com/u/epi82)\
**Replies:** 12\
**Last updated:** [November 3, 2022, 7:56am UTC](https://forum.ansible.com/t/missing-awx-instance/37098 "2022-11-03T07:56:08Z")

</div>

Hello, I’ve deployed in my aks cluster AWX with awx-operator 0.28.0 I have set 2 replicas for AWX. Now are both running but as you can see from RESTARTS they change status in “CrashLoopBackOff”. Then automatically…

---

## [Forks?](https://forum.ansible.com/t/forks/37290)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 5\
**Last updated:** [November 3, 2022, 1:44am UTC](https://forum.ansible.com/t/forks/37290 "2022-11-03T01:44:12Z")

</div>

I have my forks set to 50 in ~/.Ansible.CTG and the forks setting seems to work for the first set of boxes, but doesn’t seem to work for the rest. I thought the forks setting would keep $forks connections going until all…

---

## [How to set key to ManagedObjectReference when calling vim.cluster.DrsVmConfigInfo](https://forum.ansible.com/t/how-to-set-key-to-managedobjectreference-when-calling-vim-cluster-drsvmconfiginfo/37293)

<div class="topic-metadata">

**Author:** [@canadapatrick](https://forum.ansible.com/u/canadapatrick)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 9:26pm UTC](https://forum.ansible.com/t/how-to-set-key-to-managedobjectreference-when-calling-vim-cluster-drsvmconfiginfo/37293 "2022-11-02T21:26:47Z")

</div>

Trying to code module similar to vmware\_cluster\_drs but for specific VMs. I am trying to instead use drsVmConfigSpec and dasVmConfigSpec which calls vim.cluster.DasVmConfigSpec / vim.cluster.DrsVmConfigSpec (info). inf…

---

## [Role/permission to view job results in AWX 19.3.0](https://forum.ansible.com/t/role-permission-to-view-job-results-in-awx-19-3-0/37132)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 8:10pm UTC](https://forum.ansible.com/t/role-permission-to-view-job-results-in-awx-19-3-0/37132 "2022-11-02T20:10:17Z")

</div>

I am running AWX 19.3.0. I have a requirement to permit an AWX team which is linked to an AD group, to be able to view job template job logs. I have LDAP authentication working. Under permissions in the team that I crea…

---

## [Dynamic inventory can take a long time to fetch hosts in group (aws\_ec2)](https://forum.ansible.com/t/dynamic-inventory-can-take-a-long-time-to-fetch-hosts-in-group-aws-ec2/37295)

<div class="topic-metadata">

**Author:** [@Josh\_K](https://forum.ansible.com/u/Josh_K)\
**Replies:** 0\
**Last updated:** [November 2, 2022, 7:30pm UTC](https://forum.ansible.com/t/dynamic-inventory-can-take-a-long-time-to-fetch-hosts-in-group-aws-ec2/37295 "2022-11-02T19:30:47Z")

</div>

I have a dynamic inventory created with the aws\_ec2 inventory plugin. I added a new group and now my inventory is taking a noticeably long time to load: groups: … u: “tags.get(‘Name’) | regex\_search(‘u\[\\d\]+’)” I’ve w…

---

## [awx - inventory sources and env variables](https://forum.ansible.com/t/awx-inventory-sources-and-env-variables/37065)

<div class="topic-metadata">

**Author:** [@Ken\_P](https://forum.ansible.com/u/Ken_P)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 6:59pm UTC](https://forum.ansible.com/t/awx-inventory-sources-and-env-variables/37065 "2022-11-02T18:59:42Z")

</div>

hi, wonder if somebody can point me in right direction. i am given custom rest end point to read inventory of host and for each tower job submission, i have to pass different filter to same endpoint. i created inventor…

---

## [Error opening pod stream' or 'Stream error running pod' randomly on some jobs](https://forum.ansible.com/t/error-opening-pod-stream-or-stream-error-running-pod-randomly-on-some-jobs/37110)

<div class="topic-metadata">

**Author:** [@AWX\_Project1](https://forum.ansible.com/u/AWX_Project1)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 6:55pm UTC](https://forum.ansible.com/t/error-opening-pod-stream-or-stream-error-running-pod-randomly-on-some-jobs/37110 "2022-11-02T18:55:44Z")

</div>

Hi I have k3s cluster with awx installed on it everything works fine except one thing (and this is very important thing). Sometimes in a random way 1 job will not start and in the output I have this error : Error openi…

---

## [Awx issue with jumphost](https://forum.ansible.com/t/awx-issue-with-jumphost/37123)

<div class="topic-metadata">

**Author:** [@Henri\_Chapelle](https://forum.ansible.com/u/Henri_Chapelle)\
**Replies:** 3\
**Last updated:** [November 2, 2022, 6:42pm UTC](https://forum.ansible.com/t/awx-issue-with-jumphost/37123 "2022-11-02T18:42:23Z")

</div>

Hi, After a recent upgrade to awx 21.5.0, we have issue with jobs targeting more then 1 host. We used since a fewl years several Awx releases with a jumphost configured by inventory variables. All was setup from an IB…

---

## [Importing multiple ansible playbooks](https://forum.ansible.com/t/importing-multiple-ansible-playbooks/37294)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 5:16pm UTC](https://forum.ansible.com/t/importing-multiple-ansible-playbooks/37294 "2022-11-02T17:16:34Z")

</div>

Hi all, Is there a way, or what is the syntax since I can’t seem to find it on importing an ansible playbook and with that applying a specific tag to one or some of those playbooks?

---

## [How to migrate 6300 hosts to GNU/Linux using Ansible and AWX](https://forum.ansible.com/t/how-to-migrate-6300-hosts-to-gnu-linux-using-ansible-and-awx/37279)

<div class="topic-metadata">

**Author:** [@OSiUX](https://forum.ansible.com/u/OSiUX)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 4:50pm UTC](https://forum.ansible.com/t/how-to-migrate-6300-hosts-to-gnu-linux-using-ansible-and-awx/37279 "2022-11-02T16:50:05Z")

</div>

Hello, I want to share the translation of the transcript of the talk "Cómo migrar 6300 equipos a GNU/Linux usando Ansible y AWX" https://osiux.com/2022-10-20-howto-migrate-6300-hosts-to-gnu-linux-using-ansible-and-awx…

---

## [how to push different credentials to jobs of a workflow](https://forum.ansible.com/t/how-to-push-different-credentials-to-jobs-of-a-workflow/32511)

<div class="topic-metadata">

**Author:** [@Tobias1](https://forum.ansible.com/u/Tobias1)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 4:47pm UTC](https://forum.ansible.com/t/how-to-push-different-credentials-to-jobs-of-a-workflow/32511 "2022-11-02T16:47:26Z")

</div>

Hi, I would like to pass different credentials to some jobs inside the workflow. For this i would like to get all “child job id’s”, check the job template id of each job, and then if needed, pass the required credential …

---

## [Generate docs from ansible argspec](https://forum.ansible.com/t/generate-docs-from-ansible-argspec/35889)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 2:03pm UTC](https://forum.ansible.com/t/generate-docs-from-ansible-argspec/35889 "2022-11-02T14:03:05Z")

</div>

Is there any way to generate a markdown documentation from ansible role argument spec? https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_reuse\_roles.html#role-argument-validation I could not find anything in…

---

## [AWX deployment scale up possible?](https://forum.ansible.com/t/awx-deployment-scale-up-possible/37248)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 3:49am UTC](https://forum.ansible.com/t/awx-deployment-scale-up-possible/37248 "2022-11-02T03:49:19Z")

</div>

Hi Team, Is it possible to scale up AWX deployment pods on K8s base AWX environment ? AWX version : 21.4.0 K8s Version:1.21.0 AWX operator: 0.26.0 my AWX is getting bombarded with log of Job Requests in a day. Appro…

---

## [Complex lineinfile/replace](https://forum.ansible.com/t/complex-lineinfile-replace/37281)

<div class="topic-metadata">

**Author:** [@Cy\_Schubert](https://forum.ansible.com/u/Cy_Schubert)\
**Replies:** 10\
**Last updated:** [November 1, 2022, 7:12pm UTC](https://forum.ansible.com/t/complex-lineinfile-replace/37281 "2022-11-01T19:12:15Z")

</div>

I need to replace lines in /etc/fstab using the following logic: if line contains “ext4”; then if line ends in “0 0”; then replace “0 0” with “1 2” I can easily do this with sed: sed ‘/ext4/s/0 0$/1 2/’ But from wh…

---

## [Archiving user home directories with a var\_files](https://forum.ansible.com/t/archiving-user-home-directories-with-a-var-files/37291)

<div class="topic-metadata">

**Author:** [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Replies:** 2\
**Last updated:** [November 1, 2022, 5:58pm UTC](https://forum.ansible.com/t/archiving-user-home-directories-with-a-var-files/37291 "2022-11-01T17:58:17Z")

</div>

Kenady, I think you are looking to loop\[1\] the users correct? aka loop: “{{ users }}” https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_loops.html

---

## [Announcing AWX 21.8.0 and AWX-Operator 1.0.0](https://forum.ansible.com/t/announcing-awx-21-8-0-and-awx-operator-1-0-0/37289)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 4:46pm UTC](https://forum.ansible.com/t/announcing-awx-21-8-0-and-awx-operator-1-0-0/37289 "2022-11-01T16:46:11Z")

</div>

We’re happy to announce that the next release of AWX, version 21.8.0 is now available! Some notable features include: Adding ppc64le support parameters Shortcut Instance.objects.me when possible Hostname validation in …

---

## [Archiving user home directories with a var\_files](https://forum.ansible.com/t/archiving-user-home-directories-with-a-var-files/37288)

<div class="topic-metadata">

**Author:** [@Kenady\_Inampudi](https://forum.ansible.com/u/Kenady_Inampudi)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 4:32pm UTC](https://forum.ansible.com/t/archiving-user-home-directories-with-a-var-files/37288 "2022-11-01T16:32:23Z")

</div>

Archiving user home directories with external var file user.yml

---

## [Playbook to create multiple user directories based on user input passed in from playbook execution](https://forum.ansible.com/t/playbook-to-create-multiple-user-directories-based-on-user-input-passed-in-from-playbook-execution/37287)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 3:25pm UTC](https://forum.ansible.com/t/playbook-to-create-multiple-user-directories-based-on-user-input-passed-in-from-playbook-execution/37287 "2022-11-01T15:25:58Z")

</div>

Hello all, I have a playbook which creates sftp user accounts based on information passed during playbook execution. I would like to create multiple directories based on what the user running the playbook enters. name…

---

## [Ansible Playbook when statement added in playbook](https://forum.ansible.com/t/ansible-playbook-when-statement-added-in-playbook/37286)

<div class="topic-metadata">

**Author:** [@DEEPANSHU\_DANG](https://forum.ansible.com/u/DEEPANSHU_DANG)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 1:01pm UTC](https://forum.ansible.com/t/ansible-playbook-when-statement-added-in-playbook/37286 "2022-11-01T13:01:34Z")

</div>

Hi Team I have created a Playbook for helm deployment and need to make resiliency and exception handling with the help of when condition I got confused in that when adding multiple conditions can any one please help.

---

## [alternative for loop?](https://forum.ansible.com/t/alternative-for-loop/37285)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 11:14am UTC](https://forum.ansible.com/t/alternative-for-loop/37285 "2022-11-01T11:14:32Z")

</div>

Hi I have a playbook that displays a warning when certain legacy variables are found. This works, but I am looking for an alternative that does not involve a looped task. My attempt below works only partly, because se…

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

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