# Archives

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

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

**Page:** 102

---

## [ASA\_command module freezes for no apparent reason](https://forum.ansible.com/t/asa-command-module-freezes-for-no-apparent-reason/35913)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 7:51pm UTC](https://forum.ansible.com/t/asa-command-module-freezes-for-no-apparent-reason/35913 "2021-10-23T19:51:06Z")

</div>

Hi, I have a written a script to do IOS upgrade of active-standby ASA firewall. Script first upgrades standby firewall and does post-upgrade verification and then switches to active firewall to upgrade it (multiple play…

---

## [kerberos: Bad HTTP response returned from server. Code 500](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 10:28pm UTC](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801 "2021-10-22T22:28:27Z")

</div>

Good evening All I am facing a small issue, could you please let me out This works if i allow unencrypted is true : Set-Item -Path WSMan:\\localhost\\Service\\AllowUnencrypted -Value true Error: fatal: \[win-client-01.adc…

---

## [one email for multiple hosts](https://forum.ansible.com/t/one-email-for-multiple-hosts/35863)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 12\
**Last updated:** [October 22, 2021, 6:17pm UTC](https://forum.ansible.com/t/one-email-for-multiple-hosts/35863 "2021-10-22T18:17:23Z")

</div>

Hi All, I am trying to send one email to team after job is successfully completed. Issue is playbook sending (if inventory have 100 servers ). It is sending 100 emails. I tried in my code: delegate\_to: localhost and ru…

---

## [Ansible not installing the windows update](https://forum.ansible.com/t/ansible-not-installing-the-windows-update/35910)

<div class="topic-metadata">

**Author:** [@Lucky\_Lakshman](https://forum.ansible.com/u/Lucky_Lakshman)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 1:12pm UTC](https://forum.ansible.com/t/ansible-not-installing-the-windows-update/35910 "2021-10-22T13:12:05Z")

</div>

Hello, I have used the below yaml file. The file is getting executing but the installation is not going on. hosts: win tasks: name: Return list of found updates and log to C:\\WinUpdates.txt win\_updates: category\_na…

---

## [mapping values are not allowed in this context](https://forum.ansible.com/t/mapping-values-are-not-allowed-in-this-context/35909)

<div class="topic-metadata">

**Author:** [@Yanni\_G](https://forum.ansible.com/u/Yanni_G)\
**Replies:** 0\
**Last updated:** [October 22, 2021, 10:44am UTC](https://forum.ansible.com/t/mapping-values-are-not-allowed-in-this-context/35909 "2021-10-22T10:44:15Z")

</div>

Hello everyone I had a small task that used to work fine but suddenly it gives me errors. FAILED! =\> {“msg”: “The conditional check ‘ACTION == "install"’ failed. The error was: error while evaluating conditional (ACTIO…

---

## [Determining the primary IP address](https://forum.ansible.com/t/determining-the-primary-ip-address/35908)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 3\
**Last updated:** [October 22, 2021, 1:50am UTC](https://forum.ansible.com/t/determining-the-primary-ip-address/35908 "2021-10-22T01:50:53Z")

</div>

Good afternoon. I have this snippet of code, that sets a proxy variable if the default ipv4 IP address is in 10 net space. I had read somewhere that using the ansible\_default\_ipv4 fact, wasn’t always reliable. So is the…

---

## [Playbook Variable and Jinja 2 -- Namespace Problem?](https://forum.ansible.com/t/playbook-variable-and-jinja-2-namespace-problem/35905)

<div class="topic-metadata">

**Author:** [@John-Paul\_Pagano](https://forum.ansible.com/u/John-Paul_Pagano)\
**Replies:** 4\
**Last updated:** [October 21, 2021, 12:18am UTC](https://forum.ansible.com/t/playbook-variable-and-jinja-2-namespace-problem/35905 "2021-10-21T00:18:47Z")

</div>

ansible-playbook \[core 2.11.5\] python version = 3.9.7 (default, Sep 3 2021, 12:45:31) \[Clang 12.0.0 (clang-1200.0.32.29)\] jinja version = 2.11.3 Hi, I’m trying to write a play that will connect to a managed Windows n…

---

## [how to run a shell command within a playbook repeatedly](https://forum.ansible.com/t/how-to-run-a-shell-command-within-a-playbook-repeatedly/35901)

<div class="topic-metadata">

**Author:** [@Hareesh\_Vn](https://forum.ansible.com/u/Hareesh_Vn)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 12:07am UTC](https://forum.ansible.com/t/how-to-run-a-shell-command-within-a-playbook-repeatedly/35901 "2021-10-21T00:07:18Z")

</div>

Hi Team Below is problem description on which i need help. I am adding single mongo db shards by running below shell command – this is working fine to install on one server name: “Creating the database” command: “sh…

---

## [ansible email and template](https://forum.ansible.com/t/ansible-email-and-template/35906)

<div class="topic-metadata">

**Author:** [@Mahesh\_Nalavade](https://forum.ansible.com/u/Mahesh_Nalavade)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 6:29pm UTC](https://forum.ansible.com/t/ansible-email-and-template/35906 "2021-10-20T18:29:35Z")

</div>

Hi All, I am trying to send email in html but email body display the same html file. Playbook: (attachments)

---

## [package TASK ... 'should be run under the root user'](https://forum.ansible.com/t/package-task-should-be-run-under-the-root-user/35904)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 5\
**Last updated:** [October 20, 2021, 3:01pm UTC](https://forum.ansible.com/t/package-task-should-be-run-under-the-root-user/35904 "2021-10-20T15:01:56Z")

</div>

I have this TASK in a playbook which should install a bunch of packages on my (rhel8) target rrequired for postgresql I am shooting my playbok as a user with root priviledges via sudo In earlier TASKS of the play…

---

## [Ansible Galaxy down?](https://forum.ansible.com/t/ansible-galaxy-down/35903)

<div class="topic-metadata">

**Author:** [@belaran](https://forum.ansible.com/u/belaran)\
**Replies:** 4\
**Last updated:** [October 20, 2021, 2:03pm UTC](https://forum.ansible.com/t/ansible-galaxy-down/35903 "2021-10-20T14:03:46Z")

</div>

Hi, It seems Ansible Galaxy is down (at least for me): https://galaxy.ansible.com/ Error 1016 Ray ID: 6a1137627e9ed463 • 2021-10-20 09:28:30 UTC Origin DNS error What happened? You’ve requested a page on a website (g…

---

## [\[Contributing\] - Setting up your development environment](https://forum.ansible.com/t/contributing-setting-up-your-development-environment/35902)

<div class="topic-metadata">

**Author:** [@r4f](https://forum.ansible.com/u/r4f)\
**Replies:** 0\
**Last updated:** [October 20, 2021, 8:30am UTC](https://forum.ansible.com/t/contributing-setting-up-your-development-environment/35902 "2021-10-20T08:30:11Z")

</div>

Hi, I really want to contribute to this project and want to investigate this issue : https://github.com/ansible/awx/issues/11243 After reading the contribution guide here : https://github.com/ansible/awx/blob/devel/CON…

---

## [Sorting a fact in Ansible](https://forum.ansible.com/t/sorting-a-fact-in-ansible/35899)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [October 19, 2021, 6:25pm UTC](https://forum.ansible.com/t/sorting-a-fact-in-ansible/35899 "2021-10-19T18:25:35Z")

</div>

I am trying to sort a list when setting a fact in Ansible as follows: name: Get installed packages become: true become\_method: sudo package\_facts: register: installed name: Set package facts set\_fact: package…

---

## [Ansible 5.0.0a2 available for testing](https://forum.ansible.com/t/ansible-5-0-0a2-available-for-testing/35898)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [October 19, 2021, 3:24pm UTC](https://forum.ansible.com/t/ansible-5-0-0a2-available-for-testing/35898 "2021-10-19T15:24:18Z")

</div>

Hi all, We're happy to announce that the Ansible 5.0.0 alpha2 package is now available! This version is based on ansible-core 2.12.0rc1 which is a major update from ansible-core 2.11.x used in Ansible 4. There may be…

---

## [How to migrate the data ( templates, projects and credentials ) from awx 3.0.1 to awx 19.2.1](https://forum.ansible.com/t/how-to-migrate-the-data-templates-projects-and-credentials-from-awx-3-0-1-to-awx-19-2-1/35896)

<div class="topic-metadata">

**Author:** [@keerthi\_krishnan](https://forum.ansible.com/u/keerthi_krishnan)\
**Replies:** 0\
**Last updated:** [October 19, 2021, 11:10am UTC](https://forum.ansible.com/t/how-to-migrate-the-data-templates-projects-and-credentials-from-awx-3-0-1-to-awx-19-2-1/35896 "2021-10-19T11:10:47Z")

</div>

Hi Team, What is the procedure or best practise to do data migration from awx 3.0.1 to awx 19.2.1?. Some guidance will help me. Regards K.Keerthiga

---

## [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…

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

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