# Latest

**URL:** https://forum.ansible.com/latest.md?page=247

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

**Page:** 248

---

## [AWX doesn't import host\_vars](https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761)

<div class="topic-metadata">

**Author:** [@Alireza\_Eskandari](https://forum.ansible.com/u/Alireza_Eskandari)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 7:31pm UTC](https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761 "2022-06-22T19:31:07Z")

</div>

Hi, I want to import an inventory from a project. I can import groups and hosts and also group\_vars, but it seems awx cannot parse host\_vars. I’m using awx 21.1.0 Regards

---

## [soft copy of ansible](https://forum.ansible.com/t/soft-copy-of-ansible/36769)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 6:37pm UTC](https://forum.ansible.com/t/soft-copy-of-ansible/36769 "2022-06-22T18:37:57Z")

</div>

Hi team, I’m new to ansible and if any soft copy of test book or releated documents with you please share with me. It’s really helpful. Regards, shivu

---

## [AWX/Ansible Tower - unable to resolve Module Dependency - "No module named 'azure.cli.core.auth' "](https://forum.ansible.com/t/awx-ansible-tower-unable-to-resolve-module-dependency-no-module-named-azure-cli-core-auth/36767)

<div class="topic-metadata">

**Author:** [@Alex\_Walker](https://forum.ansible.com/u/Alex_Walker)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 2:38pm UTC](https://forum.ansible.com/t/awx-ansible-tower-unable-to-resolve-module-dependency-no-module-named-azure-cli-core-auth/36767 "2022-06-22T14:38:57Z")

</div>

Hi I’m trying to install the Azure.Azcollection module on an AWX server, but encountering the following dependency error: TASK \[List all keys in specific key vault\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* An exception o…

---

## [How to call a tasklist from a module ?](https://forum.ansible.com/t/how-to-call-a-tasklist-from-a-module/36766)

<div class="topic-metadata">

**Author:** [@Jan\_Goyvaerts](https://forum.ansible.com/u/Jan_Goyvaerts)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 1:58pm UTC](https://forum.ansible.com/t/how-to-call-a-tasklist-from-a-module/36766 "2022-06-22T13:58:58Z")

</div>

Good morning Ansible Community, I am in the process of developing a collection with modules for reducing complex system configurations to a single task. To that effect I’ve made an “install” module: install: name: fo…

---

## [How to send email if task fails on something or any particular condition? I](https://forum.ansible.com/t/how-to-send-email-if-task-fails-on-something-or-any-particular-condition-i/36765)

<div class="topic-metadata">

**Author:** [@Milan\_Patel](https://forum.ansible.com/u/Milan_Patel)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 1:57pm UTC](https://forum.ansible.com/t/how-to-send-email-if-task-fails-on-something-or-any-particular-condition-i/36765 "2022-06-22T13:57:27Z")

</div>

---

## [nested roles](https://forum.ansible.com/t/nested-roles/36750)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 10\
**Last updated:** [June 21, 2022, 10:20pm UTC](https://forum.ansible.com/t/nested-roles/36750 "2022-06-21T22:20:04Z")

</div>

I have a question regarding nested roles. Back Story: I am doing some code reviews for some ansible code a coworker has done. I noticed that they are importing other roles into the role they are working on. Question: I…

---

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

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [June 21, 2022, 4:55pm UTC](https://forum.ansible.com/t/ansible-6-0-0-has-been-released/36762 "2022-06-21T16:55:26Z")

</div>

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

---

## [ansible output not shown](https://forum.ansible.com/t/ansible-output-not-shown/36752)

<div class="topic-metadata">

**Author:** [@szelga](https://forum.ansible.com/u/szelga)\
**Replies:** 10\
**Last updated:** [June 21, 2022, 4:12pm UTC](https://forum.ansible.com/t/ansible-output-not-shown/36752 "2022-06-21T16:12:54Z")

</div>

an extremely simple playbook: - hosts: - test-host tasks: - name: AAA ansible.builtin.debug: msg: AAA shows results like this: \[WARNING\]: Invalid characters were found in group names but not replaced, use -vvvv to se…

---

## [Remove a line from file and surrounding](https://forum.ansible.com/t/remove-a-line-from-file-and-surrounding/36734)

<div class="topic-metadata">

**Author:** [@Laci](https://forum.ansible.com/u/Laci)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 9:18am UTC](https://forum.ansible.com/t/remove-a-line-from-file-and-surrounding/36734 "2022-06-21T09:18:56Z")

</div>

I’m working on a playbook which would remove lines from a file containing specific hostname. I want to use Ansible to remove the hostname AND surrounding lines. Here is an example of a block that I need to remove: File…

---

## [Async start a process and check until its listen port condition is successful](https://forum.ansible.com/t/async-start-a-process-and-check-until-its-listen-port-condition-is-successful/36757)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 4\
**Last updated:** [June 21, 2022, 7:56am UTC](https://forum.ansible.com/t/async-start-a-process-and-check-until-its-listen-port-condition-is-successful/36757 "2022-06-21T07:56:11Z")

</div>

I trigger multiple tomcat startup scripts and then need to check if all process listens on their specific port across multiple hosts in the quickest time possible. For the test case, I m writing 3 scripts instead of tom…

---

## [How can I match \`\\s\` or \`\\t\` in a \`search\` test?](https://forum.ansible.com/t/how-can-i-match-s-or-t-in-a-search-test/36755)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 8\
**Last updated:** [June 21, 2022, 4:40am UTC](https://forum.ansible.com/t/how-can-i-match-s-or-t-in-a-search-test/36755 "2022-06-21T04:40:54Z")

</div>

Here is an example: hosts: localhost gather\_facts: false vars: q: ‘abc’ 123 tasks: debug: msg: \>- {{ q is search(‘abc\\t’) }} This returns false. I have tried different variations of the regex, but nothing worked…

---

## [removing dir or file](https://forum.ansible.com/t/removing-dir-or-file/36756)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 11:44am UTC](https://forum.ansible.com/t/removing-dir-or-file/36756 "2022-06-20T11:44:21Z")

</div>

Dear team, I’m try to deleting multiple files through ansible playbook… is this possible to take log for deleting file in the same playbook… Regards, shivu

---

## [Using Ansible builder created strange permissions](https://forum.ansible.com/t/using-ansible-builder-created-strange-permissions/36754)

<div class="topic-metadata">

**Author:** [@Maik\_Brauer](https://forum.ansible.com/u/Maik_Brauer)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 7:55am UTC](https://forum.ansible.com/t/using-ansible-builder-created-strange-permissions/36754 "2022-06-20T07:55:34Z")

</div>

Hello, after doing an “ansible-builder build --tag ansible-runner-dev:latest” container will start building. But some stuff which I put inside the “execution-environment.yml” can’t be installed, as for example the /tmp …

---

## [Ansible galaxy Role](https://forum.ansible.com/t/ansible-galaxy-role/36751)

<div class="topic-metadata">

**Author:** [@Mahdi\_Idriss](https://forum.ansible.com/u/Mahdi_Idriss)\
**Replies:** 7\
**Last updated:** [June 18, 2022, 4:56pm UTC](https://forum.ansible.com/t/ansible-galaxy-role/36751 "2022-06-18T16:56:57Z")

</div>

Hello Mates, i have a question regarding ansible galaxy roles: i want to create a playbook that runs on hosts using balancer role, and this role create service to load balance web server requests between hosts in the web…

---

## [Auto scaling AWX on EKS](https://forum.ansible.com/t/auto-scaling-awx-on-eks/36744)

<div class="topic-metadata">

**Author:** [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Replies:** 3\
**Last updated:** [June 17, 2022, 8:36pm UTC](https://forum.ansible.com/t/auto-scaling-awx-on-eks/36744 "2022-06-17T20:36:28Z")

</div>

Hi Team, We deployed AWX on EKS. Configured cluster auto scaler, hpa(pod auto scaler). When we increase replica count, pods are failing with insufficient cpu. Nodes are not auto scaling. Nodes are not getting added. M…

---

## [AWX 21.0  - unable to locate collection community.general](https://forum.ansible.com/t/awx-21-0-unable-to-locate-collection-community-general/36749)

<div class="topic-metadata">

**Author:** [@RAJ\_SPEED](https://forum.ansible.com/u/RAJ_SPEED)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 4:50pm UTC](https://forum.ansible.com/t/awx-21-0-unable-to-locate-collection-community-general/36749 "2022-06-17T16:50:13Z")

</div>

Hi All, Whenever I executed my job. awx is failing to install new modules or detect requirements.yml I tried using projects/collections/requirements.yml , inside my playbook & even tried to mention as below in mail.ym…

---

## [File date/time stamps](https://forum.ansible.com/t/file-date-time-stamps/36748)

<div class="topic-metadata">

**Author:** [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 12:24pm UTC](https://forum.ansible.com/t/file-date-time-stamps/36748 "2022-06-17T12:24:23Z")

</div>

Hi. I have a generic question about ansible, and the way it manages files on target (managed) systems. They're all Linux systems. I'm working in an environment where a colleague is running ansible scripts to manage …

---

## [AWX - Could not find imported module support code for community.vmware (AWX -13.0)](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659)

<div class="topic-metadata">

**Author:** [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Replies:** 9\
**Last updated:** [June 17, 2022, 10:48am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659 "2022-06-17T10:48:28Z")

</div>

We are receiving a failed message while executing job template in AWX (13.0) to connect VMware Vcenters, as per our initial observation this failed error message is receiving when unable to find module “community.vmware.…

---

## [Job output/logs stopped](https://forum.ansible.com/t/job-output-logs-stopped/36685)

<div class="topic-metadata">

**Author:** [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Replies:** 4\
**Last updated:** [June 17, 2022, 8:14am UTC](https://forum.ansible.com/t/job-output-logs-stopped/36685 "2022-06-17T08:14:47Z")

</div>

Hello, We have deployed AWX on EKS. When 500 Jobs are triggered to do scalability test, it stopped giving output. Jobs were running successfully but there was no output Every job output has “This job has no logs” wond…

---

## [interprete\_python error..](https://forum.ansible.com/t/interprete-python-error/36746)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 7:30am UTC](https://forum.ansible.com/t/interprete-python-error/36746 "2022-06-17T07:30:40Z")

</div>

Hi team, I’m traying to install python modules… during execute facing below error… please help me out… An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No mo…

---

## [Append new key value pair with correct indentation in yml file](https://forum.ansible.com/t/append-new-key-value-pair-with-correct-indentation-in-yml-file/36735)

<div class="topic-metadata">

**Author:** [@Shivani\_Arora](https://forum.ansible.com/u/Shivani_Arora)\
**Replies:** 6\
**Last updated:** [June 17, 2022, 3:25am UTC](https://forum.ansible.com/t/append-new-key-value-pair-with-correct-indentation-in-yml-file/36735 "2022-06-17T03:25:25Z")

</div>

Hi, I’m trying to append new key-value pair in the existing yml (subcluster\_to\_subnet\_map.yml) file using combine. New values are getting appended correctly but it’s getting added without spaces. I need help with addin…

---

## [How to manage ansible-playbook output in jenkins.](https://forum.ansible.com/t/how-to-manage-ansible-playbook-output-in-jenkins/36745)

<div class="topic-metadata">

**Author:** [@Leandro\_Montesoro](https://forum.ansible.com/u/Leandro_Montesoro)\
**Replies:** 0\
**Last updated:** [June 16, 2022, 4:06pm UTC](https://forum.ansible.com/t/how-to-manage-ansible-playbook-output-in-jenkins/36745 "2022-06-16T16:06:14Z")

</div>

Hi! I have a Jenkins job running an ansible playbook. I need to extract and analyze the console output to make a report (csv for example) of the “PLAY RECAP” part where I am interested in collecting the failed records “…

---

## [What is a minimum Kubernetes version for AWX operator?](https://forum.ansible.com/t/what-is-a-minimum-kubernetes-version-for-awx-operator/36741)

<div class="topic-metadata">

**Author:** [@Fedor\_Rubalskiy](https://forum.ansible.com/u/Fedor_Rubalskiy)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 8:56am UTC](https://forum.ansible.com/t/what-is-a-minimum-kubernetes-version-for-awx-operator/36741 "2022-06-16T08:56:36Z")

</div>

Hi, We are running quite old kubernetes cluster 17.4 in our company (I know it is old). I was looking into deploying AWX via operator, however I couldn’t find any mention on the required kubernetes version in the AWX do…

---

## [Creation date playbook with correct json query in yml file](https://forum.ansible.com/t/creation-date-playbook-with-correct-json-query-in-yml-file/36739)

<div class="topic-metadata">

**Author:** [@Nipun\_Jain](https://forum.ansible.com/u/Nipun_Jain)\
**Replies:** 5\
**Last updated:** [June 16, 2022, 8:52am UTC](https://forum.ansible.com/t/creation-date-playbook-with-correct-json-query-in-yml-file/36739 "2022-06-16T08:52:24Z")

</div>

Hi, I am trying to fetch the json data from ami info in the existing yml using ansible.Now i am getting errors regarding json query format in number expression. I need help with proper json query under set fact so that…

---

## [What awx releases match what awx-operator releases ?](https://forum.ansible.com/t/what-awx-releases-match-what-awx-operator-releases/36743)

<div class="topic-metadata">

**Author:** [@Jan\_Goyvaerts](https://forum.ansible.com/u/Jan_Goyvaerts)\
**Replies:** 4\
**Last updated:** [June 16, 2022, 6:57am UTC](https://forum.ansible.com/t/what-awx-releases-match-what-awx-operator-releases/36743 "2022-06-16T06:57:18Z")

</div>

Hello Community, If I’m not mistaken, each awx-operator release has a default awx release. Is there a way to find out - upfront - what the default awx release is of an awx-operator release ? I’m new to awx-operator, so…

---

## [ssh issue over non root account](https://forum.ansible.com/t/ssh-issue-over-non-root-account/36742)

<div class="topic-metadata">

**Author:** [@Orkhan\_Mammadov](https://forum.ansible.com/u/Orkhan_Mammadov)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 6:49am UTC](https://forum.ansible.com/t/ssh-issue-over-non-root-account/36742 "2022-06-16T06:49:25Z")

</div>

Hi guys, I have issue with connecting over ssh to other machine using non root account. First of all, I create new fresh non root user. When I try to ssh , it gives permission denied message. Then I created key pairs us…

---

## [AWX - Could not find imported module support code for community.vmware (AWX -13.0)](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36695)

<div class="topic-metadata">

**Author:** [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 6:12am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36695 "2022-06-16T06:12:20Z")

</div>

We are using virtual environment in AWX 13 and its running with “python3.6” & Dev AWX execution environment is “AWX EE 0.5.0” We are receiving a failed message while executing job template in AWX (13.0) to connect VMwar…

---

## [How to convert a dictionary to a list of dictionaries](https://forum.ansible.com/t/how-to-convert-a-dictionary-to-a-list-of-dictionaries/36733)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 6\
**Last updated:** [June 15, 2022, 2:31pm UTC](https://forum.ansible.com/t/how-to-convert-a-dictionary-to-a-list-of-dictionaries/36733 "2022-06-15T14:31:38Z")

</div>

I’m faced with a corner case where some devices are expected to return a list of dictionaries but instead return a single dictionary. This creates an error later on in ansible when a list is expected. For instance, the …

---

## [About the vmware\_vm\_shell module, cant activate eth0 via ip command](https://forum.ansible.com/t/about-the-vmware-vm-shell-module-cant-activate-eth0-via-ip-command/36740)

<div class="topic-metadata">

**Author:** [@Jeff\_S](https://forum.ansible.com/u/Jeff_S)\
**Replies:** 5\
**Last updated:** [June 15, 2022, 1:54pm UTC](https://forum.ansible.com/t/about-the-vmware-vm-shell-module-cant-activate-eth0-via-ip-command/36740 "2022-06-15T13:54:11Z")

</div>

Hello I am currently preparing a playbook for installing and configuring HAProxy on a vmware VM, everything works so far, but i have a problem for managing the VM via ssh, as i cant turn up the network interface eth0, t…

---

## [data conversion question](https://forum.ansible.com/t/data-conversion-question/36737)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 5\
**Last updated:** [June 15, 2022, 8:02am UTC](https://forum.ansible.com/t/data-conversion-question/36737 "2022-06-15T08:02:11Z")

</div>

Hello, I’ve got a list variable that looks like this list: name: n1 group: g1 name: n2 group: g1 name: c1 group: g2 etc… in my config file, this should become: g1: n1,n2 g2: c1 etc… how can this be done?

[Previous page](https://forum.ansible.com/latest.md?page=246)

[Next page](https://forum.ansible.com/latest.md?page=248)
