# Archives

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

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

**Page:** 83

---

## [Need help with tags](https://forum.ansible.com/t/need-help-with-tags/36487)

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 0\
**Last updated:** [March 28, 2022, 12:19pm UTC](https://forum.ansible.com/t/need-help-with-tags/36487 "2022-03-28T12:19:59Z")

</div>

Hello Team, when : “‘Application’ == tags.role” when i tried this it has worked. I need to add region for the same condition. How can i add the region for this. Can you please help me with this? Thanks in advance.

---

## [EC2 tags usage in Ansible play book](https://forum.ansible.com/t/ec2-tags-usage-in-ansible-play-book/36477)

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 1\
**Last updated:** [March 28, 2022, 7:39am UTC](https://forum.ansible.com/t/ec2-tags-usage-in-ansible-play-book/36477 "2022-03-28T07:39:13Z")

</div>

Hello Team, Hope you are doing well and good. Can you help me on how to use multiple ec2 tags in ansible plays by using when condition. Best Regards, Jayanth

---

## [Ansible Tower Upgrade issue  | Define the AWX\_SETTINGS\_FILE environment](https://forum.ansible.com/t/ansible-tower-upgrade-issue-define-the-awx-settings-file-environment/36481)

<div class="topic-metadata">

**Author:** [@A\_Prakash](https://forum.ansible.com/u/A_Prakash)\
**Replies:** 1\
**Last updated:** [March 27, 2022, 4:48pm UTC](https://forum.ansible.com/t/ansible-tower-upgrade-issue-define-the-awx-settings-file-environment/36481 "2022-03-27T16:48:06Z")

</div>

Hello Team, Good Morning. We are upgrading our Ansible Tower 3.7.0 to 3.8.5 in our Org, while upgrading getting below error, which we could proceed further. We have valid request and system is registered with RedHat Po…

---

## [How do I Post a question to this group](https://forum.ansible.com/t/how-do-i-post-a-question-to-this-group/36482)

<div class="topic-metadata">

**Author:** [@Arundhati\_Bhende](https://forum.ansible.com/u/Arundhati_Bhende)\
**Replies:** 0\
**Last updated:** [March 27, 2022, 2:44am UTC](https://forum.ansible.com/t/how-do-i-post-a-question-to-this-group/36482 "2022-03-27T02:44:21Z")

</div>

I would like to ask a question and trying to login to https://groups.google.com/g/ansible-project . I am not able to login without a google account. How do I login? Thanks

---

## [Ansible play book error ec2 setpu](https://forum.ansible.com/t/ansible-play-book-error-ec2-setpu/36476)

<div class="topic-metadata">

**Author:** [@prasanna\_kumar1](https://forum.ansible.com/u/prasanna_kumar1)\
**Replies:** 2\
**Last updated:** [March 25, 2022, 12:08pm UTC](https://forum.ansible.com/t/ansible-play-book-error-ec2-setpu/36476 "2022-03-25T12:08:35Z")

</div>

Dear dick, I have to install aws ec2 instances through ansible-playbook,I am getting this error,kindly help me ERROR! A playbook must be a list of plays, got a \<class ‘ansible.parsing.yaml.objects.AnsibleMapping’\> inst…

---

## [iis wildcard-certificate binding leads to error message in site bindings](https://forum.ansible.com/t/iis-wildcard-certificate-binding-leads-to-error-message-in-site-bindings/36479)

<div class="topic-metadata">

**Author:** [@astrakid](https://forum.ansible.com/u/astrakid)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 11:59am UTC](https://forum.ansible.com/t/iis-wildcard-certificate-binding-leads-to-error-message-in-site-bindings/36479 "2022-03-25T11:59:25Z")

</div>

hi, i managed to install an updated wildcard certificate on our server. but after trying to bind one of the sites to that new certificate i got an error message. as a result i am not able to open the site bindings-set…

---

## [Ansible Windows - Module "community.general.ini\_file" - Not working](https://forum.ansible.com/t/ansible-windows-module-community-general-ini-file-not-working/36478)

<div class="topic-metadata">

**Author:** [@Gursharan\_Singh](https://forum.ansible.com/u/Gursharan_Singh)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 7:57am UTC](https://forum.ansible.com/t/ansible-windows-module-community-general-ini-file-not-working/36478 "2022-03-25T07:57:06Z")

</div>

I have installed ansible using Cygwin and need to make some changes in ini and config files. However, some of the modules are not working… Pasting Error below: community.general.ini\_file: \[WARNING\]: No pythonfatal: \[EC…

---

## [How to get desired data from JSON](https://forum.ansible.com/t/how-to-get-desired-data-from-json/36467)

<div class="topic-metadata">

**Author:** [@Know\_Your\_Tech](https://forum.ansible.com/u/Know_Your_Tech)\
**Replies:** 2\
**Last updated:** [March 25, 2022, 7:29am UTC](https://forum.ansible.com/t/how-to-get-desired-data-from-json/36467 "2022-03-25T07:29:36Z")

</div>

I need to print the below for any jdbc\_data\_source found expected output: jdbc\_data\_source name is has username and jndi name \<jndi\_name\> which will print as jdbc\_data\_source name is cwds has username CAN\_USER and …

---

## [awx 19.5.0 EE container not able to connect to coredns](https://forum.ansible.com/t/awx-19-5-0-ee-container-not-able-to-connect-to-coredns/36473)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 3:36pm UTC](https://forum.ansible.com/t/awx-19-5-0-ee-container-not-able-to-connect-to-coredns/36473 "2022-03-24T15:36:50Z")

</div>

Hi! I have a peculiar issue on awx 19.5.0. It was working till last week. we are seeing dns issue on the EE pod. If the EE pod runs on specific kubernetis node it is working fine. When we checked, the EE pod could not …

---

## [synchronize: link\_stat failed](https://forum.ansible.com/t/synchronize-link-stat-failed/36474)

<div class="topic-metadata">

**Author:** [@Robin\_Kluth](https://forum.ansible.com/u/Robin_Kluth)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 1:07pm UTC](https://forum.ansible.com/t/synchronize-link-stat-failed/36474 "2022-03-24T13:07:41Z")

</div>

Hi. I have: name: Copy files to BackupDMZ ansible.posix.synchronize: src: /opt/docusnap/\*.xml dest: /opt/docusnap\_proxy/ mode: pull rsync\_opts: “–timeout=30” delegate\_to: 172.31.10.84 which workls for all hosts…

---

## [ping: Socket: Operation not permitted Ansible Tower](https://forum.ansible.com/t/ping-socket-operation-not-permitted-ansible-tower/36475)

<div class="topic-metadata">

**Author:** [@Jose\_Angel\_Morena\_Si](https://forum.ansible.com/u/Jose_Angel_Morena_Si)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 10:02am UTC](https://forum.ansible.com/t/ping-socket-operation-not-permitted-ansible-tower/36475 "2022-03-24T10:02:18Z")

</div>

Hello there, I am working with Ansible Tower 3.8.4, RHEL 8.4 and I can’t run ping via shell command. fatal: \[localhost\]: FAILED! =\> {“changed”: true, “cmd”: “ping google.com -c 5”, “delta”: “0:00:00.005199”, “end”: “20…

---

## [Template - Multiple AWS Credentials](https://forum.ansible.com/t/template-multiple-aws-credentials/36465)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 7:28pm UTC](https://forum.ansible.com/t/template-multiple-aws-credentials/36465 "2022-03-23T19:28:24Z")

</div>

Is there a way to assign multiple AWS credentials to a Template? Obviously, I cannot do this through the UI, but can I do something via AWX api or something similar? Cheers!

---

## [Configure callback mail](https://forum.ansible.com/t/configure-callback-mail/36461)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 3\
**Last updated:** [March 23, 2022, 6:44am UTC](https://forum.ansible.com/t/configure-callback-mail/36461 "2022-03-23T06:44:26Z")

</div>

Hello, I try to understand mail callback configuration. My ansible.cfg \[defaults\] inventory = env/inventory.ini library = lib callback\_enabled = timer,minimal,profile\_tasks,mail interpreter\_python = /usr/bin/python3 …

---

## [ansible.builtin.apt - Updating all installed packages to latest gives "parameters are mutually exclusive deb|package|upgrade](https://forum.ansible.com/t/ansible-builtin-apt-updating-all-installed-packages-to-latest-gives-parameters-are-mutually-exclusive-deb-package-upgrade/36460)

<div class="topic-metadata">

**Author:** [@John\_Himpel](https://forum.ansible.com/u/John_Himpel)\
**Replies:** 2\
**Last updated:** [March 22, 2022, 7:09pm UTC](https://forum.ansible.com/t/ansible-builtin-apt-updating-all-installed-packages-to-latest-gives-parameters-are-mutually-exclusive-deb-package-upgrade/36460 "2022-03-22T19:09:35Z")

</div>

The following ansible block: name: Block update APT hosts block: name: main - Update APT repo and cache ansible.builtin.apt: update\_cache: true force\_apt\_get: true cache\_valid\_time: 3600 # 1 Hour name: main…

---

## [AWX GCP Dynamic Inventory](https://forum.ansible.com/t/awx-gcp-dynamic-inventory/34397)

<div class="topic-metadata">

**Author:** [@Ian\_Wolff](https://forum.ansible.com/u/Ian_Wolff)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 4:33pm UTC](https://forum.ansible.com/t/awx-gcp-dynamic-inventory/34397 "2022-03-22T16:33:31Z")

</div>

Has anyone figured out a way to get GCP Dynamic Inventory to use gce\_private\_ip as the “ansible\_ssh\_host”? It will default to the external IP address while pulling the inventory and set the eIP as the ansible\_ssh\_host. T…

---

## [Ansible: Can you register the Linux banner without logging in?](https://forum.ansible.com/t/ansible-can-you-register-the-linux-banner-without-logging-in/36470)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 4:08pm UTC](https://forum.ansible.com/t/ansible-can-you-register-the-linux-banner-without-logging-in/36470 "2022-03-22T16:08:32Z")

</div>

I’m trying to capture the linux banner you see before you login to a Linux server - using Ansible. I don’t want to login to the server, just get the banner. I was hoping to use register to save it, then use part of it’s …

---

## [New release candidates: ansible-core 2.12.4rc1, ansible-core 2.11.10rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-4rc1-ansible-core-2-11-10rc1/36469)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 1:31pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-4rc1-ansible-core-2-11-10rc1/36469 "2022-03-22T13:31:38Z")

</div>

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

---

## [Couldn't execute inventory file](https://forum.ansible.com/t/couldnt-execute-inventory-file/36437)

<div class="topic-metadata">

**Author:** [@Indra\_sena](https://forum.ansible.com/u/Indra_sena)\
**Replies:** 4\
**Last updated:** [March 21, 2022, 11:03pm UTC](https://forum.ansible.com/t/couldnt-execute-inventory-file/36437 "2022-03-21T23:03:31Z")

</div>

Hey, I’m unable to run the inventory file for my project. It’s throwing up few errors. please help me out. ansible-inventory2.9.27.post0 config file = / runner/project/ansible.cfg configured module search path = \[‘/h…

---

## [Ansible in OCI ubi8](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439)

<div class="topic-metadata">

**Author:** [@Eduardo\_Toro](https://forum.ansible.com/u/Eduardo_Toro)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 9:10pm UTC](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439 "2022-03-21T21:10:44Z")

</div>

Hello Experts, I’m seeking your help to confirm if it’s posible to install Ansible in an Universal Base Image from Redhat. If not, could you please confirm if there is any plan to allow this? Thank you for your support…

---

## [Python compatibility between controller and managed nodes](https://forum.ansible.com/t/python-compatibility-between-controller-and-managed-nodes/36449)

<div class="topic-metadata">

**Author:** [@Gaetan\_QUENTIN](https://forum.ansible.com/u/Gaetan_QUENTIN)\
**Replies:** 3\
**Last updated:** [March 21, 2022, 8:56pm UTC](https://forum.ansible.com/t/python-compatibility-between-controller-and-managed-nodes/36449 "2022-03-21T20:56:05Z")

</div>

Hi, A question about python compatibility between controller and managed node. Do an ansible controller 2.9.XX with python 2.7.X can manage nodes where python 3.8 is installed? The answer is not clear here: https://do…

---

## [How to test Windows roles on arm64 MacBook Pro?](https://forum.ansible.com/t/how-to-test-windows-roles-on-arm64-macbook-pro/36466)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 3\
**Last updated:** [March 21, 2022, 3:51pm UTC](https://forum.ansible.com/t/how-to-test-windows-roles-on-arm64-macbook-pro/36466 "2022-03-21T15:51:02Z")

</div>

Got a new arm64 MacBook Pro and “lost” my molecule testing for Windows. I used to use vagrant and virtualbox on my amd64 MacBook. How do I test Window roles now? Use EC2? Openstack?

---

## [{{dest\_file}} only shows output of one host instead of 2 as I was expecting](https://forum.ansible.com/t/dest-file-only-shows-output-of-one-host-instead-of-2-as-i-was-expecting/36441)

<div class="topic-metadata">

**Author:** [@johnc](https://forum.ansible.com/u/johnc)\
**Replies:** 1\
**Last updated:** [March 21, 2022, 3:39pm UTC](https://forum.ansible.com/t/dest-file-only-shows-output-of-one-host-instead-of-2-as-i-was-expecting/36441 "2022-03-21T15:39:28Z")

</div>

hi guys, the below playbook seems to work ok except when the ouput gets written to the local file, it only shows the output of one host instead of 2 that I was expecting. What needs to change so that I can have the outp…

---

## [Loading role vars without executing role](https://forum.ansible.com/t/loading-role-vars-without-executing-role/36417)

<div class="topic-metadata">

**Author:** [@Paul\_Manno](https://forum.ansible.com/u/Paul_Manno)\
**Replies:** 1\
**Last updated:** [March 21, 2022, 3:36pm UTC](https://forum.ansible.com/t/loading-role-vars-without-executing-role/36417 "2022-03-21T15:36:33Z")

</div>

Hello, A bit of background… I manage multiple applications. Each application has an ansible role defined for it. Sometimes, there is a playbook that is common to each application, but I would prefer to keep this playboo…

---

## [Returning from Bug#77302.  Bad file descriptor](https://forum.ansible.com/t/returning-from-bug-77302-bad-file-descriptor/36462)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 1\
**Last updated:** [March 20, 2022, 3:52pm UTC](https://forum.ansible.com/t/returning-from-bug-77302-bad-file-descriptor/36462 "2022-03-20T15:52:27Z")

</div>

Dear Team, I’m returning fro BUG # https://github.com/ansible/ansible/issues/77302 The issue is specific to a specific version of platform. On different version the code works fine. On RedHat linux 7.9 $ ansible --ve…

---

## [How to trace ansible internal AWS S3 API Call](https://forum.ansible.com/t/how-to-trace-ansible-internal-aws-s3-api-call/36464)

<div class="topic-metadata">

**Author:** [@bhoopathy\_k](https://forum.ansible.com/u/bhoopathy_k)\
**Replies:** 0\
**Last updated:** [March 20, 2022, 2:04pm UTC](https://forum.ansible.com/t/how-to-trace-ansible-internal-aws-s3-api-call/36464 "2022-03-20T14:04:03Z")

</div>

Hi Team, Before Posting my question let me explain the problem of statement and use cases. Usecase: We had a scenario to delete the AWS S3 buckets and recreate the same bucket in the next deployment run. Bucket was d…

---

## [dnf - install postgresql fom postgresql.org yum repos](https://forum.ansible.com/t/dnf-install-postgresql-fom-postgresql-org-yum-repos/36463)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 1\
**Last updated:** [March 20, 2022, 11:23am UTC](https://forum.ansible.com/t/dnf-install-postgresql-fom-postgresql-org-yum-repos/36463 "2022-03-20T11:23:29Z")

</div>

I want to install PostgreSQL & barman with Ansible from the PostgreSQL.org repositories on an almalinux lxd container. name: “install PostgreSQL-14 & barman @rhel via postgresql.org repos” hosts: barman-220320 tasks…

---

## [Consider changing the remote tmp path in ansible.cfg to a path rooted in \\"/tmp\\"](https://forum.ansible.com/t/consider-changing-the-remote-tmp-path-in-ansible-cfg-to-a-path-rooted-in-tmp/36459)

<div class="topic-metadata">

**Author:** [@Jorge\_Rua1](https://forum.ansible.com/u/Jorge_Rua1)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 8:43pm UTC](https://forum.ansible.com/t/consider-changing-the-remote-tmp-path-in-ansible-cfg-to-a-path-rooted-in-tmp/36459 "2022-03-18T20:43:47Z")

</div>

I’d say to approach this issue as a problem with the remote\_user you’re using. So it’s worth checking if remote\_user has all required privileges to become root. Another quick test is to set remote\_tmp to just /tmp. Hop…

---

## [How to use include\_vars with a file needing elevated privileges](https://forum.ansible.com/t/how-to-use-include-vars-with-a-file-needing-elevated-privileges/36456)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 13\
**Last updated:** [March 18, 2022, 8:21pm UTC](https://forum.ansible.com/t/how-to-use-include-vars-with-a-file-needing-elevated-privileges/36456 "2022-03-18T20:21:08Z")

</div>

Let’s suppose I run a playbook as a non-root user and one task needs to include a vars file with only root permissions. The ansible.builtin.include\_vars official doc states that:the ‘become’ attribute is not supported b…

---

## [Has anyone used the community.general.facter module?](https://forum.ansible.com/t/has-anyone-used-the-community-general-facter-module/36458)

<div class="topic-metadata">

**Author:** [@Goran](https://forum.ansible.com/u/Goran)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 5:01pm UTC](https://forum.ansible.com/t/has-anyone-used-the-community-general-facter-module/36458 "2022-03-18T17:01:07Z")

</div>

I’m trying to access Puppet custom facts from a ansible playbook… But I’m out of my depth when it comes to decoding the JSON… Has anyone worked with the facter module and got some example to help me on my way? Somethi…

---

## [need to get info for /etc/passwd /etc/group](https://forum.ansible.com/t/need-to-get-info-for-etc-passwd-etc-group/36457)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [March 18, 2022, 4:08pm UTC](https://forum.ansible.com/t/need-to-get-info-for-etc-passwd-etc-group/36457 "2022-03-18T16:08:04Z")

</div>

any idea how I would get this info from 20 esx servers? do I do a ad-hoc command or is there a module or playbook?

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

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