# Latest

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

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

**Page:** 258

---

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

---

## [How to deal with galaxy.ansible.com downtime?](https://forum.ansible.com/t/how-to-deal-with-galaxy-ansible-com-downtime/36426)

<div class="topic-metadata">

**Author:** [@Michael\_Kebe](https://forum.ansible.com/u/Michael_Kebe)\
**Replies:** 2\
**Last updated:** [March 18, 2022, 12:44pm UTC](https://forum.ansible.com/t/how-to-deal-with-galaxy-ansible-com-downtime/36426 "2022-03-18T12:44:51Z")

</div>

We are using awx for our ansible deployment. It happens from time to time that galaxy.ansible.com is down. We encountered situations like this: Change some ansible playbooks/roles and sync the project in awx The “Sou…

---

## [replace spaces in filenames](https://forum.ansible.com/t/replace-spaces-in-filenames/36455)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [March 18, 2022, 12:35am UTC](https://forum.ansible.com/t/replace-spaces-in-filenames/36455 "2022-03-18T00:35:21Z")

</div>

hi everybody, I have a situation where I need to replace spaces in filenames on a large scale. Is there any way to do this with Ansible?

---

## [Parsing json output issues](https://forum.ansible.com/t/parsing-json-output-issues/36405)

<div class="topic-metadata">

**Author:** [@Delmiro\_Campelo](https://forum.ansible.com/u/Delmiro_Campelo)\
**Replies:** 7\
**Last updated:** [March 17, 2022, 10:29pm UTC](https://forum.ansible.com/t/parsing-json-output-issues/36405 "2022-03-17T22:29:26Z")

</div>

Hello Ansible friends, I’m hoping that you can provide some assistance here. I’m trying to parsed through json response from a web application, but I’m having some issues. The goal of this playbook is to display the sit…

---

## [Ansible Asynchronous actions](https://forum.ansible.com/t/ansible-asynchronous-actions/36454)

<div class="topic-metadata">

**Author:** [@Dip\_Giri](https://forum.ansible.com/u/Dip_Giri)\
**Replies:** 1\
**Last updated:** [March 17, 2022, 11:19am UTC](https://forum.ansible.com/t/ansible-asynchronous-actions/36454 "2022-03-17T11:19:59Z")

</div>

name: Check if database import is complete async\_status: jid: “{{ output.ansible\_job\_id }}” register: job\_result until: job\_result.finished delay: 10 retries: 25920 no\_log: true How to hide FAILED - RETRYING l…

---

## [question on LVM exists or not](https://forum.ansible.com/t/question-on-lvm-exists-or-not/36452)

<div class="topic-metadata">

**Author:** [@subbamma\_natla](https://forum.ansible.com/u/subbamma_natla)\
**Replies:** 1\
**Last updated:** [March 17, 2022, 1:45am UTC](https://forum.ansible.com/t/question-on-lvm-exists-or-not/36452 "2022-03-17T01:45:22Z")

</div>

why am I getting output when " when: ansible\_facts\[‘lvm’\]\[‘lvs’\]\[‘lv\_mysql’\] is not defined"

---

## [AWX Operator v0.13.0 and lots of AWX instances](https://forum.ansible.com/t/awx-operator-v0-13-0-and-lots-of-awx-instances/36448)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 4\
**Last updated:** [March 17, 2022, 1:23am UTC](https://forum.ansible.com/t/awx-operator-v0-13-0-and-lots-of-awx-instances/36448 "2022-03-17T01:23:48Z")

</div>

We have been using AWX 19.0.0 with AWX operator 0.13.0 for a while. The AWX operator is installed in a dedicated namespace. Each member of our team has their own AWX instance which is installed in its own namespace. This…

---

## [Passing json in shell module in ansible](https://forum.ansible.com/t/passing-json-in-shell-module-in-ansible/36363)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 10:13pm UTC](https://forum.ansible.com/t/passing-json-in-shell-module-in-ansible/36363 "2022-03-16T22:13:23Z")

</div>

Can you confirm that the exact same command (without single quotes around it) actually works from an interactive shell?

---

## [Automate shutdown command via Ansible playbook](https://forum.ansible.com/t/automate-shutdown-command-via-ansible-playbook/36451)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 10:02pm UTC](https://forum.ansible.com/t/automate-shutdown-command-via-ansible-playbook/36451 "2022-03-16T22:02:37Z")

</div>

I’m using ansible 2.9. There is no shutdown module available. I need to automate shutdown command via Ansible playbook. The target hosts are different distributions of CentOS servers - 7 or 6. When I ran the playbook to…

---

## [create a dict from a list (value of another dict)](https://forum.ansible.com/t/create-a-dict-from-a-list-value-of-another-dict/36443)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 3\
**Last updated:** [March 16, 2022, 8:45pm UTC](https://forum.ansible.com/t/create-a-dict-from-a-list-value-of-another-dict/36443 "2022-03-16T20:45:17Z")

</div>

Hi Team, My playbook role receive a dict coming from a lookup file, linux\_file\_list is the variable name of this lookup. This dict has only one key and some lists as value. Elements of these lists are dict too. Here’s …

---

## [Could not resolve hostname: Name or service not known](https://forum.ansible.com/t/could-not-resolve-hostname-name-or-service-not-known/36418)

<div class="topic-metadata">

**Author:** [@Sai\_krishna\_Chinna](https://forum.ansible.com/u/Sai_krishna_Chinna)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 8:10pm UTC](https://forum.ansible.com/t/could-not-resolve-hostname-name-or-service-not-known/36418 "2022-03-16T20:10:13Z")

</div>

Hi, I am using AWX 17.1.0 docker install. Inventory Source → Amazon EC2 and updated source variables in inventory source to hostnames: ‘tag:Name’ It shows all the hosts but when I run a job it throws: Failed to connec…

---

## [Need Help to deploy AWX19 in K8s](https://forum.ansible.com/t/need-help-to-deploy-awx19-in-k8s/36435)

<div class="topic-metadata">

**Author:** [@Ahilan\_Swaminathan](https://forum.ansible.com/u/Ahilan_Swaminathan)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 7:54pm UTC](https://forum.ansible.com/t/need-help-to-deploy-awx19-in-k8s/36435 "2022-03-16T19:54:07Z")

</div>

Hi Team We are planning to deploy the AWX 19.0 in Kubernetes cluster in RHEL8 and we need to migrate the data from our docker based existing AWX17.0 which is running in RHEL7 and also currently we are using in Productio…

---

## [AWX Callback URL](https://forum.ansible.com/t/awx-callback-url/36428)

<div class="topic-metadata">

**Author:** [@Brian\_Garvey](https://forum.ansible.com/u/Brian_Garvey)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 7:47pm UTC](https://forum.ansible.com/t/awx-callback-url/36428 "2022-03-16T19:47:35Z")

</div>

I have a template that is linked to a playbook. Within this playbook I have two plays 1 is targeting localhost and the other is targeting a subset of machines lets just say they are all web servers. When I am triggering…

---

## [awx 12 upgrade](https://forum.ansible.com/t/awx-12-upgrade/36380)

<div class="topic-metadata">

**Author:** [@bsafari](https://forum.ansible.com/u/bsafari)\
**Replies:** 6\
**Last updated:** [March 16, 2022, 7:44pm UTC](https://forum.ansible.com/t/awx-12-upgrade/36380 "2022-03-16T19:44:25Z")

</div>

Hello everyone , I need to upgrade my awx 12 to the latest version and I need help

---

## [add user AD - fail module/action "win\_domain\_user"](https://forum.ansible.com/t/add-user-ad-fail-module-action-win-domain-user/36422)

<div class="topic-metadata">

**Author:** [@Abel\_Laime](https://forum.ansible.com/u/Abel_Laime)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 7:23pm UTC](https://forum.ansible.com/t/add-user-ad-fail-module-action-win-domain-user/36422 "2022-03-16T19:23:27Z")

</div>

Hi, I am executing task to add users to local AD domain. I use community.windows task but it fails → "ERROR! couldn’t resolve module/action '‘win\_domain\_user’. This often indicates a misspelling, missing collection, o…

---

## [Inventory variables not being read](https://forum.ansible.com/t/inventory-variables-not-being-read/36447)

<div class="topic-metadata">

**Author:** [@EE1](https://forum.ansible.com/u/EE1)\
**Replies:** 4\
**Last updated:** [March 16, 2022, 3:47pm UTC](https://forum.ansible.com/t/inventory-variables-not-being-read/36447 "2022-03-16T15:47:51Z")

</div>

Hi All, I seem to be having an issue defining a variables in my /etc/ansible/hosts. When I run a playbook against a host in my inventory, it seems the variable are not read based on the error messages. For example, here…

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

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