# Archives

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

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

**Page:** 71

---

## [Need when condition / solution if possible for running task on a specific host](https://forum.ansible.com/t/need-when-condition-solution-if-possible-for-running-task-on-a-specific-host/36830)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [July 12, 2022, 5:51pm UTC](https://forum.ansible.com/t/need-when-condition-solution-if-possible-for-running-task-on-a-specific-host/36830 "2022-07-12T17:51:25Z")

</div>

I have 3 applications hosted on three separate hosts and mentioned in the hosts file like below: cat my.hosts \[app1\_webapp\] host3.mybank.com \[app2\_webapp\] host5.mybank.com \[app3\_webapp\] host8.mybank.com My requir…

---

## [Ansible 6.1.0 has been released!](https://forum.ansible.com/t/ansible-6-1-0-has-been-released/36835)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 5:50pm UTC](https://forum.ansible.com/t/ansible-6-1-0-has-been-released/36835 "2022-07-12T17:50:32Z")

</div>

Hi all, We’re happy to announce that the Ansible 6.1.0 package has been released ! Ansible 6.1.0 will include ansible-core 2.13.1 as well as a curated set of Ansible collections to provide a vast number of modules and…

---

## [Change order of GTM wide ip pools](https://forum.ansible.com/t/change-order-of-gtm-wide-ip-pools/36834)

<div class="topic-metadata">

**Author:** [@Sharon\_Day](https://forum.ansible.com/u/Sharon_Day)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 4:14pm UTC](https://forum.ansible.com/t/change-order-of-gtm-wide-ip-pools/36834 "2022-07-12T16:14:00Z")

</div>

I’m trying to change the order of the two pools assigned to my F5 GTM wide IP. I have a playbook and with this playbook I’m able to change the load balance method but when I change the order for the pools nothing happens…

---

## [Create a list from a dictionary cycle](https://forum.ansible.com/t/create-a-list-from-a-dictionary-cycle/36833)

<div class="topic-metadata">

**Author:** [@Softmax23](https://forum.ansible.com/u/Softmax23)\
**Replies:** 5\
**Last updated:** [July 12, 2022, 1:59pm UTC](https://forum.ansible.com/t/create-a-list-from-a-dictionary-cycle/36833 "2022-07-12T13:59:14Z")

</div>

Hi I would like to create a list with this dict { “v3bf33-srv01”: “eu-west0-a”, “v3bf33-srv02”: “eu-west0-a”, “v3bf33-srv03”: “eu-west0-a”, “v3bf33-srv04”: “eu-west0-b”, “v3bf33-srv05”: “eu-west0-b”, “v3bf33-srv06…

---

## [Launch task with date in var](https://forum.ansible.com/t/launch-task-with-date-in-var/36832)

<div class="topic-metadata">

**Author:** [@Gabz\_Modz](https://forum.ansible.com/u/Gabz_Modz)\
**Replies:** 2\
**Last updated:** [July 12, 2022, 9:38am UTC](https://forum.ansible.com/t/launch-task-with-date-in-var/36832 "2022-07-12T09:38:22Z")

</div>

Hello, My playbook allows to create/disable users in the Active Directory, In my playbook, I’m going to look for my role which will allow me to generate my variables according to a CSV. In this CSV, I have a start dat…

---

## [Howto to deploy kerberos (krb5.conf) info during awx operator install?](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723)

<div class="topic-metadata">

**Author:** [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Replies:** 2\
**Last updated:** [July 12, 2022, 9:38am UTC](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723 "2022-07-12T09:38:14Z")

</div>

I am deploying awx 21.1.0 using the 0.22.0 operator into a minikube cluster doing what they call a ‘basic install’ by way of creating the documented kustomize.yml . https://github.com/ansible/awx-operator#basic-install …

---

## [Key Update depending on the OS version](https://forum.ansible.com/t/key-update-depending-on-the-os-version/36831)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 1\
**Last updated:** [July 12, 2022, 5:19am UTC](https://forum.ansible.com/t/key-update-depending-on-the-os-version/36831 "2022-07-12T05:19:52Z")

</div>

Hello Folk, Need one help in updating the key to sshd\_config file depending on the OS version. I ve folder structure like below roles sshd tasks main.yml vars main.yml template main.yml I want to update /template…

---

## [ANSIBLE\_JINJA2\_NATIVE not working in user module for expires key](https://forum.ansible.com/t/ansible-jinja2-native-not-working-in-user-module-for-expires-key/36828)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 9:35pm UTC](https://forum.ansible.com/t/ansible-jinja2-native-not-working-in-user-module-for-expires-key/36828 "2022-07-11T21:35:13Z")

</div>

I’m trying to pass a generic date to the expires key in the user module and convert it inline so that our inventory doesn’t have to include this same jinja over and over: users: name: asmith comment: Adam Smith key\_excl…

---

## [New release candidates: ansible-core 2.13.2rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-13-2rc1/36829)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 8:00pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-13-2rc1/36829 "2022-07-11T20:00:39Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.13.2rc1 How to get it

---

## [docker\_container - container stops without completing the commands](https://forum.ansible.com/t/docker-container-container-stops-without-completing-the-commands/36826)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 7:35pm UTC](https://forum.ansible.com/t/docker-container-container-stops-without-completing-the-commands/36826 "2022-07-11T19:35:39Z")

</div>

I want to create a docker container on a remote host and then, in a second step build a binary for pgBackRest inside that container. It fails with the task to create the container, install some packages for the build an…

---

## [\[Ext\] \[ansible-project\] RHCE exam question](https://forum.ansible.com/t/ext-ansible-project-rhce-exam-question/36827)

<div class="topic-metadata">

**Author:** [@rilindo](https://forum.ansible.com/u/rilindo)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 2:47pm UTC](https://forum.ansible.com/t/ext-ansible-project-rhce-exam-question/36827 "2022-07-11T14:47:38Z")

</div>

Hi Mahdi! Red Hat NDA actually prohibits you from discussing specific exam questions and can result in you and other people being banned from future exams as well as revocation of any Red Hat you may have already obtain…

---

## [Unable to create the partition](https://forum.ansible.com/t/unable-to-create-the-partition/36816)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 9\
**Last updated:** [July 11, 2022, 9:27am UTC](https://forum.ansible.com/t/unable-to-create-the-partition/36816 "2022-07-11T09:27:32Z")

</div>

Hi, I am trying to create the partition, but got the following error:

---

## [RHCE exam question](https://forum.ansible.com/t/rhce-exam-question/36824)

<div class="topic-metadata">

**Author:** [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 9:05am UTC](https://forum.ansible.com/t/rhce-exam-question/36824 "2022-07-11T09:05:35Z")

</div>

How close did you get? I suggest the best way to get assistance on somethng like this from the volunteers on this list is to show us the best thing you managed to come up with on your own, and tell us which part of th…

---

## [Use of ansible module input parameters in subsequent tasks](https://forum.ansible.com/t/use-of-ansible-module-input-parameters-in-subsequent-tasks/36823)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 8:33am UTC](https://forum.ansible.com/t/use-of-ansible-module-input-parameters-in-subsequent-tasks/36823 "2022-07-11T08:33:17Z")

</div>

Hi, I want to use region attribute from below task for subsequent task but that attribute is not a part of output , so how I can use it next tasks. name: get aws vpc detailsec2\_vpc\_net\_info: aws\_access\_key: #########…

---

## [Unable to install a package](https://forum.ansible.com/t/unable-to-install-a-package/36822)

<div class="topic-metadata">

**Author:** [@skratbag](https://forum.ansible.com/u/skratbag)\
**Replies:** 4\
**Last updated:** [July 11, 2022, 8:17am UTC](https://forum.ansible.com/t/unable-to-install-a-package/36822 "2022-07-11T08:17:55Z")

</div>

Hi Folks, Having a problem with a rc 126 from yum. I have tried the following options and am receiving the following error messages. I did find a reference to this particular error but not on RHEL 2.9.27 (which is what …

---

## [need help for XML to JSON Parsing Error with Ansible using Parse\_xml](https://forum.ansible.com/t/need-help-for-xml-to-json-parsing-error-with-ansible-using-parse-xml/36815)

<div class="topic-metadata">

**Author:** [@maulik\_patel](https://forum.ansible.com/u/maulik_patel)\
**Replies:** 3\
**Last updated:** [July 10, 2022, 3:29pm UTC](https://forum.ansible.com/t/need-help-for-xml-to-json-parsing-error-with-ansible-using-parse-xml/36815 "2022-07-10T15:29:00Z")

</div>

hi , I was trying to parse a XML response to JSON using parse\_xml from an AWS VPN output, but I’m getting the below error. I am able to parse data with “vpn\_conn\_facts.vpn\_connections\[0\].customer\_gateway\_configuration” …

---

## [Need help on ansible code from shell script](https://forum.ansible.com/t/need-help-on-ansible-code-from-shell-script/36821)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 6:13pm UTC](https://forum.ansible.com/t/need-help-on-ansible-code-from-shell-script/36821 "2022-07-09T18:13:36Z")

</div>

Hi Experts, Just started learning ansible few weeks back. want to automate a shell script. Need your help badly. Any jinja template or any help would be greatly appreciated. Here is the pseudocode for the shell script …

---

## [How to correctly print a multiline stdout?](https://forum.ansible.com/t/how-to-correctly-print-a-multiline-stdout/13416)

<div class="topic-metadata">

**Author:** [@Nicolas\_Grilly](https://forum.ansible.com/u/Nicolas_Grilly)\
**Replies:** 19\
**Last updated:** [July 9, 2022, 2:45pm UTC](https://forum.ansible.com/t/how-to-correctly-print-a-multiline-stdout/13416 "2022-07-09T14:45:31Z")

</div>

Hello, We run our database migrations using Ansible with something along these lines: name: Run database migrations command: env/bin/python migrate.py -q chdir=$project\_dir/releases/$release\_date register: result c…

---

## [copy file to one host only](https://forum.ansible.com/t/copy-file-to-one-host-only/36819)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [July 8, 2022, 6:03pm UTC](https://forum.ansible.com/t/copy-file-to-one-host-only/36819 "2022-07-08T18:03:08Z")

</div>

I am trying to copy a file to one host. the file will be on my ansible host I am copying over to the remote host do I need to create a file folder and put the file I want copied there project ├── hosts ├── main.yml …

---

## [Announcing AWX 21.2.0](https://forum.ansible.com/t/announcing-awx-21-2-0/36764)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 3\
**Last updated:** [July 8, 2022, 4:44pm UTC](https://forum.ansible.com/t/announcing-awx-21-2-0/36764 "2022-07-08T16:44:23Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version is now available! In addition AWX Operator version has also been release! Please see the releases pages for more details: AWX: https://github.com/…

---

## [Following AWX versions fixing CVEs](https://forum.ansible.com/t/following-awx-versions-fixing-cves/36817)

<div class="topic-metadata">

**Author:** [@EZ1](https://forum.ansible.com/u/EZ1)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 4:13pm UTC](https://forum.ansible.com/t/following-awx-versions-fixing-cves/36817 "2022-07-08T16:13:54Z")

</div>

Hello all of you, Actually auditing an AWX and Ansible community config in doors, I’m looking for AWX versions fixing known CVEs, from v8 to today. Well let’s take the latest could be the answer, but on the other hand …

---

## [manage docker via Ansible - question on the python docker library/package on the target](https://forum.ansible.com/t/manage-docker-via-ansible-question-on-the-python-docker-library-package-on-the-target/36813)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 6\
**Last updated:** [July 8, 2022, 1:08pm UTC](https://forum.ansible.com/t/manage-docker-via-ansible-question-on-the-python-docker-library-package-on-the-target/36813 "2022-07-08T13:08:11Z")

</div>

hi everybody, I try to handle docker containers via Ansible and am getting this error: msg: 'Failed to import the required Python library (Docker SDK for Python: docker (Python \>= 2.7) or docker-py (Python 2.6)) on vm-…

---

## [what s the use of % set with ansible](https://forum.ansible.com/t/what-s-the-use-of-set-with-ansible/36809)

<div class="topic-metadata">

**Author:** [@gomz\_arvind](https://forum.ansible.com/u/gomz_arvind)\
**Replies:** 7\
**Last updated:** [July 8, 2022, 8:36am UTC](https://forum.ansible.com/t/what-s-the-use-of-set-with-ansible/36809 "2022-07-08T08:36:15Z")

</div>

Hi team, can i know the actual usage of % set with ansible

---

## [Ansible integration with LUMEN devices](https://forum.ansible.com/t/ansible-integration-with-lumen-devices/36808)

<div class="topic-metadata">

**Author:** [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 3:16am UTC](https://forum.ansible.com/t/ansible-integration-with-lumen-devices/36808 "2022-07-08T03:16:20Z")

</div>

How can we integrate ansible with LUMEN devices for fetching top talkers details by using commands. Is there any module or something? How can we achieve this.

---

## [Meta module](https://forum.ansible.com/t/meta-module/36802)

<div class="topic-metadata">

**Author:** [@brice\_Folio](https://forum.ansible.com/u/brice_Folio)\
**Replies:** 8\
**Last updated:** [July 7, 2022, 2:30pm UTC](https://forum.ansible.com/t/meta-module/36802 "2022-07-07T14:30:34Z")

</div>

Hello, I have playbook played in tower and at the end of a block I use meta: end\_play module without any condition. I don’t know why but this task is ignored and when I enable debug it displays: META: Instead of: ME…

---

## [Changing directory for installed collection](https://forum.ansible.com/t/changing-directory-for-installed-collection/36811)

<div class="topic-metadata">

**Author:** [@Sebastian1](https://forum.ansible.com/u/Sebastian1)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 12:55pm UTC](https://forum.ansible.com/t/changing-directory-for-installed-collection/36811 "2022-07-07T12:55:18Z")

</div>

Is it possible to change directory where installed default collection? According to the documentation, it is located in /var/lib/awx/projects/.\_\_awx\_cache/ https://github.com/ansible/awx/blob/devel/docs/collections.md …

---

## [Unable to execute ansible playbook](https://forum.ansible.com/t/unable-to-execute-ansible-playbook/36812)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 10\
**Last updated:** [July 7, 2022, 11:10am UTC](https://forum.ansible.com/t/unable-to-execute-ansible-playbook/36812 "2022-07-07T11:10:35Z")

</div>

Hi all, I got the following error, while trying to execute ansible playbook: TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [tower-cli and awx command](https://forum.ansible.com/t/tower-cli-and-awx-command/36799)

<div class="topic-metadata">

**Author:** [@nico\_travail](https://forum.ansible.com/u/nico_travail)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 8:59pm UTC](https://forum.ansible.com/t/tower-cli-and-awx-command/36799 "2022-07-06T20:59:31Z")

</div>

Hello, I have an “old” script ansible witch configure surveys from API and with tower-cli. But now, tower-cli is deprecated and we must use awx, and I don’t find any command to query surveys and modify them with awx… T…

---

## [Capacity shows 0, 100% Utilized, Jobs not running.](https://forum.ansible.com/t/capacity-shows-0-100-utilized-jobs-not-running/36067)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 8:08pm UTC](https://forum.ansible.com/t/capacity-shows-0-100-utilized-jobs-not-running/36067 "2022-07-06T20:08:42Z")

</div>

Seems like something is not working quite right for me with my installation. Doesn’t appear to be able to read or get cluster data to generate capacity numbers. Not sure if related to kubernetes service account or s…

---

## [Ansible: Need help in manipulating with date and time](https://forum.ansible.com/t/ansible-need-help-in-manipulating-with-date-and-time/36810)

<div class="topic-metadata">

**Author:** [@gomz\_arvind](https://forum.ansible.com/u/gomz_arvind)\
**Replies:** 0\
**Last updated:** [July 6, 2022, 1:01pm UTC](https://forum.ansible.com/t/ansible-need-help-in-manipulating-with-date-and-time/36810 "2022-07-06T13:01:12Z")

</div>

Example: 12:02:43.569 UTC Wed Jul 06 2022 I wish to get an ansible script to go back 15 minutes from the above timing

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

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