# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=75

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

**Page:** 76

---

## [New releases: ansible-core 2.11.1, ansible-base 2.10.10, ansible 2.9.22](https://forum.ansible.com/t/new-releases-ansible-core-2-11-1-ansible-base-2-10-10-ansible-2-9-22/35221)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [May 25, 2021, 4:12am UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-11-1-ansible-base-2-10-10-ansible-2-9-22/35221 "2021-05-25T04:12:29Z")

</div>

Hi all- we're happy to announce that the following general releases are now available: - ansible-core 2.11.1 - ansible-base 2.10.10 - ansible 2.9.22 How to get them

---

## [list and update lxc containers with ansible?](https://forum.ansible.com/t/list-and-update-lxc-containers-with-ansible/35220)

<div class="topic-metadata">

**Author:** [@Robert2](https://forum.ansible.com/u/Robert2)\
**Replies:** 2\
**Last updated:** [May 24, 2021, 4:59pm UTC](https://forum.ansible.com/t/list-and-update-lxc-containers-with-ansible/35220 "2021-05-24T16:59:35Z")

</div>

I see a lot of modules that will create, start, stop lxc containers, but none seem to be able to provide a solution to list containers on a host or update them. Has anyone found a module to do this other than using the c…

---

## [Reading custom values from ansible.cfg in an action plugin](https://forum.ansible.com/t/reading-custom-values-from-ansible-cfg-in-an-action-plugin/35216)

<div class="topic-metadata">

**Author:** [@Richard\_Gration](https://forum.ansible.com/u/Richard_Gration)\
**Replies:** 1\
**Last updated:** [May 24, 2021, 1:48pm UTC](https://forum.ansible.com/t/reading-custom-values-from-ansible-cfg-in-an-action-plugin/35216 "2021-05-24T13:48:43Z")

</div>

Hi group! I wrote a custom inventory plugin and defined a bunch of custom options in the DOCUMENTATION string, for example approle\_role\_id: description: Vault approle role\_id. env: name: VAULT\_APPROLE\_ROLE\_ID ini: …

---

## [Parsing json files with ansible](https://forum.ansible.com/t/parsing-json-files-with-ansible/35198)

<div class="topic-metadata">

**Author:** [@Rodrigues](https://forum.ansible.com/u/Rodrigues)\
**Replies:** 7\
**Last updated:** [May 24, 2021, 1:06pm UTC](https://forum.ansible.com/t/parsing-json-files-with-ansible/35198 "2021-05-24T13:06:51Z")

</div>

I’m trying to parse the json output of a VMware DVSwitch which i’ve extracted using Ansible module community.vmware.vmware\_dvs\_portgroup\_info using this role, however i can’t seem to get to the portgroups, can only disp…

---

## [vSphere datastore multipath Info](https://forum.ansible.com/t/vsphere-datastore-multipath-info/35217)

<div class="topic-metadata">

**Author:** [@Sundeep\_vemula](https://forum.ansible.com/u/Sundeep_vemula)\
**Replies:** 0\
**Last updated:** [May 24, 2021, 12:49pm UTC](https://forum.ansible.com/t/vsphere-datastore-multipath-info/35217 "2021-05-24T12:49:35Z")

</div>

How to get esxi datastore storage multi pathing information using ansible in csv format . …can this be achieved in ansible like powercli.

---

## [Cleaning up Links and References in Ansible Documentation](https://forum.ansible.com/t/cleaning-up-links-and-references-in-ansible-documentation/35215)

<div class="topic-metadata">

**Author:** [@gineesh](https://forum.ansible.com/u/gineesh)\
**Replies:** 5\
**Last updated:** [May 24, 2021, 10:04am UTC](https://forum.ansible.com/t/cleaning-up-links-and-references-in-ansible-documentation/35215 "2021-05-24T10:04:14Z")

</div>

Dear Team, Hope every one safe there. I would like to start some cleaning up on Ansible Documentation (https://docs.ansible.com/) where we have so many links pointing to unmaintained version of documentations. Eg: Pa…

---

## [Help on Conditionals - When](https://forum.ansible.com/t/help-on-conditionals-when/35212)

<div class="topic-metadata">

**Author:** [@Sanoop\_Karat](https://forum.ansible.com/u/Sanoop_Karat)\
**Replies:** 3\
**Last updated:** [May 24, 2021, 7:07am UTC](https://forum.ansible.com/t/help-on-conditionals-when/35212 "2021-05-24T07:07:12Z")

</div>

Dear Team, I have been trying to add conditionals for my tasks and roles. But, the one I entered for role is getting evaluated to true always and the one on the tasks are evaluated to false. Can you help on what needs…

---

## [module development - module.run\_command in functions](https://forum.ansible.com/t/module-development-module-run-command-in-functions/35209)

<div class="topic-metadata">

**Author:** [@Gabriel\_Machado](https://forum.ansible.com/u/Gabriel_Machado)\
**Replies:** 2\
**Last updated:** [May 23, 2021, 6:43pm UTC](https://forum.ansible.com/t/module-development-module-run-command-in-functions/35209 "2021-05-23T18:43:38Z")

</div>

Hi, I’m developping a module for linux with several functions. Most of the functions i develop need to launch binary executables. I know, the best practice is to use module.run\_command() function to launch commands. B…

---

## [postgresql\_query postgresql Module help](https://forum.ansible.com/t/postgresql-query-postgresql-module-help/35208)

<div class="topic-metadata">

**Author:** [@Pourab\_Bhattacharyya](https://forum.ansible.com/u/Pourab_Bhattacharyya)\
**Replies:** 1\
**Last updated:** [May 22, 2021, 6:54pm UTC](https://forum.ansible.com/t/postgresql-query-postgresql-module-help/35208 "2021-05-22T18:54:12Z")

</div>

Hi, I’m trying to database query by ansible postgresql\_query module. I’m using positional\_args parameter for dynamically sending database parameter value. This my ansible block: - set\_fact: joined\_ts\_list: |- {{ use…

---

## [Code execution depending on Tag Values](https://forum.ansible.com/t/code-execution-depending-on-tag-values/35204)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 2\
**Last updated:** [May 21, 2021, 5:45am UTC](https://forum.ansible.com/t/code-execution-depending-on-tag-values/35204 "2021-05-21T05:45:57Z")

</div>

Hello Anyone here can guide me on Ansible ? I have created a role for AEM(Adobe Experience Manager) Author and Publisher. They both have exact same instructions however as per role their variables do change. One server …

---

## [How to escape specific character](https://forum.ansible.com/t/how-to-escape-specific-character/35165)

<div class="topic-metadata">

**Author:** [@ystk\_hmsk](https://forum.ansible.com/u/ystk_hmsk)\
**Replies:** 8\
**Last updated:** [May 21, 2021, 2:52am UTC](https://forum.ansible.com/t/how-to-escape-specific-character/35165 "2021-05-21T02:52:55Z")

</div>

I’m using ansible tower. And I made workflow to install Oracle on the virtual server. The way to install oracle is … copy Oracle installer.exe file to the virtual server. make response file(install.rsp.j2 jinjer2…

---

## [Unable to run azure resource group creation playbook](https://forum.ansible.com/t/unable-to-run-azure-resource-group-creation-playbook/35199)

<div class="topic-metadata">

**Author:** [@Rajaniesh\_Kaushikk](https://forum.ansible.com/u/Rajaniesh_Kaushikk)\
**Replies:** 5\
**Last updated:** [May 21, 2021, 2:42am UTC](https://forum.ansible.com/t/unable-to-run-azure-resource-group-creation-playbook/35199 "2021-05-21T02:42:02Z")

</div>

Hi, I tried running the azure resource group creation playbook by following these steps given in the MS site:https://docs.microsoft.com/en-us/azure/developer/ansible/install-on-linux-vm?tabs=ansible#file-credentials bu…

---

## [Ansible Zpool Module](https://forum.ansible.com/t/ansible-zpool-module/35205)

<div class="topic-metadata">

**Author:** [@Robert\_Egloff](https://forum.ansible.com/u/Robert_Egloff)\
**Replies:** 0\
**Last updated:** [May 20, 2021, 8:08pm UTC](https://forum.ansible.com/t/ansible-zpool-module/35205 "2021-05-20T20:08:19Z")

</div>

I was looking around for a zpool module that would work with Solaris. I did find this and there appears to be one in development that was supposedly moved to the community collection, but I can’t seem to find anything. …

---

## [Reg: VMware Tools install using Ansible](https://forum.ansible.com/t/reg-vmware-tools-install-using-ansible/35193)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 3\
**Last updated:** [May 20, 2021, 1:41pm UTC](https://forum.ansible.com/t/reg-vmware-tools-install-using-ansible/35193 "2021-05-20T13:41:31Z")

</div>

Hello All, I have a requirement in which I have to install VMware tools on VMs i created on VSphere, as by default its not present when i am creating a VM. Is it possible using ansible or using any other script to inst…

---

## [Installation of LinPhone (.exe) in Windows environments.](https://forum.ansible.com/t/installation-of-linphone-exe-in-windows-environments/35196)

<div class="topic-metadata">

**Author:** [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 6:04am UTC](https://forum.ansible.com/t/installation-of-linphone-exe-in-windows-environments/35196 "2021-05-20T06:04:48Z")

</div>

Good afternoon group. I would like to know if it is different to install .exe software in Windows environments? There is an inventory of .msi software, I would like to know if there is something different in the invento…

---

## [Need assistance to check if config is present in certain order in router](https://forum.ansible.com/t/need-assistance-to-check-if-config-is-present-in-certain-order-in-router/35185)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 4\
**Last updated:** [May 20, 2021, 4:38am UTC](https://forum.ansible.com/t/need-assistance-to-check-if-config-is-present-in-certain-order-in-router/35185 "2021-05-20T04:38:33Z")

</div>

The output of ‘sh run | i boot’ shows 2 boot statements set in router. But i need to write a script which will check if ‘…9.16.12.04.SPA.bin’ is present specifically in 1st line followed by ‘…9.16.06.04.SPA.bin’ specific…

---

## [AWX Upgrade 14.1.0 to 17.0.1](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200)

<div class="topic-metadata">

**Author:** [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Replies:** 3\
**Last updated:** [May 20, 2021, 4:12am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200 "2021-05-20T04:12:03Z")

</div>

Hello, I’m trying to upgrade AWX 14.1.0 to 17.0.1. The upgrade is failing on the following tasks. when running the install.yml playbook. How can this be resolved? TASK \[local\_docker : Check for existing Postgres data …

---

## [HELP for Replace module regex](https://forum.ansible.com/t/help-for-replace-module-regex/35192)

<div class="topic-metadata">

**Author:** [@Manisha](https://forum.ansible.com/u/Manisha)\
**Replies:** 6\
**Last updated:** [May 19, 2021, 2:43pm UTC](https://forum.ansible.com/t/help-for-replace-module-regex/35192 "2021-05-19T14:43:10Z")

</div>

Hi All, I am try to figure out the regex exp that will catch a key in a yaml file but i am not getting the way to pass through. I hope that you expertise on this can help me. Problem Statement: I have a yaml file (whic…

---

## [How to print the CLI command with the command output](https://forum.ansible.com/t/how-to-print-the-cli-command-with-the-command-output/35189)

<div class="topic-metadata">

**Author:** [@Al\_Gabsi](https://forum.ansible.com/u/Al_Gabsi)\
**Replies:** 5\
**Last updated:** [May 19, 2021, 12:31pm UTC](https://forum.ansible.com/t/how-to-print-the-cli-command-with-the-command-output/35189 "2021-05-19T12:31:46Z")

</div>

Hello Everyone; Could you please guide me on how to be able to print the CLI command to the log file? For example, if I am backing up inventory, and I am using “show chassis hardware”, I would like to see something lik…

---

## [Complex process to generate template/lineinfile data?](https://forum.ansible.com/t/complex-process-to-generate-template-lineinfile-data/35172)

<div class="topic-metadata">

**Author:** [@Richard\_Hector](https://forum.ansible.com/u/Richard_Hector)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 4:56am UTC](https://forum.ansible.com/t/complex-process-to-generate-template-lineinfile-data/35172 "2021-05-19T04:56:43Z")

</div>

Hi all, Well, it's not really that complex, but seems complex to do within the constraints of ansible/jinja. My scenario is that I run dirvish to back up multiple containers on multiple hosts. The containers are backed…

---

## [Assert using Regex](https://forum.ansible.com/t/assert-using-regex/35170)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 11:00pm UTC](https://forum.ansible.com/t/assert-using-regex/35170 "2021-05-18T23:00:39Z")

</div>

Hello, I am able to do the assert using basic string check. But i am looking for a way to do using regex. example. i have register: result with below value “stdout\_lines”: \[ “microsoft (R) Windows Script Host Versio…

---

## [Ansible 4.0.0 final has been released!](https://forum.ansible.com/t/ansible-4-0-0-final-has-been-released/35190)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 8:38pm UTC](https://forum.ansible.com/t/ansible-4-0-0-final-has-been-released/35190 "2021-05-18T20:38:35Z")

</div>

Hi all, We're happy to announce that the ansible-4.0.0 package is now available! This update is based on the ansible-core-2.11.x package which is a major update from the one used by Ansible 3. Ansible 3 was based on…

---

## [short-circuit eval in templated string works only sometimes?](https://forum.ansible.com/t/short-circuit-eval-in-templated-string-works-only-sometimes/35173)

<div class="topic-metadata">

**Author:** [@Scott\_Mcdermott](https://forum.ansible.com/u/Scott_Mcdermott)\
**Replies:** 9\
**Last updated:** [May 18, 2021, 2:20pm UTC](https://forum.ansible.com/t/short-circuit-eval-in-templated-string-works-only-sometimes/35173 "2021-05-18T14:20:57Z")

</div>

Hello, why does short circuit only works for the first two cases: - hosts: localhost become: false vars: ivar: '{{hostvars\[inventory\_hostname\].dne}}' tasks: - debug: msg: "works: {{'foo' or d…

---

## [Ansible3.3.0](https://forum.ansible.com/t/ansible3-3-0/35038)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 12:07pm UTC](https://forum.ansible.com/t/ansible3-3-0/35038 "2021-05-18T12:07:48Z")

</div>

Hi all, We're happy to announce that the ansible-3.3.0 package was released on April 20! The update contains bugfixes and new, backwards compatible features in the contained collections. If you would like to learn ab…

---

## [Use Ansible for Patch Management](https://forum.ansible.com/t/use-ansible-for-patch-management/35181)

<div class="topic-metadata">

**Author:** [@siliii](https://forum.ansible.com/u/siliii)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 11:54am UTC](https://forum.ansible.com/t/use-ansible-for-patch-management/35181 "2021-05-18T11:54:42Z")

</div>

Hello Ansible community, I am new to the world of configuration management software (infrastructure as code). I currently manage a small Linux environment with 25 Linux servers and wanted to ask if there are any useful …

---

## [Request assistance to extract partial output using RegEx](https://forum.ansible.com/t/request-assistance-to-extract-partial-output-using-regex/35184)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 2:51am UTC](https://forum.ansible.com/t/request-assistance-to-extract-partial-output-using-regex/35184 "2021-05-18T02:51:51Z")

</div>

When i give ‘sh version | i System image’ in cisco router, it shows me below output. How do i extract only the image name - ‘isr4300-universalk9.16.12.01.SPA.bin’ from below output? ROUTER#sh version | i System imageSys…

---

## [HP ILO Firmware info](https://forum.ansible.com/t/hp-ilo-firmware-info/35180)

<div class="topic-metadata">

**Author:** [@NAVEEN](https://forum.ansible.com/u/NAVEEN)\
**Replies:** 5\
**Last updated:** [May 17, 2021, 6:00pm UTC](https://forum.ansible.com/t/hp-ilo-firmware-info/35180 "2021-05-17T18:00:22Z")

</div>

Hello Guys , Need help.Written code as below ,

---

## [Regardin MSSQL](https://forum.ansible.com/t/regardin-mssql/35179)

<div class="topic-metadata">

**Author:** [@karthik\_kumar1](https://forum.ansible.com/u/karthik_kumar1)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 4:39pm UTC](https://forum.ansible.com/t/regardin-mssql/35179 "2021-05-17T16:39:55Z")

</div>

Hello Team, Can Someone help me how to automate this? Ansible to take MSSQL database backup(windows). Thanks, Karthik

---

## [python 'requests' module installed but ansible doesnt think it is](https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 1\
**Last updated:** [May 17, 2021, 4:24pm UTC](https://forum.ansible.com/t/python-requests-module-installed-but-ansible-doesnt-think-it-is/34692 "2021-05-17T16:24:05Z")

</div>

Hi all - Im trying to get community.vmware.plugins.inventory.vmware\_vm\_inventory working, but when I try to parse a yml inventory referencing the plugin I get the following error: \[WARNING\]: \* Failed to parse /home/use…

---

## [Ansible raw module ASA](https://forum.ansible.com/t/ansible-raw-module-asa/35149)

<div class="topic-metadata">

**Author:** [@A\_J\_Nemeth](https://forum.ansible.com/u/A_J_Nemeth)\
**Replies:** 3\
**Last updated:** [May 17, 2021, 2:28pm UTC](https://forum.ansible.com/t/ansible-raw-module-asa/35149 "2021-05-17T14:28:48Z")

</div>

Good Morning, I have been trying for months to get Ansible raw module and playbooks to work with Cisco ASAs. Finally after burning down my Ansible platforms and building new linux platforms I made some progress. I had t…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=74)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=76)
