# Latest

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

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

**Page:** 277

---

## [Bash to ansible](https://forum.ansible.com/t/bash-to-ansible/35895)

<div class="topic-metadata">

**Author:** [@Mario\_Procopio](https://forum.ansible.com/u/Mario_Procopio)\
**Replies:** 1\
**Last updated:** [October 19, 2021, 4:43am UTC](https://forum.ansible.com/t/bash-to-ansible/35895 "2021-10-19T04:43:42Z")

</div>

Hi there. I’m trying to use ansible to automate standard controls on redhat servers, I have several bash scripts that I currently run locally on each server so I can control them. Script in bash today=date host=ho…

---

## [AWX validate encrypted credentials](https://forum.ansible.com/t/awx-validate-encrypted-credentials/35894)

<div class="topic-metadata">

**Author:** [@blachtiger](https://forum.ansible.com/u/blachtiger)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 4:55pm UTC](https://forum.ansible.com/t/awx-validate-encrypted-credentials/35894 "2021-10-18T16:55:44Z")

</div>

Hi, is it possible to validate AWX organization credentials? In a role i want to check if a credential exists. If not then i want to create them. Thats easy but if this credential exists i want to compare the username a…

---

## [DNS module](https://forum.ansible.com/t/dns-module/35893)

<div class="topic-metadata">

**Author:** [@fahad.riaz1718](https://forum.ansible.com/u/fahad.riaz1718)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 4:42pm UTC](https://forum.ansible.com/t/dns-module/35893 "2021-10-18T16:42:25Z")

</div>

All, I am working on a conversion of a puppet module to ansible playbook but I’m having hard time understanding what the module is doing and how can I convert this over to playbook. Any suggestions or help is appreciat…

---

## [New release candidates: ansible-core 2.12.0rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-0rc1/35892)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 3:35pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-0rc1/35892 "2021-10-18T15:35:00Z")

</div>

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

---

## [windows patching playbook](https://forum.ansible.com/t/windows-patching-playbook/34828)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [October 18, 2021, 3:21pm UTC](https://forum.ansible.com/t/windows-patching-playbook/34828 "2021-10-18T15:21:15Z")

</div>

i need a windows patching playbook to patch mostly windows servers need to install al critical and security updates and auto reboot also need a report status back on which host failed or what was installed and not inst…

---

## [Help needed to alter my code to achieve when condition in loop in stdout](https://forum.ansible.com/t/help-needed-to-alter-my-code-to-achieve-when-condition-in-loop-in-stdout/35891)

<div class="topic-metadata">

**Author:** [@Hareesh\_Vn](https://forum.ansible.com/u/Hareesh_Vn)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 3:04pm UTC](https://forum.ansible.com/t/help-needed-to-alter-my-code-to-achieve-when-condition-in-loop-in-stdout/35891 "2021-10-18T15:04:38Z")

</div>

Hi Team I am installing Mongo on n number of nodes. I have written ansible code for it and its working. When it comes to beatification, like Pass the result of installation to variable (example: result). So this resu…

---

## [installing postgresql -- permission problem with initdb](https://forum.ansible.com/t/installing-postgresql-permission-problem-with-initdb/35886)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [October 18, 2021, 2:37pm UTC](https://forum.ansible.com/t/installing-postgresql-permission-problem-with-initdb/35886 "2021-10-18T14:37:09Z")

</div>

I have a task to create an initial postgres databa (initdb) in a playbook installing postgresql from a tar.gz archive on a centos7 target

---

## [New release beta: ansible-core 2.12.0b2](https://forum.ansible.com/t/new-release-beta-ansible-core-2-12-0b2/35847)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 1:39pm UTC](https://forum.ansible.com/t/new-release-beta-ansible-core-2-12-0b2/35847 "2021-10-18T13:39:36Z")

</div>

Hi all- we’re happy to announce the beta release of: ansible-core 2.12.0b2 How to get it

---

## [AWX docker images build error for Kubernetes](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 5\
**Last updated:** [October 18, 2021, 12:35pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393 "2021-10-18T12:35:35Z")

</div>

Hi, I am running into following error during ‘Build AWX distribution using container’ step, kind of lost here since we do have npm and nodeJS installed on the server where I am running this playbook. Note that we don’t …

---

## [Need info on the commands used by ios\_facts module](https://forum.ansible.com/t/need-info-on-the-commands-used-by-ios-facts-module/35868)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 8:26am UTC](https://forum.ansible.com/t/need-info-on-the-commands-used-by-ios-facts-module/35868 "2021-10-18T08:26:55Z")

</div>

We plan to do ios upgrade and I am using ios\_facts module to compare/manipulate info. There is a team to which we have given limited access to network devices and need to know what command does ios\_facts module execute …

---

## [AWX 19.4 architecture design components and docs](https://forum.ansible.com/t/awx-19-4-architecture-design-components-and-docs/35888)

<div class="topic-metadata">

**Author:** [@Bruno\_Carvalho](https://forum.ansible.com/u/Bruno_Carvalho)\
**Replies:** 0\
**Last updated:** [October 17, 2021, 7:15pm UTC](https://forum.ansible.com/t/awx-19-4-architecture-design-components-and-docs/35888 "2021-10-17T19:15:07Z")

</div>

Hello team, does anyone have the new AWX 19.4 architecture design with receiver or can you tell where to find it? Tks, Bruno Carvalho

---

## [tell 'service' module to continue with playbook, if service isn't found](https://forum.ansible.com/t/tell-service-module-to-continue-with-playbook-if-service-isnt-found/35878)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 12\
**Last updated:** [October 17, 2021, 5:34pm UTC](https://forum.ansible.com/t/tell-service-module-to-continue-with-playbook-if-service-isnt-found/35878 "2021-10-17T17:34:21Z")

</div>

I am trying to install postgresql via a playbook and want to make sure the service is not running prior installation on the target (rhel7/8 & debian10) machines. However my task below name: stop postgresql.service fro…

---

## [Reconciler error during awx-operator upgrade from 0.9.0 to 0.13.0](https://forum.ansible.com/t/reconciler-error-during-awx-operator-upgrade-from-0-9-0-to-0-13-0/35887)

<div class="topic-metadata">

**Author:** [@Lukas\_Kubin](https://forum.ansible.com/u/Lukas_Kubin)\
**Replies:** 0\
**Last updated:** [October 17, 2021, 4:11pm UTC](https://forum.ansible.com/t/reconciler-error-during-awx-operator-upgrade-from-0-9-0-to-0-13-0/35887 "2021-10-17T16:11:28Z")

</div>

Hello, I’m trying to upgrade my awx instance by updating awx-operator from 0.9 to 0.13. It’s failing with “Reconciler error” in operator log: {“level”:“error”,“ts”:1634480950.618683,“logger”:“controller-runtime.control…

---

## [apt autoclean/autoremove not working?](https://forum.ansible.com/t/apt-autoclean-autoremove-not-working/35885)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 7:28am UTC](https://forum.ansible.com/t/apt-autoclean-autoremove-not-working/35885 "2021-10-17T07:28:56Z")

</div>

Hii On my Debian (11) systems I end up having many deb files in /var/cache/apt/archives, and I’m trying to get the apt module to clean those up at the end of a playbook. But I can’t get this to work using the documente…

---

## [How to apply/run playbook target at a specific group of machines in the ini-style inventory](https://forum.ansible.com/t/how-to-apply-run-playbook-target-at-a-specific-group-of-machines-in-the-ini-style-inventory/35884)

<div class="topic-metadata">

**Author:** [@James\_Ngo](https://forum.ansible.com/u/James_Ngo)\
**Replies:** 5\
**Last updated:** [October 16, 2021, 9:18pm UTC](https://forum.ansible.com/t/how-to-apply-run-playbook-target-at-a-specific-group-of-machines-in-the-ini-style-inventory/35884 "2021-10-16T21:18:03Z")

</div>

Hello everyone, I am a pretty new face to Ansible. I can follow instruction pretty good however, I need your help with the following scenario. I created an .INI style inventory file called “hosts”, with basically categ…

---

## [reload command not working properly for asa\_command module](https://forum.ansible.com/t/reload-command-not-working-properly-for-asa-command-module/35883)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [October 16, 2021, 7:27am UTC](https://forum.ansible.com/t/reload-command-not-working-properly-for-asa-command-module/35883 "2021-10-16T07:27:45Z")

</div>

I wrote below script to reload ASA firewall. The script reloads ASA firewall but the fact that reload has happened does not get passed back to ansible. So the script waits forever until command\_timeout occurs. I tried so…

---

## [Variables containing -](https://forum.ansible.com/t/variables-containing/35882)

<div class="topic-metadata">

**Author:** [@Anil\_Kommareddy](https://forum.ansible.com/u/Anil_Kommareddy)\
**Replies:** 0\
**Last updated:** [October 16, 2021, 6:57am UTC](https://forum.ansible.com/t/variables-containing/35882 "2021-10-16T06:57:42Z")

</div>

Hi All, I am retrieving data from storage array. The results are in json format. These results contain variables with “-” i.e. minus symbol in their names. When I try to access data in those variables, I get an error “M…

---

## [Issue ----  Module Failure\\nSee stdout/stderr](https://forum.ansible.com/t/issue-module-failure-nsee-stdout-stderr/35875)

<div class="topic-metadata">

**Author:** [@Abhijot\_Singh\_Kathur](https://forum.ansible.com/u/Abhijot_Singh_Kathur)\
**Replies:** 7\
**Last updated:** [October 15, 2021, 8:27pm UTC](https://forum.ansible.com/t/issue-module-failure-nsee-stdout-stderr/35875 "2021-10-15T20:27:22Z")

</div>

Hey Guys, I need some assistance on the below error. I’ve tried everything but I’m not able to resolve the same. TASK \[Join to Domain\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Using the group w/o a Gmail address?](https://forum.ansible.com/t/using-the-group-w-o-a-gmail-address/35881)

<div class="topic-metadata">

**Author:** [@Vincent\_Rubiolo](https://forum.ansible.com/u/Vincent_Rubiolo)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 3:56pm UTC](https://forum.ansible.com/t/using-the-group-w-o-a-gmail-address/35881 "2021-10-15T15:56:23Z")

</div>

Hi everyone, Just a question as I have been having many issues trying to send messages to this group w/o using a Gmail address. I am able to subscribe to the group using an alternate email adress (my work email, which …

---

## [Is it possible to pass extra variables via a file?](https://forum.ansible.com/t/is-it-possible-to-pass-extra-variables-via-a-file/35877)

<div class="topic-metadata">

**Author:** [@Vincent\_Rubiolo](https://forum.ansible.com/u/Vincent_Rubiolo)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 1:58pm UTC](https://forum.ansible.com/t/is-it-possible-to-pass-extra-variables-via-a-file/35877 "2021-10-15T13:58:19Z")

</div>

Greetings everyone, I am ramping up on AWX and find it great so far. The UI is clean and I can see there was a lot of thought to map on how Ansible is run across organizations. I am using Ansible to deploy infrastructu…

---

## [Template expansion](https://forum.ansible.com/t/template-expansion/35880)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 12:54pm UTC](https://forum.ansible.com/t/template-expansion/35880 "2021-10-15T12:54:30Z")

</div>

When you use the template module, where does it do all the jinjaness (variable expansion, loop, etc): in the host you are running ansible from (server?) or the one you are applying it to (client)?

---

## [Get network name as group while sync vcenter inventory](https://forum.ansible.com/t/get-network-name-as-group-while-sync-vcenter-inventory/35879)

<div class="topic-metadata">

**Author:** [@Louise\_Elie](https://forum.ansible.com/u/Louise_Elie)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 9:56am UTC](https://forum.ansible.com/t/get-network-name-as-group-while-sync-vcenter-inventory/35879 "2021-10-15T09:56:45Z")

</div>

Hello ! I would like to add hosts in a group according to the network name. I modified the vmware\_vm\_incentory.py file to add guest.net as properties. Problem is, I’m having trouble adding only a specific variable fro…

---

## [\[AWX 19.3.0\] Playbook2 can not find the fetched file by Playbook1](https://forum.ansible.com/t/awx-19-3-0-playbook2-can-not-find-the-fetched-file-by-playbook1/35866)

<div class="topic-metadata">

**Author:** [@Robyn\_Yang](https://forum.ansible.com/u/Robyn_Yang)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 6:45am UTC](https://forum.ansible.com/t/awx-19-3-0-playbook2-can-not-find-the-fetched-file-by-playbook1/35866 "2021-10-15T06:45:02Z")

</div>

I want to have a workflow job template which links 2 job templates. Each job template launch a playbook: playbook1 is used to fetch a file from remote host and save it to local path, such as “/tmp/remote\_file.txt”. playb…

---

## [ca\_path in play and EE container](https://forum.ansible.com/t/ca-path-in-play-and-ee-container/35830)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 6\
**Last updated:** [October 15, 2021, 3:27am UTC](https://forum.ansible.com/t/ca-path-in-play-and-ee-container/35830 "2021-10-15T03:27:50Z")

</div>

We’re making a GET call using uri module and passing CA certificate using ca\_path value. For some reason we’re randomly seeing following error for that play/job run in AWX 19.2.2. “Status code was -1 and not \[200\]: Con…

---

## [the task includes an option with an undefined variable. The error was: 'dict object' has no attribute](https://forum.ansible.com/t/the-task-includes-an-option-with-an-undefined-variable-the-error-was-dict-object-has-no-attribute/35876)

<div class="topic-metadata">

**Author:** [@Bariou\_Alarou](https://forum.ansible.com/u/Bariou_Alarou)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 12:35am UTC](https://forum.ansible.com/t/the-task-includes-an-option-with-an-undefined-variable-the-error-was-dict-object-has-no-attribute/35876 "2021-10-15T00:35:54Z")

</div>

Hello Team, I have spent a lot of time trying troubleshoot this issue. I have a roles with defined variable This is inside defaults/main.yml nessus\_agent\_package: redhat7: al2: ./files/NessusAgent-8.3.1-amzn.x86\_64…

---

## [New releases: ansible-core 2.11.6, ansible-base 2.10.15, ansible 2.9.27](https://forum.ansible.com/t/new-releases-ansible-core-2-11-6-ansible-base-2-10-15-ansible-2-9-27/35874)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 8:27pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-11-6-ansible-base-2-10-15-ansible-2-9-27/35874 "2021-10-14T20:27:16Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.11.6 ansible-base 2.10.15 ansible 2.9.27 How to get it

---

## [Expanding Git service webhook support](https://forum.ansible.com/t/expanding-git-service-webhook-support/35873)

<div class="topic-metadata">

**Author:** [@Philip\_Douglass](https://forum.ansible.com/u/Philip_Douglass)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 7:27pm UTC](https://forum.ansible.com/t/expanding-git-service-webhook-support/35873 "2021-10-14T19:27:40Z")

</div>

Currently AWX only supports GitHub and GitLab as incoming webhooks for triggering Job Templates. There are several open unassigned requests for expanding this to other services: Add support for Webhooks from Gitea #58…

---

## [Provisioning Callback - Prompt For Inventory](https://forum.ansible.com/t/provisioning-callback-prompt-for-inventory/35872)

<div class="topic-metadata">

**Author:** [@Paul\_Manno](https://forum.ansible.com/u/Paul_Manno)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 6:29pm UTC](https://forum.ansible.com/t/provisioning-callback-prompt-for-inventory/35872 "2021-10-14T18:29:32Z")

</div>

Hello, My AWX deployment has multiple inventories for different environments. I’m wondering if I can pass an inventory ID in the POST data to a provisioning callback to have it use the inventory specified so I don’t hav…

---

## [Listing installed packages](https://forum.ansible.com/t/listing-installed-packages/35871)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 2\
**Last updated:** [October 14, 2021, 5:54pm UTC](https://forum.ansible.com/t/listing-installed-packages/35871 "2021-10-14T17:54:04Z")

</div>

I know I can use the package\_facts module to retrieve a list of installed packages, but I’m having trouble formatting these. I’d like to format it similar to the following: Package: Version: Currently I’m doing the f…

---

## [AWX on k8s, disable ldap ssl check](https://forum.ansible.com/t/awx-on-k8s-disable-ldap-ssl-check/35870)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 2:02pm UTC](https://forum.ansible.com/t/awx-on-k8s-disable-ldap-ssl-check/35870 "2021-10-14T14:02:54Z")

</div>

Hello! I trying to integrate freshly installed AWX (K3s, Operator 0.14.0, AWX 19.4 ) with AD, added custom CA (exported from the AD server) and bundle via ldap\_cacert\_secret / bundle\_cacert\_secret and: web\_extra\_env: | …

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

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