# Latest

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

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

**Page:** 366

---

## [CentOS repository patching](https://forum.ansible.com/t/centos-repository-patching/33234)

<div class="topic-metadata">

**Author:** [@Snehal\_Mehar](https://forum.ansible.com/u/Snehal_Mehar)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 7:05am UTC](https://forum.ansible.com/t/centos-repository-patching/33234 "2020-06-25T07:05:35Z")

</div>

Hello, I need help with setting up Centos client-server with centos repository URL. It should add a repository URL to the client-server and patch to the next available version identifying the existing os version. I hav…

---

## [Handling prompts using ansible 2.9 with ansible\_connection=ssh](https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256)

<div class="topic-metadata">

**Author:** [@Nishant\_Passari](https://forum.ansible.com/u/Nishant_Passari)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 6:27am UTC](https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256 "2020-06-25T06:27:23Z")

</div>

Hi everyone, I am trying to handle yes/no and other prompts using ansible 2.9 and tried using the shell and expect module via ansible. Can you guys help me out regarding the same. https://stackoverflow.com/questions/6…

---

## [win\_command and when condition](https://forum.ansible.com/t/win-command-and-when-condition/33257)

<div class="topic-metadata">

**Author:** [@shyam.awk](https://forum.ansible.com/u/shyam.awk)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 6:25am UTC](https://forum.ansible.com/t/win-command-and-when-condition/33257 "2020-06-25T06:25:28Z")

</div>

Hi, Im trying to rename the file using win\_command if the file exists using when condition, other wise it won’t execute the command, but it is failing, Can any one suggest. name: Rename the file based on condition wi…

---

## [Need help for ternary operator in ansible](https://forum.ansible.com/t/need-help-for-ternary-operator-in-ansible/33243)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 5:37am UTC](https://forum.ansible.com/t/need-help-for-ternary-operator-in-ansible/33243 "2020-06-25T05:37:15Z")

</div>

Hi Ansible Gurus , i have below task : name: RPM EPOCH Finder #command: rpm -qa --qf ‘%|EPOCH?{%{EPOCH}}:{0}|\\n’ {{ item.split(‘.’)\[0\] | regex\_replace(‘-\\d+’, ‘’)}} command: rpm -qa --qf ‘%|EPOCH?{%{EPOCH}}:{0}|\\n’ …

---

## [fatal: \[localhost\]: FAILED! =\> {"changed": false, "msg": "Instance creation failed](https://forum.ansible.com/t/fatal-localhost-failed-changed-false-msg-instance-creation-failed/33233)

<div class="topic-metadata">

**Author:** [@Mujeeb\_k.s](https://forum.ansible.com/u/Mujeeb_k.s)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 2:57am UTC](https://forum.ansible.com/t/fatal-localhost-failed-changed-false-msg-instance-creation-failed/33233 "2020-06-25T02:57:27Z")

</div>

Hi I am trying to create EC2 in using play book, but i am unable to create instance I am getting below error Please help me, how can i fix this issue \[root@jenkinansible ansible\]# ansible-playbook ec2.yml PLAY \[crea…

---

## [Unreachable : Failed to connect to the host via ssh](https://forum.ansible.com/t/unreachable-failed-to-connect-to-the-host-via-ssh/33248)

<div class="topic-metadata">

**Author:** [@Mahesh\_b](https://forum.ansible.com/u/Mahesh_b)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 1:26am UTC](https://forum.ansible.com/t/unreachable-failed-to-connect-to-the-host-via-ssh/33248 "2020-06-25T01:26:34Z")

</div>

Dear All, I have created my RHEL 8, AWS EC2 instances and Windows 2019 AWS EC2 instance And, have installed Ansible and followed the prerequisites on control node. Equally I have created user and ran the script https:…

---

## [stable version](https://forum.ansible.com/t/stable-version/33253)

<div class="topic-metadata">

**Author:** [@Uthred\_Ragnorson](https://forum.ansible.com/u/Uthred_Ragnorson)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 1:00am UTC](https://forum.ansible.com/t/stable-version/33253 "2020-06-25T01:00:02Z")

</div>

At the moment there are 3 release versions: 13, 12, 11.20. What should be considered for a production deployment?

---

## [AWX Dynamic inventory and new AWS regions](https://forum.ansible.com/t/awx-dynamic-inventory-and-new-aws-regions/33220)

<div class="topic-metadata">

**Author:** [@Thomas\_Halligan](https://forum.ansible.com/u/Thomas_Halligan)\
**Replies:** 4\
**Last updated:** [June 24, 2020, 10:54pm UTC](https://forum.ansible.com/t/awx-dynamic-inventory-and-new-aws-regions/33220 "2020-06-24T22:54:06Z")

</div>

I built a bit of automation off of the AWX\\ec2 inventory capability. Trouble is that AWX inventory ec2 source lookup has not been incorporating newer AWS regions (8 or 9 at this point) due to boto related stuff and thing…

---

## [Loop over list of dicts in ansible](https://forum.ansible.com/t/loop-over-list-of-dicts-in-ansible/33247)

<div class="topic-metadata">

**Author:** [@BIJAY\_PARIDA](https://forum.ansible.com/u/BIJAY_PARIDA)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 8:47pm UTC](https://forum.ansible.com/t/loop-over-list-of-dicts-in-ansible/33247 "2020-06-24T20:47:22Z")

</div>

I have a list of dicst like this - “lv”: \[ { “CreatedDate”: “2020-06-23T16:49:55.504+0000”, “Description”: “Layer 0”, “LayerVersionArn”: “arn:aws:lambda:us-east-1”, “Version”: 10 }, { “CreatedDate”: “2020-06-23T…

---

## [What is the best way to track deployment options for new releases?](https://forum.ansible.com/t/what-is-the-best-way-to-track-deployment-options-for-new-releases/33251)

<div class="topic-metadata">

**Author:** [@Gary\_Hawker](https://forum.ansible.com/u/Gary_Hawker)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 6:20pm UTC](https://forum.ansible.com/t/what-is-the-best-way-to-track-deployment-options-for-new-releases/33251 "2020-06-24T18:20:54Z")

</div>

Hi all, We’re running 9.2.0 on k8s (eks on aws) with external postgres and looking to upgrade. This project moves crazy fast so I want to try and keep on top of the ‘advised’ or ‘most successful’ deployment methods for …

---

## [vmware\_vm\_inventory filter](https://forum.ansible.com/t/vmware-vm-inventory-filter/33250)

<div class="topic-metadata">

**Author:** [@Todd\_Schaal](https://forum.ansible.com/u/Todd_Schaal)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 5:40pm UTC](https://forum.ansible.com/t/vmware-vm-inventory-filter/33250 "2020-06-24T17:40:05Z")

</div>

I have the vmware\_vm\_inventory plugin working. My issue is that it returns everything, including powered-off vms. I can filter them out when I run my playbooks, but I’d prefer they not be in my inventory in the first pla…

---

## [win\_copy updating timestamps](https://forum.ansible.com/t/win-copy-updating-timestamps/33249)

<div class="topic-metadata">

**Author:** [@Callum\_Elliott](https://forum.ansible.com/u/Callum_Elliott)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 4:20pm UTC](https://forum.ansible.com/t/win-copy-updating-timestamps/33249 "2020-06-24T16:20:01Z")

</div>

Hi, I’ve got a role that performs a win\_copy from 1 directory to another. I took the files from the target, put them in GIT (source) and ran the playbook to copy the files over, the 1st time. All the timestamps in the t…

---

## [Run a task on only one server in a group in inventory.](https://forum.ansible.com/t/run-a-task-on-only-one-server-in-a-group-in-inventory/33245)

<div class="topic-metadata">

**Author:** [@soumya\_dutta](https://forum.ansible.com/u/soumya_dutta)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 2:32pm UTC](https://forum.ansible.com/t/run-a-task-on-only-one-server-in-a-group-in-inventory/33245 "2020-06-24T14:32:48Z")

</div>

Hi guys, I have a situation where I need to run one task in only one server of a particular group. For example i have inventory as below \[aws\] server1 server2 \[gcp\] server3 server4 now I need to run a task on wh…

---

## [Cannot run my inventory script in AWX](https://forum.ansible.com/t/cannot-run-my-inventory-script-in-awx/33236)

<div class="topic-metadata">

**Author:** [@Dieye\_Pape\_Doudou](https://forum.ansible.com/u/Dieye_Pape_Doudou)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 11:28am UTC](https://forum.ansible.com/t/cannot-run-my-inventory-script-in-awx/33236 "2020-06-24T11:28:06Z")

</div>

Hello , I have an issue with the execution of my plabooks on AWX. I use the API glpi : https://github.com/unistra/ansible-inventory-glpi in order to connect that with AWX. With the documentation its runs very well in m…

---

## [Question on using the Ansible API](https://forum.ansible.com/t/question-on-using-the-ansible-api/33235)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 10:26am UTC](https://forum.ansible.com/t/question-on-using-the-ansible-api/33235 "2020-06-24T10:26:56Z")

</div>

I have a big ansible project where I have separated my files into playbooks, vars files, an inventory folder and roles. These files make extensive use of jinja templates. For my use case, I need to be able to access the…

---

## [Password strength for awx local internal accounts](https://forum.ansible.com/t/password-strength-for-awx-local-internal-accounts/33242)

<div class="topic-metadata">

**Author:** [@Ron\_McKenzie](https://forum.ansible.com/u/Ron_McKenzie)\
**Replies:** 0\
**Last updated:** [June 23, 2020, 11:55pm UTC](https://forum.ansible.com/t/password-strength-for-awx-local-internal-accounts/33242 "2020-06-23T23:55:41Z")

</div>

Reposting as someone posted over this previously. Still haven’t determined a way to do this and it was something supported a long time back. Thanks for any help on this challenging issue. Looking for some help on the be…

---

## [Using fact as loop control in Jinja2 template](https://forum.ansible.com/t/using-fact-as-loop-control-in-jinja2-template/33239)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [June 23, 2020, 8:13pm UTC](https://forum.ansible.com/t/using-fact-as-loop-control-in-jinja2-template/33239 "2020-06-23T20:13:49Z")

</div>

I have a playbook that will use the user\_find API call against our FreeIPA server to retrieve a list of all users. What I’m trying to do is get the total count, then use that count in my j2 file. I’m getting the count as…

---

## [Announcing AWX 13.0.0](https://forum.ansible.com/t/announcing-awx-13-0-0/33240)

<div class="topic-metadata">

**Author:** [@bianca](https://forum.ansible.com/u/bianca)\
**Replies:** 0\
**Last updated:** [June 23, 2020, 7:38pm UTC](https://forum.ansible.com/t/announcing-awx-13-0-0/33240 "2020-06-23T19:38:14Z")

</div>

Hi everyone, We are very happy to announce a new major version of AWX, 13.0.0! Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md): Added import a…

---

## [Install AWX on RHEL8](https://forum.ansible.com/t/install-awx-on-rhel8/33160)

<div class="topic-metadata">

**Author:** [@Cloud\_Arch](https://forum.ansible.com/u/Cloud_Arch)\
**Replies:** 5\
**Last updated:** [June 23, 2020, 6:34pm UTC](https://forum.ansible.com/t/install-awx-on-rhel8/33160 "2020-06-23T18:34:21Z")

</div>

Can anyone please give me clear AWX instllation guide for RHEL8! I googled it myself but most of the blogs are about Centos but not RHEL8. Kindly someone please share me at earliest. Thanks in Advance!

---

## [windows CPU Memory Swap-Memory utilization report in txt format](https://forum.ansible.com/t/windows-cpu-memory-swap-memory-utilization-report-in-txt-format/33197)

<div class="topic-metadata">

**Author:** [@Avinash\_Jadhav](https://forum.ansible.com/u/Avinash_Jadhav)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 6:07pm UTC](https://forum.ansible.com/t/windows-cpu-memory-swap-memory-utilization-report-in-txt-format/33197 "2020-06-23T18:07:02Z")

</div>

Hello Ansible Team I am trying to develped below task CPU/Memory related alerts need manual intervention to review the system health against the resources consuming the CPU/MEMORY. Every time engineer needs to login to…

---

## [Ansible to connect to certain switchports on Cisco 2960](https://forum.ansible.com/t/ansible-to-connect-to-certain-switchports-on-cisco-2960/33221)

<div class="topic-metadata">

**Author:** [@Jason2](https://forum.ansible.com/u/Jason2)\
**Replies:** 11\
**Last updated:** [June 23, 2020, 6:04pm UTC](https://forum.ansible.com/t/ansible-to-connect-to-certain-switchports-on-cisco-2960/33221 "2020-06-23T18:04:59Z")

</div>

I am working on a project that would require me to bump (shutdown and re-enable) switchports that are connected to an Access Point. I have created a playbook to run a command “show cdp neighbours” on the switch, and tha…

---

## [Keep-alive connections for httpapi plugins](https://forum.ansible.com/t/keep-alive-connections-for-httpapi-plugins/33238)

<div class="topic-metadata">

**Author:** [@Alexandru\_Obretin](https://forum.ansible.com/u/Alexandru_Obretin)\
**Replies:** 0\
**Last updated:** [June 23, 2020, 4:52pm UTC](https://forum.ansible.com/t/keep-alive-connections-for-httpapi-plugins/33238 "2020-06-23T16:52:26Z")

</div>

Hello, I am working on a custom HTTP connection plugin and some related modules in order to access a proprietary REST API. For this purpose, I have to provide capabilities for basic create/update/delete operations on di…

---

## [Keep-alive connections for httpapi plugins](https://forum.ansible.com/t/keep-alive-connections-for-httpapi-plugins/33237)

<div class="topic-metadata">

**Author:** [@Alexandru\_Obretin](https://forum.ansible.com/u/Alexandru_Obretin)\
**Replies:** 0\
**Last updated:** [June 23, 2020, 4:42pm UTC](https://forum.ansible.com/t/keep-alive-connections-for-httpapi-plugins/33237 "2020-06-23T16:42:51Z")

</div>

Hello, I am working on a custom HTTP connection plugin and some related modules in order to access a proprietary REST API. For this purpose, I have to provide capabilities for basic create/update/delete operations on di…

---

## [keycloak modules support or samples](https://forum.ansible.com/t/keycloak-modules-support-or-samples/32267)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard1](https://forum.ansible.com/u/Torsten_Reinhard1)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 3:11pm UTC](https://forum.ansible.com/t/keycloak-modules-support-or-samples/32267 "2020-06-23T15:11:31Z")

</div>

Hi community, I started to provision a KeyCloak instance (based on the Docker image) with the available modules keycloak\_client keycloak\_group I could´nt find any thread regarding these modules - so my question is if…

---

## [become\_user doesnt work and su - user in ansible shell module just hangs](https://forum.ansible.com/t/become-user-doesnt-work-and-su-user-in-ansible-shell-module-just-hangs/33228)

<div class="topic-metadata">

**Author:** [@chavali\_shruti](https://forum.ansible.com/u/chavali_shruti)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 1:00pm UTC](https://forum.ansible.com/t/become-user-doesnt-work-and-su-user-in-ansible-shell-module-just-hangs/33228 "2020-06-23T13:00:32Z")

</div>

Hi all, Ansible version: ansible 2.8.0 config file = /ansible/ansible.cfg configured module search path = \['/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible python module location = \*/.virtu…

---

## [Installing AWX using RedHat as base image](https://forum.ansible.com/t/installing-awx-using-redhat-as-base-image/33231)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 9\
**Last updated:** [June 23, 2020, 12:41pm UTC](https://forum.ansible.com/t/installing-awx-using-redhat-as-base-image/33231 "2020-06-23T12:41:04Z")

</div>

Is it possible to install AWX using RedHat as base image to build images ? Will all centos packages be compatible with RedHat? Please help

---

## [Update EC2 instances hostnames to their EC2 instance tags](https://forum.ansible.com/t/update-ec2-instances-hostnames-to-their-ec2-instance-tags/33232)

<div class="topic-metadata">

**Author:** [@Leo2](https://forum.ansible.com/u/Leo2)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 9:43pm UTC](https://forum.ansible.com/t/update-ec2-instances-hostnames-to-their-ec2-instance-tags/33232 "2020-06-22T21:43:14Z")

</div>

Hi everyone, I have got a question about the EC2 and it related modules. I would like to update the hostnames of all of the EC2 instances created by another role within the same playbook (all EC2 instances are dynamic i…

---

## [Ansible become\_user failing while logging-in as vagrant user](https://forum.ansible.com/t/ansible-become-user-failing-while-logging-in-as-vagrant-user/33222)

<div class="topic-metadata">

**Author:** [@Mukuntha\_rajaa](https://forum.ansible.com/u/Mukuntha_rajaa)\
**Replies:** 5\
**Last updated:** [June 22, 2020, 6:46pm UTC](https://forum.ansible.com/t/ansible-become-user-failing-while-logging-in-as-vagrant-user/33222 "2020-06-22T18:46:55Z")

</div>

Hello, Problem: Via inventory, I am logging as “vagrant” user. I am trying to switch to another-user and then create .ssh directory with owner and group as this another-user. It is failing saying permission denied. TA…

---

## [\[action\_plugin\] Why does set\_fact overwrite a fact and my 1:1 copy set\_fact2 does not?](https://forum.ansible.com/t/action-plugin-why-does-set-fact-overwrite-a-fact-and-my-1-1-copy-set-fact2-does-not/33223)

<div class="topic-metadata">

**Author:** [@Christian\_Holl](https://forum.ansible.com/u/Christian_Holl)\
**Replies:** 1\
**Last updated:** [June 22, 2020, 6:44pm UTC](https://forum.ansible.com/t/action-plugin-why-does-set-fact-overwrite-a-fact-and-my-1-1-copy-set-fact2-does-not/33223 "2020-06-22T18:44:49Z")

</div>

Hi all, I created my own action plugin, I based it of set\_fact. It works when the fact is not set already, otherwise it does not. To be sure I did not do any mistake (cause I could not find one in my code) I copied t…

---

## [Zabbix module change: zabbix\_host\_info](https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230)

<div class="topic-metadata">

**Author:** [@Arjan\_Goos](https://forum.ansible.com/u/Arjan_Goos)\
**Replies:** 1\
**Last updated:** [June 22, 2020, 3:21pm UTC](https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230 "2020-06-22T15:21:50Z")

</div>

I want to request an change for this module but I do not know how to do this. In the zabbix\_host\_facts.py when an host is searched the groups are not queried. When an extra option is added the groups will be queried 12…

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

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