# Latest

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

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

**Page:** 383

---

## [associating IAM role with AWS redshift cluster in ansible](https://forum.ansible.com/t/associating-iam-role-with-aws-redshift-cluster-in-ansible/32765)

<div class="topic-metadata">

**Author:** [@Raymond\_Yee](https://forum.ansible.com/u/Raymond_Yee)\
**Replies:** 0\
**Last updated:** [April 23, 2020, 12:01am UTC](https://forum.ansible.com/t/associating-iam-role-with-aws-redshift-cluster-in-ansible/32765 "2020-04-23T00:01:08Z")

</div>

I would like to attach IAM roles to a redshift cluster in my ansible playbook but don’t see any parameter for IAM roles in the redshift module (https://docs.ansible.com/ansible/latest/modules/redshift\_module.html). Such …

---

## [Announcing AWX 11.1.0](https://forum.ansible.com/t/announcing-awx-11-1-0/32763)

<div class="topic-metadata">

**Author:** [@Seth\_Foster](https://forum.ansible.com/u/Seth_Foster)\
**Replies:** 0\
**Last updated:** [April 22, 2020, 8:26pm UTC](https://forum.ansible.com/t/announcing-awx-11-1-0/32763 "2020-04-22T20:26:27Z")

</div>

Hey everyone, We’re excited to announce a new major version of AWX, 11.1.0. Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md): Changed rsyslogd …

---

## [custom inventory plugin and facts](https://forum.ansible.com/t/custom-inventory-plugin-and-facts/32761)

<div class="topic-metadata">

**Author:** [@Tdev\_Feeds](https://forum.ansible.com/u/Tdev_Feeds)\
**Replies:** 1\
**Last updated:** [April 22, 2020, 6:09pm UTC](https://forum.ansible.com/t/custom-inventory-plugin-and-facts/32761 "2020-04-22T18:09:58Z")

</div>

I’m wondering if it is possible to gather facts during BaseInventoryPlugin.parse()? I’m working on a dynamic inventory plugin that needs to get custom facts from /etc/ansible/facts.d/ on the remote hosts. It seems to me …

---

## [\[WARNING\]: "register" is not templatable, but we found:](https://forum.ansible.com/t/warning-register-is-not-templatable-but-we-found/32759)

<div class="topic-metadata">

**Author:** [@Laurent\_HENSSEN](https://forum.ansible.com/u/Laurent_HENSSEN)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 5:45pm UTC](https://forum.ansible.com/t/warning-register-is-not-templatable-but-we-found/32759 "2020-04-22T17:45:49Z")

</div>

Hello, I’m trying to register a var through a dynamical use of “register” (I mean : using a var, like : register: {{ var }}). Dev updated the code and removed this option (now static only). I’m not able to find more i…

---

## [Check status of VMware tools & reboot if VMware tools are not running](https://forum.ansible.com/t/check-status-of-vmware-tools-reboot-if-vmware-tools-are-not-running/32709)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 39\
**Last updated:** [April 22, 2020, 5:33pm UTC](https://forum.ansible.com/t/check-status-of-vmware-tools-reboot-if-vmware-tools-are-not-running/32709 "2020-04-22T17:33:37Z")

</div>

Hi I need to check status of VMware tools on vms & if VMware tools are not running, then reboot the vm. I have below playbook which works fine to find vm name & VMware tools status. Please help on how can i extract the …

---

## [Need help for some logic](https://forum.ansible.com/t/need-help-for-some-logic/32753)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 4:57pm UTC](https://forum.ansible.com/t/need-help-for-some-logic/32753 "2020-04-22T16:57:04Z")

</div>

Hi Ansible Gurus, I have below playbook in one git repository: mymasterplaybook.yml name: Do some test include\_role: name: mytestrole tasks\_from: test-server-names when: “‘testing-group-name’ in group\_names”\` Now…

---

## [Will \`with\_\*\` loops be removed once 2.10 is out?](https://forum.ansible.com/t/will-with-loops-be-removed-once-2-10-is-out/32757)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 3\
**Last updated:** [April 22, 2020, 2:04pm UTC](https://forum.ansible.com/t/will-with-loops-be-removed-once-2-10-is-out/32757 "2020-04-22T14:04:18Z")

</div>

Is the a way to combine with\_ and a lookup from a collection? E.g. the flattened lookup from community.general.

---

## [Help with ios\_command Module](https://forum.ansible.com/t/help-with-ios-command-module/32756)

<div class="topic-metadata">

**Author:** [@Omar\_Hegazy](https://forum.ansible.com/u/Omar_Hegazy)\
**Replies:** 1\
**Last updated:** [April 22, 2020, 1:39pm UTC](https://forum.ansible.com/t/help-with-ios-command-module/32756 "2020-04-22T13:39:26Z")

</div>

Hello, i have 2 switches. I wanted to run a command (show arp) and check a specific output if exist or not on both. Then, i wanted to run a command (show arp) and display the output. The problem is that since the output…

---

## [deploying ssh keys to remote server. permission error,  but nearly there!](https://forum.ansible.com/t/deploying-ssh-keys-to-remote-server-permission-error-but-nearly-there/32755)

<div class="topic-metadata">

**Author:** [@andrew\_forde](https://forum.ansible.com/u/andrew_forde)\
**Replies:** 0\
**Last updated:** [April 22, 2020, 12:59pm UTC](https://forum.ansible.com/t/deploying-ssh-keys-to-remote-server-permission-error-but-nearly-there/32755 "2020-04-22T12:59:25Z")

</div>

Trying to deploy keys for each of my team (trying one first) to the wpshere user on a remote server. code below suggest i hit the remote server but cant quite get in to the wphere .ssh part. first Ansible task i’ve had…

---

## [Issues with datetime and UTC offset](https://forum.ansible.com/t/issues-with-datetime-and-utc-offset/32616)

<div class="topic-metadata">

**Author:** [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 12:31pm UTC](https://forum.ansible.com/t/issues-with-datetime-and-utc-offset/32616 "2020-04-22T12:31:08Z")

</div>

Hi! I have a date that I get from some source (I cannot change the source data), that looks like this: “Tue, 07 Apr 2020 08:16:10 +0000”. So I need to convert it to another datetime format. The approach I took was I at…

---

## [Need to Deploy OS using ansible playbook](https://forum.ansible.com/t/need-to-deploy-os-using-ansible-playbook/32744)

<div class="topic-metadata">

**Author:** [@Pavan\_Nr](https://forum.ansible.com/u/Pavan_Nr)\
**Replies:** 5\
**Last updated:** [April 22, 2020, 4:54am UTC](https://forum.ansible.com/t/need-to-deploy-os-using-ansible-playbook/32744 "2020-04-22T04:54:07Z")

</div>

Hi All, any one experimented how to deploy OS using playbook ? how to call WDS Server using ansible playbook? if anyone done , please share me steps. regards, Pavan

---

## [yum repolist -v Output to Vars/Dict and use the data](https://forum.ansible.com/t/yum-repolist-v-output-to-vars-dict-and-use-the-data/32697)

<div class="topic-metadata">

**Author:** [@Spoonless](https://forum.ansible.com/u/Spoonless)\
**Replies:** 7\
**Last updated:** [April 21, 2020, 9:01pm UTC](https://forum.ansible.com/t/yum-repolist-v-output-to-vars-dict-and-use-the-data/32697 "2020-04-21T21:01:58Z")

</div>

Hi all, I am having some difficulty in getting my head around the use of variables, facts and dicts. The Ansible yum module does not give me output from an equivalent yum repolist -v command, so I am using shell for th…

---

## [How to replace IP using nios\_host\_record](https://forum.ansible.com/t/how-to-replace-ip-using-nios-host-record/32750)

<div class="topic-metadata">

**Author:** [@Naveen\_Chandra\_Sekha](https://forum.ansible.com/u/Naveen_Chandra_Sekha)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 5:14pm UTC](https://forum.ansible.com/t/how-to-replace-ip-using-nios-host-record/32750 "2020-04-21T17:14:10Z")

</div>

As of now we can replace the name only. Is it possible to replace IP on an existing host record? Thanks for your reply

---

## [How to create Multiple Guest Vms Snapshot](https://forum.ansible.com/t/how-to-create-multiple-guest-vms-snapshot/32734)

<div class="topic-metadata">

**Author:** [@Arvind\_Kumar](https://forum.ansible.com/u/Arvind_Kumar)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 4:54pm UTC](https://forum.ansible.com/t/how-to-create-multiple-guest-vms-snapshot/32734 "2020-04-21T16:54:57Z")

</div>

HI, I have Created a playbook to take a snapshot before patching of servers but this playbook has only one Guest\_vm define so it working perfectly for me. - name: Vmware guest snapshot create hosts: test-hypervisor ta…

---

## [Need help with ansible error using register and when condition](https://forum.ansible.com/t/need-help-with-ansible-error-using-register-and-when-condition/32745)

<div class="topic-metadata">

**Author:** [@Vladimir\_Chavkovski](https://forum.ansible.com/u/Vladimir_Chavkovski)\
**Replies:** 3\
**Last updated:** [April 21, 2020, 3:15pm UTC](https://forum.ansible.com/t/need-help-with-ansible-error-using-register-and-when-condition/32745 "2020-04-21T15:15:04Z")

</div>

Ansible playbook with register and when condition getting error

---

## [Proxmox VM provisioning with ansible - how to run task on created vm?](https://forum.ansible.com/t/proxmox-vm-provisioning-with-ansible-how-to-run-task-on-created-vm/32747)

<div class="topic-metadata">

**Author:** [@Lukasz\_Boczkaja](https://forum.ansible.com/u/Lukasz_Boczkaja)\
**Replies:** 1\
**Last updated:** [April 21, 2020, 12:07pm UTC](https://forum.ansible.com/t/proxmox-vm-provisioning-with-ansible-how-to-run-task-on-created-vm/32747 "2020-04-21T12:07:09Z")

</div>

Hi, I want to create a role that would do all of this tasks: Create vm from template with preconfigured IP address Modify vm parameters Power up and wait for vm to be network reachable Connect to newly creat…

---

## [How to schedule a task which should be run after every 30 mins](https://forum.ansible.com/t/how-to-schedule-a-task-which-should-be-run-after-every-30-mins/32743)

<div class="topic-metadata">

**Author:** [@Samir\_Kothawade](https://forum.ansible.com/u/Samir_Kothawade)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 8:53am UTC](https://forum.ansible.com/t/how-to-schedule-a-task-which-should-be-run-after-every-30-mins/32743 "2020-04-21T08:53:41Z")

</div>

Hi, I want to execute specified task in ansible playbook after every 30 mins. Task is not just a command, so “at” module does not work in my case or may be I am not doing it in proper way : Here is my play book. Playbo…

---

## [Awx-manage command not working](https://forum.ansible.com/t/awx-manage-command-not-working/32736)

<div class="topic-metadata">

**Author:** [@U.Pawan\_Vinayak](https://forum.ansible.com/u/U.Pawan_Vinayak)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 8:37am UTC](https://forum.ansible.com/t/awx-manage-command-not-working/32736 "2020-04-21T08:37:02Z")

</div>

Hi Team We are using awx 9.0.1.0 version. After logging in to the server where awx is installed I ran below command awx-manage - - version I got a below error awx-manage command not found in the system. I had tried…

---

## [Deprecation of merge hash\_behavior](https://forum.ansible.com/t/deprecation-of-merge-hash-behavior/32746)

<div class="topic-metadata">

**Author:** [@oxedions](https://forum.ansible.com/u/oxedions)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 8:29am UTC](https://forum.ansible.com/t/deprecation-of-merge-hash-behavior/32746 "2020-04-21T08:29:35Z")

</div>

Dear Ansible community, First, I would like to express my thanks for all the work done around Ansible. We are using it each day, and we love it. We even made a whole cluster stack around it! Part is opensource, other p…

---

## [Relation between Ansible and SDN](https://forum.ansible.com/t/relation-between-ansible-and-sdn/32732)

<div class="topic-metadata">

**Author:** [@nabil\_hama](https://forum.ansible.com/u/nabil_hama)\
**Replies:** 10\
**Last updated:** [April 21, 2020, 6:05am UTC](https://forum.ansible.com/t/relation-between-ansible-and-sdn/32732 "2020-04-21T06:05:56Z")

</div>

Hello, Please, could explain to me, that is the relation between Ansible and SDN, how it can work together? with what architecture? thanks in advance BR

---

## [LDAP integration with ldap\_entry module.](https://forum.ansible.com/t/ldap-integration-with-ldap-entry-module/30044)

<div class="topic-metadata">

**Author:** [@Nikhil1](https://forum.ansible.com/u/Nikhil1)\
**Replies:** 1\
**Last updated:** [April 21, 2020, 5:17am UTC](https://forum.ansible.com/t/ldap-integration-with-ldap-entry-module/30044 "2020-04-21T05:17:52Z")

</div>

Hi, Am trying to interface with LDAP on Linux and creating a new user. if uid doesn’t exist, then it should ideally create one. However, am getting below error. My ansible playbbok is as below: name: LDAP user check …

---

## [How can I use the ip in a playbook when inventory has ansible\_host](https://forum.ansible.com/t/how-can-i-use-the-ip-in-a-playbook-when-inventory-has-ansible-host/32740)

<div class="topic-metadata">

**Author:** [@Scott\_Fella](https://forum.ansible.com/u/Scott_Fella)\
**Replies:** 5\
**Last updated:** [April 21, 2020, 5:09am UTC](https://forum.ansible.com/t/how-can-i-use-the-ip-in-a-playbook-when-inventory-has-ansible-host/32740 "2020-04-21T05:09:40Z")

</div>

Currently trying to see if there is a way I can grab the ip defined in the ansible\_host and use that in a playbook. I know there is inventory\_hostaname, but these for example are not in dns. hosts inventory example: \[a…

---

## [Concatenate strings using with\_items and assign to a variable in Ansible](https://forum.ansible.com/t/concatenate-strings-using-with-items-and-assign-to-a-variable-in-ansible/24015)

<div class="topic-metadata">

**Author:** [@charan.sevakula](https://forum.ansible.com/u/charan.sevakula)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 4:39am UTC](https://forum.ansible.com/t/concatenate-strings-using-with-items-and-assign-to-a-variable-in-ansible/24015 "2020-04-21T04:39:37Z")

</div>

I need to save two 2 IPs to a variable in a vars\_file when launching ec2\_instances, which are used later during deployment. This is how I am saving a single server ip: - name: Save server public IP to vars file linei…

---

## [fortigate backup cfg](https://forum.ansible.com/t/fortigate-backup-cfg/32741)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 3:29am UTC](https://forum.ansible.com/t/fortigate-backup-cfg/32741 "2020-04-21T03:29:29Z")

</div>

Dear All: I have some problem， I ran ansible fortigate backup cfg it’s file have in path but ansible have error msg { “msg”: “Failed while reading configuration backup”} I don’t know what happened This is my ansible …

---

## [Help with a Windows target node](https://forum.ansible.com/t/help-with-a-windows-target-node/32683)

<div class="topic-metadata">

**Author:** [@NoobSkywalker](https://forum.ansible.com/u/NoobSkywalker)\
**Replies:** 3\
**Last updated:** [April 20, 2020, 5:05pm UTC](https://forum.ansible.com/t/help-with-a-windows-target-node/32683 "2020-04-20T17:05:02Z")

</div>

---

## [REST API to add host to inventory for Ansible Tower is Not working!](https://forum.ansible.com/t/rest-api-to-add-host-to-inventory-for-ansible-tower-is-not-working/32714)

<div class="topic-metadata">

**Author:** [@Vivek\_Mandal](https://forum.ansible.com/u/Vivek_Mandal)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 5:03pm UTC](https://forum.ansible.com/t/rest-api-to-add-host-to-inventory-for-ansible-tower-is-not-working/32714 "2020-04-20T17:03:57Z")

</div>

Hi, I have been trying to execute a REST API to Add a host to an inventory.Below is the API. /api/v2/inventories/{id}/hosts/ Unfortunately, This API doesn't work. It gives the response as 200(Ok). But only display…

---

## [I can read the key from KV but cannot pass it on as a private key.](https://forum.ansible.com/t/i-can-read-the-key-from-kv-but-cannot-pass-it-on-as-a-private-key/32738)

<div class="topic-metadata">

**Author:** [@Ali\_Shaik](https://forum.ansible.com/u/Ali_Shaik)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 3:34pm UTC](https://forum.ansible.com/t/i-can-read-the-key-from-kv-but-cannot-pass-it-on-as-a-private-key/32738 "2020-04-20T15:34:57Z")

</div>

At the time of running the playbook, ansible should be able to source the key from Azure Key Vault and use that key to log in to the hosts. With managed keys in KV it is possible to capture the key at the run time, but …

---

## [DNS Update (AD)](https://forum.ansible.com/t/dns-update-ad/32737)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 2:51pm UTC](https://forum.ansible.com/t/dns-update-ad/32737 "2020-04-20T14:51:53Z")

</div>

Doesn’t the win\_dns\_record module just do everything already? Just one task and be done with it?

---

## [AWX 10 with multiple instances - webui is not updated while job's running](https://forum.ansible.com/t/awx-10-with-multiple-instances-webui-is-not-updated-while-jobs-running/32646)

<div class="topic-metadata">

**Author:** [@Wilfried\_HUMBERT](https://forum.ansible.com/u/Wilfried_HUMBERT)\
**Replies:** 4\
**Last updated:** [April 20, 2020, 1:52pm UTC](https://forum.ansible.com/t/awx-10-with-multiple-instances-webui-is-not-updated-while-jobs-running/32646 "2020-04-20T13:52:22Z")

</div>

Hi folks, I’ve only been working on Ansible for a short time and I don’t have a production instance yet. It’s all new to me. I’m trying to install AWX/ansible in multiple instances mode. Initially, I based my work on …

---

## [Loop functionality is failing when i use add\_host module inventory in other playbook](https://forum.ansible.com/t/loop-functionality-is-failing-when-i-use-add-host-module-inventory-in-other-playbook/32716)

<div class="topic-metadata">

**Author:** [@Suresh\_Karpurapu](https://forum.ansible.com/u/Suresh_Karpurapu)\
**Replies:** 1\
**Last updated:** [April 20, 2020, 12:07pm UTC](https://forum.ansible.com/t/loop-functionality-is-failing-when-i-use-add-host-module-inventory-in-other-playbook/32716 "2020-04-20T12:07:57Z")

</div>

Hi Ansible team, I am using the CSV file as below for nfs volume migration as we have 1000 servers with 100 volumes. Hence, i would like to make to host inventory using add\_host file instead using inventory file. Howeve…

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

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