# Latest

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

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

**Page:** 384

---

## [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/32715)

<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/32715 "2020-04-20T12:07:12Z")

</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…

---

## [win\_regedit software restriction HKCU](https://forum.ansible.com/t/win-regedit-software-restriction-hkcu/32735)

<div class="topic-metadata">

**Author:** [@Kumaresh\_kulal](https://forum.ansible.com/u/Kumaresh_kulal)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 11:34am UTC](https://forum.ansible.com/t/win-regedit-software-restriction-hkcu/32735 "2020-04-20T11:34:53Z")

</div>

I am working on win\_regedit playbook to restrict software. So far the win\_regedit playbook gets created for HKEY\_LOCAL\_MACHINE below is the playbook:

---

## [How generate dynamic host file with only IP of concrete vendor (by MAC)](https://forum.ansible.com/t/how-generate-dynamic-host-file-with-only-ip-of-concrete-vendor-by-mac/32731)

<div class="topic-metadata">

**Author:** [@Michal\_Siman](https://forum.ansible.com/u/Michal_Siman)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 11:33am UTC](https://forum.ansible.com/t/how-generate-dynamic-host-file-with-only-ip-of-concrete-vendor-by-mac/32731 "2020-04-20T11:33:08Z")

</div>

Hello to everybody. I would like run ansible playbook on all RPi (raspberry) in our network (at this moment we have around 300 pieces). All RPi have a IP dynamic from DHCP server. My idea is scann complete network found …

---

## [How to define a register per server](https://forum.ansible.com/t/how-to-define-a-register-per-server/32733)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 11:18am UTC](https://forum.ansible.com/t/how-to-define-a-register-per-server/32733 "2020-04-20T11:18:54Z")

</div>

Hi, Have a task that disables Ipv6. The task should run only if the ipv6 folder exists. In order to implement the above, I have 2 tasks, the first task checks if a folder exists and saves the output to a register, the…

---

## [After failed task on 99% of my server  , the rest of the playbook is running only on the 1% servers that passed the tasks](https://forum.ansible.com/t/after-failed-task-on-99-of-my-server-the-rest-of-the-playbook-is-running-only-on-the-1-servers-that-passed-the-tasks/32730)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [April 20, 2020, 6:52am UTC](https://forum.ansible.com/t/after-failed-task-on-99-of-my-server-the-rest-of-the-playbook-is-running-only-on-the-1-servers-that-passed-the-tasks/32730 "2020-04-20T06:52:41Z")

</div>

Hi , I have a main playbook that uses “include” to call other playbooks. In one of the playbooks, I have 5 tasks. The second task falls on all my servers except for one server - From that point, the entire playbook (ma…

---

## [Become plugin](https://forum.ansible.com/t/become-plugin/31406)

<div class="topic-metadata">

**Author:** [@Torrpenn356](https://forum.ansible.com/u/Torrpenn356)\
**Replies:** 5\
**Last updated:** [April 19, 2020, 7:11pm UTC](https://forum.ansible.com/t/become-plugin/31406 "2020-04-19T19:11:04Z")

</div>

Hello, I hope, I am posting my question on the right group, if not, please tell me I need to use a dedicated become method and want to know, if it is possible, or, if only the “official” ones are authorized. If it is …

---

## [How to mix a reboot handler with a service restart handler in the same Ansible playbook?](https://forum.ansible.com/t/how-to-mix-a-reboot-handler-with-a-service-restart-handler-in-the-same-ansible-playbook/32729)

<div class="topic-metadata">

**Author:** [@Ricardo\_Amaral](https://forum.ansible.com/u/Ricardo_Amaral)\
**Replies:** 2\
**Last updated:** [April 19, 2020, 5:53pm UTC](https://forum.ansible.com/t/how-to-mix-a-reboot-handler-with-a-service-restart-handler-in-the-same-ansible-playbook/32729 "2020-04-19T17:53:20Z")

</div>

I’m writing an Ansible playbook to set up my Raspberry Pi so that I can keep a versioned configuration and a way for me to quickly get a Pi up and running in case I need to reset it or start from scratch. This playbook …

---

## [How to change remote hosts' terminal screen size/resolution in Ansible](https://forum.ansible.com/t/how-to-change-remote-hosts-terminal-screen-size-resolution-in-ansible/32724)

<div class="topic-metadata">

**Author:** [@Samir\_Kothawade](https://forum.ansible.com/u/Samir_Kothawade)\
**Replies:** 15\
**Last updated:** [April 19, 2020, 7:00am UTC](https://forum.ansible.com/t/how-to-change-remote-hosts-terminal-screen-size-resolution-in-ansible/32724 "2020-04-19T07:00:44Z")

</div>

Hi, Here is the brief about scenario: login to Debian host machine using ansible Go to corresponding directory where the binary is and execute that binary. (This binary is written in c and C++. After execution it ask …

---

## [Ansible-playbook](https://forum.ansible.com/t/ansible-playbook/32728)

<div class="topic-metadata">

**Author:** [@Orkhan\_Mammadov](https://forum.ansible.com/u/Orkhan_Mammadov)\
**Replies:** 1\
**Last updated:** [April 19, 2020, 12:04am UTC](https://forum.ansible.com/t/ansible-playbook/32728 "2020-04-19T00:04:08Z")

</div>

Hi guys, I have created file under /etc/sudoers.d/ directory with this entry: ansible ALL=(ALL) NOPASSWD:ALL and copied to managed hosts in order to install some service such as vsftpd on those hosts. I can ssh and ins…

---

## [Module name not misspelled, but didn't exist yet](https://forum.ansible.com/t/module-name-not-misspelled-but-didnt-exist-yet/32727)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [April 18, 2020, 8:31pm UTC](https://forum.ansible.com/t/module-name-not-misspelled-but-didnt-exist-yet/32727 "2020-04-18T20:31:19Z")

</div>

Hi The "misspelled module name" issue seems to be a recurring one. In the majority of cases the spelling is actually correct, it's just that that module didn't exist yet in the version of ansible that raises the err…

---

## [Try to put 1 Ansible facts from multiple servers into one list](https://forum.ansible.com/t/try-to-put-1-ansible-facts-from-multiple-servers-into-one-list/32722)

<div class="topic-metadata">

**Author:** [@gregor](https://forum.ansible.com/u/gregor)\
**Replies:** 2\
**Last updated:** [April 18, 2020, 5:00pm UTC](https://forum.ansible.com/t/try-to-put-1-ansible-facts-from-multiple-servers-into-one-list/32722 "2020-04-18T17:00:28Z")

</div>

I feel this should be easy. I’m trying to put a fact I set on each server into one central list. sat\_id is the Big List sat\_id\_raw is the variable that I set earlier in the automation. What am I missing here? Thanks…

---

## [Task Status at Playbook runtime](https://forum.ansible.com/t/task-status-at-playbook-runtime/32726)

<div class="topic-metadata">

**Author:** [@Ashish\_Sagar](https://forum.ansible.com/u/Ashish_Sagar)\
**Replies:** 3\
**Last updated:** [April 18, 2020, 4:50pm UTC](https://forum.ansible.com/t/task-status-at-playbook-runtime/32726 "2020-04-18T16:50:42Z")

</div>

Hi Folks, Is there anyway to get specific Task status like Changed, ignored or failed during Playbook runtime in synchronous mode ? Thanks Ashish

---

## [Failed to lock apt for exclusive operation](https://forum.ansible.com/t/failed-to-lock-apt-for-exclusive-operation/32725)

<div class="topic-metadata">

**Author:** [@George\_James](https://forum.ansible.com/u/George_James)\
**Replies:** 6\
**Last updated:** [April 18, 2020, 2:56pm UTC](https://forum.ansible.com/t/failed-to-lock-apt-for-exclusive-operation/32725 "2020-04-18T14:56:00Z")

</div>

I create a new user using ansible called nginx, nginx is part of the sudo group a, but when I try to do an apt install with this user I get the below error : FAILED! =\> {"changed": false, "msg": "Failed to lock apt for …

---

## [how to use suexec su in ansible](https://forum.ansible.com/t/how-to-use-suexec-su-in-ansible/32721)

<div class="topic-metadata">

**Author:** [@Pradeep\_Tiwari](https://forum.ansible.com/u/Pradeep_Tiwari)\
**Replies:** 1\
**Last updated:** [April 18, 2020, 8:40am UTC](https://forum.ansible.com/t/how-to-use-suexec-su-in-ansible/32721 "2020-04-18T08:40:00Z")

</div>

Hi All, I did look at various privilege escalation tools available but i dont see suexec listed there. Could you please guide me how to achieve this become method

---

## [Combine 2 dictionary in ansible / jinja2 (simple)](https://forum.ansible.com/t/combine-2-dictionary-in-ansible-jinja2-simple/32723)

<div class="topic-metadata">

**Author:** [@Tom\_Cheung](https://forum.ansible.com/u/Tom_Cheung)\
**Replies:** 0\
**Last updated:** [April 18, 2020, 5:47am UTC](https://forum.ansible.com/t/combine-2-dictionary-in-ansible-jinja2-simple/32723 "2020-04-18T05:47:12Z")

</div>

Hi friends, I want to use ansible to merge below 2 dictionary to become 1. I have been stucking for few days already. Headache. I have 2 variables now. 1. variable “my\_directories”: { "directoryA": \[ "/bar/foo/file1…

---

## [Ansible invoking aws\_s3 windows host in block/rescue failed error which hard to understand](https://forum.ansible.com/t/ansible-invoking-aws-s3-windows-host-in-block-rescue-failed-error-which-hard-to-understand/32712)

<div class="topic-metadata">

**Author:** [@Meir\_Yanovich](https://forum.ansible.com/u/Meir_Yanovich)\
**Replies:** 6\
**Last updated:** [April 17, 2020, 8:13pm UTC](https://forum.ansible.com/t/ansible-invoking-aws-s3-windows-host-in-block-rescue-failed-error-which-hard-to-understand/32712 "2020-04-17T20:13:09Z")

</div>

this block working fine in Linux ! i trying to use aws\_s3 to download package and using fall back to download from web if its fail but im getting error which is hard to understand and pin point the couse of the error : …

---

## [need to run powershell script without copying to target host](https://forum.ansible.com/t/need-to-run-powershell-script-without-copying-to-target-host/32717)

<div class="topic-metadata">

**Author:** [@Pavan\_Nr](https://forum.ansible.com/u/Pavan_Nr)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 7:55pm UTC](https://forum.ansible.com/t/need-to-run-powershell-script-without-copying-to-target-host/32717 "2020-04-17T19:55:01Z")

</div>

Hi All, i have machien Ansible running in RHEL 7 Target host: Windows server 2019 i was able run powershell script by copying from RHEL to windows ,working fine name: Copy a single file win\_copy: src: “{{ playboo…

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17 \[Revised\]](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32719)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 6:11pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32719 "2020-04-17T18:11:30Z")

</div>

This is an updated version of the original release announcement. It has been updated to include CVE details in the “What’s new” section. Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.1…

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17 \[Revised\]](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32718)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 6:11pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32718 "2020-04-17T18:11:23Z")

</div>

This is an updated version of the original release announcement. It has been updated to include CVE details in the “What’s new” section. Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.1…

---

## [\[HOSTVARS\]\[MERGED\] Unexpected behavior with merge variables of different host which are in several groups](https://forum.ansible.com/t/hostvars-merged-unexpected-behavior-with-merge-variables-of-different-host-which-are-in-several-groups/32675)

<div class="topic-metadata">

**Author:** [@Baptiste\_Doublet](https://forum.ansible.com/u/Baptiste_Doublet)\
**Replies:** 5\
**Last updated:** [April 17, 2020, 3:00pm UTC](https://forum.ansible.com/t/hostvars-merged-unexpected-behavior-with-merge-variables-of-different-host-which-are-in-several-groups/32675 "2020-04-17T15:00:30Z")

</div>

Hi Everybody, I have a problem that I can’t resolve on my own. I want to deploy an etcd cluster with postgresql on the same servers I have three servers and this is my inventory file: all: children: etcd\_cluster: # …

---

## [Aruba\_command no output to my Bash](https://forum.ansible.com/t/aruba-command-no-output-to-my-bash/32713)

<div class="topic-metadata">

**Author:** [@Mac](https://forum.ansible.com/u/Mac)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 12:47pm UTC](https://forum.ansible.com/t/aruba-command-no-output-to-my-bash/32713 "2020-04-17T12:47:49Z")

</div>

Hi As a newbie to Ansible i have simple question for my understanding , if do a “show version” via a Playbook on any Network device i will get the output to the bash is started the playbook right ? for Example i to a …

---

## [vpshere: how to change port group for 2nd NIC on VM via ansible](https://forum.ansible.com/t/vpshere-how-to-change-port-group-for-2nd-nic-on-vm-via-ansible/28636)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 12:32pm UTC](https://forum.ansible.com/t/vpshere-how-to-change-port-group-for-2nd-nic-on-vm-via-ansible/28636 "2020-04-17T12:32:19Z")

</div>

Scenario: VM on ESXi with 2 NICS Network\_adapter1: Fixed port group/VLAN Network\_adapter2: Variable port group/VLAN So all i am trying to achieve with ansible is to modify the port group/VLAN of Network\_adapter2, is t…

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32705)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 11:20am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32705 "2020-04-17T11:20:28Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.11, and 2.7.17 are now available! How do you get it?

---

## [query on ansible](https://forum.ansible.com/t/query-on-ansible/32710)

<div class="topic-metadata">

**Author:** [@mahesh\_g\_o](https://forum.ansible.com/u/mahesh_g_o)\
**Replies:** 6\
**Last updated:** [April 17, 2020, 11:18am UTC](https://forum.ansible.com/t/query-on-ansible/32710 "2020-04-17T11:18:06Z")

</div>

I have below playbook: i have put a loop, there are 8 aggr and 4 protocols: this playbook output is like after every 4 loop, it increments aggr and protocols. output of the playbook is: svm1,svm2,svm3,svm4—aggr1 and n…

---

## [Playbook to reboot the machine infinite times](https://forum.ansible.com/t/playbook-to-reboot-the-machine-infinite-times/32707)

<div class="topic-metadata">

**Author:** [@Pavan\_Nr](https://forum.ansible.com/u/Pavan_Nr)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 9:42am UTC](https://forum.ansible.com/t/playbook-to-reboot-the-machine-infinite-times/32707 "2020-04-17T09:42:17Z")

</div>

Hi, Need help to create playbook, server need to reboot over night in loop, like 100 time’s I need to reboot and It should stop and collect the event viewer logs. Do we have module already? Thanks, Pavan

---

## [Where to find dependency packages list for specific type of setup?](https://forum.ansible.com/t/where-to-find-dependency-packages-list-for-specific-type-of-setup/32711)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 9:34am UTC](https://forum.ansible.com/t/where-to-find-dependency-packages-list-for-specific-type-of-setup/32711 "2020-04-17T09:34:17Z")

</div>

Hi All, Is there a list or documentation reference which provides the details of specific list of packages which are required for each type of AWX setup. For instance, i want to install AWX using Docker on Linux. Is th…

---

## [Need help on json query call in ansible](https://forum.ansible.com/t/need-help-on-json-query-call-in-ansible/32692)

<div class="topic-metadata">

**Author:** [@Suresh\_Karpurapu](https://forum.ansible.com/u/Suresh_Karpurapu)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 8:07am UTC](https://forum.ansible.com/t/need-help-on-json-query-call-in-ansible/32692 "2020-04-17T08:07:23Z")

</div>

Hi Ansible Guru’s 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. Howev…

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32706)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 3:11am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32706 "2020-04-17T03:11:28Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.11, and 2.7.17 are now available! How do you get it?

---

## [ec2\_vpc\_route\_table to delete a given subnet](https://forum.ansible.com/t/ec2-vpc-route-table-to-delete-a-given-subnet/32704)

<div class="topic-metadata">

**Author:** [@Kyle\_Sloan](https://forum.ansible.com/u/Kyle_Sloan)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 8:57pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-to-delete-a-given-subnet/32704 "2020-04-16T20:57:07Z")

</div>

Hello all, I am using the ec2\_vpc\_route\_table module and am able to create the route table, as well as adding more subnets with the “subnets”, “purge\_subnets” and “lookup” parameters. I however have been unable to deter…

---

## [vulnerability in AWX](https://forum.ansible.com/t/vulnerability-in-awx/32702)

<div class="topic-metadata">

**Author:** [@Amit\_Bhatia](https://forum.ansible.com/u/Amit_Bhatia)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 7:33pm UTC](https://forum.ansible.com/t/vulnerability-in-awx/32702 "2020-04-16T19:33:37Z")

</div>

Hi Team, We run Burp suit on AWX 9.0.1 deployed on kubernetes cluster and found below vulnerability: The following cookie was issued by the application and does not have the secure flag set: sessionid The cookie ap…

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

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