# Latest

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

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

**Page:** 561

---

## [Error while trying to ping a WIN 2016](https://forum.ansible.com/t/error-while-trying-to-ping-a-win-2016/27343)

<div class="topic-metadata">

**Author:** [@Selva\_Kumar](https://forum.ansible.com/u/Selva_Kumar)\
**Replies:** 2\
**Last updated:** [April 30, 2018, 9:32am UTC](https://forum.ansible.com/t/error-while-trying-to-ping-a-win-2016/27343 "2018-04-30T09:32:32Z")

</div>

Hi Team, I’m running Ansible 2.4.3.0 on a Ubuntu server. While trying to access a Windows 2016 server, getting below error. The DNS is working fine. Can someone help me in fixing this? ansible\_host=XXX.XXX.XX | UNREACH…

---

## [Syntax error after ansible update (latest)](https://forum.ansible.com/t/syntax-error-after-ansible-update-latest/27384)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 3\
**Last updated:** [April 30, 2018, 7:23am UTC](https://forum.ansible.com/t/syntax-error-after-ansible-update-latest/27384 "2018-04-30T07:23:14Z")

</div>

Hi, My playbook is not working anymore after updating ansible to latest version. For example: Vault file containing variable with value vault\_win\_password: foo20" Variable with value location: C:\\Program file…

---

## [Dynamic lists for Surveys](https://forum.ansible.com/t/dynamic-lists-for-surveys/27408)

<div class="topic-metadata">

**Author:** [@Kosala\_Atapattu1](https://forum.ansible.com/u/Kosala_Atapattu1)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 7:01am UTC](https://forum.ansible.com/t/dynamic-lists-for-surveys/27408 "2018-04-30T07:01:52Z")

</div>

Hi All, Is there a way to have dynamic lists to a survey. For example I would like to list a group of servers from my inventory, so the users can select in the serveys. Is this possible? Cheers, Ko

---

## [Connecting windows from ansible control server](https://forum.ansible.com/t/connecting-windows-from-ansible-control-server/27407)

<div class="topic-metadata">

**Author:** [@Subani\_Prasad](https://forum.ansible.com/u/Subani_Prasad)\
**Replies:** 1\
**Last updated:** [April 30, 2018, 6:10am UTC](https://forum.ansible.com/t/connecting-windows-from-ansible-control-server/27407 "2018-04-30T06:10:51Z")

</div>

hello folks, is there any way to connect to aws windows machines using ansible by using aws private key file ? i have launched one windows machine in aws with some keypair, is there any possible way to connect from ans…

---

## [ansible for openstack hardening](https://forum.ansible.com/t/ansible-for-openstack-hardening/27406)

<div class="topic-metadata">

**Author:** [@fatim.boudguig](https://forum.ansible.com/u/fatim.boudguig)\
**Replies:** 0\
**Last updated:** [April 29, 2018, 11:32pm UTC](https://forum.ansible.com/t/ansible-for-openstack-hardening/27406 "2018-04-29T23:32:13Z")

</div>

can you help me i have to write playbook for openstack hardening and i don’t know wich modules i can use

---

## [Filtering a nested structure in Jinja2, regexp matches?](https://forum.ansible.com/t/filtering-a-nested-structure-in-jinja2-regexp-matches/27403)

<div class="topic-metadata">

**Author:** [@Andy\_Smith](https://forum.ansible.com/u/Andy_Smith)\
**Replies:** 2\
**Last updated:** [April 29, 2018, 10:37am UTC](https://forum.ansible.com/t/filtering-a-nested-structure-in-jinja2-regexp-matches/27403 "2018-04-29T10:37:30Z")

</div>

Hi, I'd like to produce a template which lists disk device links. These are the things you might find in /dev/disk/by-id/\*, e.g.: $ ls /dev/disk/by-id ata-SomeVendor\_AAAAAAAAAAAA-00005\_BBBBBBBBBBBBBB ata-ST4000LM016…

---

## [S3 - File download to EC2 Windows Instance](https://forum.ansible.com/t/s3-file-download-to-ec2-windows-instance/27405)

<div class="topic-metadata">

**Author:** [@ali.khawaja](https://forum.ansible.com/u/ali.khawaja)\
**Replies:** 0\
**Last updated:** [April 29, 2018, 8:59am UTC](https://forum.ansible.com/t/s3-file-download-to-ec2-windows-instance/27405 "2018-04-29T08:59:35Z")

</div>

I am trying to achieve the following: Create ec2 instance (play 1) Configure some services (play 2) Download some iso from my s3 bucket to the ec2 instance (sql, etc) Install I have a play with hosts set to localhost …

---

## [How to avoid multiple login to the same device for multiple tasks?](https://forum.ansible.com/t/how-to-avoid-multiple-login-to-the-same-device-for-multiple-tasks/27402)

<div class="topic-metadata">

**Author:** [@Krishna\_N](https://forum.ansible.com/u/Krishna_N)\
**Replies:** 0\
**Last updated:** [April 29, 2018, 12:15am UTC](https://forum.ansible.com/t/how-to-avoid-multiple-login-to-the-same-device-for-multiple-tasks/27402 "2018-04-29T00:15:54Z")

</div>

Question: I have two tasks created, each requires a login credential for the device. When I run the playbook, it seems like the ansible has to login twice to the device (logs in, completes first task and logs out, login …

---

## [how are variable files found?](https://forum.ansible.com/t/how-are-variable-files-found/27401)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 1\
**Last updated:** [April 28, 2018, 10:59am UTC](https://forum.ansible.com/t/how-are-variable-files-found/27401 "2018-04-28T10:59:40Z")

</div>

I can’t figure out how to organise my variables. For roles, they are in a vars directory relative to the role, alongside tasks, meta etc. For playbooks, directories like group\_vars are found if placed in the same direc…

---

## [Limit debug results](https://forum.ansible.com/t/limit-debug-results/27398)

<div class="topic-metadata">

**Author:** [@Chris7](https://forum.ansible.com/u/Chris7)\
**Replies:** 0\
**Last updated:** [April 27, 2018, 6:55pm UTC](https://forum.ansible.com/t/limit-debug-results/27398 "2018-04-27T18:55:09Z")

</div>

Playbook to check for new updates in repo. I only want to return the package name instead of all the additional information. Playbook: name: “Checking for updates” yum: list: updates enablerepo: ‘epel’ register: …

---

## [Seeking clarification on Ansible for VMWare module](https://forum.ansible.com/t/seeking-clarification-on-ansible-for-vmware-module/27377)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 2\
**Last updated:** [April 27, 2018, 6:45pm UTC](https://forum.ansible.com/t/seeking-clarification-on-ansible-for-vmware-module/27377 "2018-04-27T18:45:08Z")

</div>

I’m not sure if anyone here has tried the Ansible for VMWare module, but does this module require a VMWare OVF template in order to run? Thanks,

---

## [Ansible deploy VMware a Windows VM Template](https://forum.ansible.com/t/ansible-deploy-vmware-a-windows-vm-template/27352)

<div class="topic-metadata">

**Author:** [@Xavier\_Sanchez](https://forum.ansible.com/u/Xavier_Sanchez)\
**Replies:** 1\
**Last updated:** [April 27, 2018, 4:49pm UTC](https://forum.ansible.com/t/ansible-deploy-vmware-a-windows-vm-template/27352 "2018-04-27T16:49:41Z")

</div>

Hi experts, One question please, Actually I working and testing Ansible for deploy a specified VM in a VMware infrastructure (Windows Server 2016) and I heve a problem when this VM is deployed and started, I not have …

---

## [Molecule/testinfra](https://forum.ansible.com/t/molecule-testinfra/27389)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 2\
**Last updated:** [April 27, 2018, 1:28pm UTC](https://forum.ansible.com/t/molecule-testinfra/27389 "2018-04-27T13:28:30Z")

</div>

Is anyone using molecule/testinfra to test real infrastructure (verifying things ansible has managed)? The unit testing of playbooks is awesome but how would I use the framework to test real things on real systems?

---

## [win\_command not exec admin mode](https://forum.ansible.com/t/win-command-not-exec-admin-mode/27385)

<div class="topic-metadata">

**Author:** [@aidewuado](https://forum.ansible.com/u/aidewuado)\
**Replies:** 2\
**Last updated:** [April 27, 2018, 1:09pm UTC](https://forum.ansible.com/t/win-command-not-exec-admin-mode/27385 "2018-04-27T13:09:34Z")

</div>

hello comunity, mi english is very bad, but my problem is the flowing: one partner install ansible in you ecosystem and install SQL-Server 2014 in silent mode and not problem. I install my ecosytem with ansible but in t…

---

## [vault-id and multiple password files in ansible.cfg](https://forum.ansible.com/t/vault-id-and-multiple-password-files-in-ansible-cfg/26613)

<div class="topic-metadata">

**Author:** [@kompastver](https://forum.ansible.com/u/kompastver)\
**Replies:** 1\
**Last updated:** [April 27, 2018, 11:45am UTC](https://forum.ansible.com/t/vault-id-and-multiple-password-files-in-ansible-cfg/26613 "2018-04-27T11:45:22Z")

</div>

Hi, We’re using vault files encrypted with multiple vault-id in our projects. Everything works fine when we do something like: ansible vault --vault-id generic@~/.ansible/generic-password --vault-id prod@~/.ansible/pr…

---

## [Ansible 2.5.2 is available](https://forum.ansible.com/t/ansible-2-5-2-is-available/27392)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 7:37pm UTC](https://forum.ansible.com/t/ansible-2-5-2-is-available/27392 "2018-04-26T19:37:42Z")

</div>

Ansible 2.5.2 is available Hi all- we’re happy to announce that the general release of Ansible 2.5.2 is now available! This release was fast-tracked to fix a regression around setting facts inside loops that was hittin…

---

## [Ansible 2.5.2 is available](https://forum.ansible.com/t/ansible-2-5-2-is-available/27391)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 7:37pm UTC](https://forum.ansible.com/t/ansible-2-5-2-is-available/27391 "2018-04-26T19:37:08Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.2 is now available! This release was fast-tracked to fix a regression around setting facts inside loops that was hitting a large number of users. M…

---

## [How can I disable these warnings? \[WARNING\]: Removed restricted key from module data](https://forum.ansible.com/t/how-can-i-disable-these-warnings-warning-removed-restricted-key-from-module-data/27390)

<div class="topic-metadata">

**Author:** [@Julio\_Henrique\_Morim](https://forum.ansible.com/u/Julio_Henrique_Morim)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 6:52pm UTC](https://forum.ansible.com/t/how-can-i-disable-these-warnings-warning-removed-restricted-key-from-module-data/27390 "2018-04-26T18:52:06Z")

</div>

Recently updated to Ansible 2.5 and most of our scripts are spitting out these warnings: TASK \[basic-config : include\_vars\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible win\_iis\_website module](https://forum.ansible.com/t/ansible-win-iis-website-module/27372)

<div class="topic-metadata">

**Author:** [@phil.spares12](https://forum.ansible.com/u/phil.spares12)\
**Replies:** 4\
**Last updated:** [April 26, 2018, 3:39pm UTC](https://forum.ansible.com/t/ansible-win-iis-website-module/27372 "2018-04-26T15:39:55Z")

</div>

Hello, I am having issues getting the Ansible win\_iis\_module to work. I’ve used it in the past on server 2012 but since trying on server 2016 i keep getting the following error: fatal: \[192.168.1.64\]: FAILED! =\> { "cha…

---

## [Ansible error during server reboot](https://forum.ansible.com/t/ansible-error-during-server-reboot/27388)

<div class="topic-metadata">

**Author:** [@mmr](https://forum.ansible.com/u/mmr)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 1:36pm UTC](https://forum.ansible.com/t/ansible-error-during-server-reboot/27388 "2018-04-26T13:36:24Z")

</div>

Hi I’m getting below error during sw upgrade of a server using Ansible. Remote machine is BSD unix server. Note that the reboot is not initiated by Ansible. At the end of the sw upgrade the server reboot automatically (a…

---

## [Custom Credential injector yml file creation](https://forum.ansible.com/t/custom-credential-injector-yml-file-creation/27380)

<div class="topic-metadata">

**Author:** [@Stephen\_Eaton](https://forum.ansible.com/u/Stephen_Eaton)\
**Replies:** 1\
**Last updated:** [April 26, 2018, 1:02pm UTC](https://forum.ansible.com/t/custom-credential-injector-yml-file-creation/27380 "2018-04-26T13:02:27Z")

</div>

Hi one and all, Can custom credential injectors create YAML files? I’m trying to get an inventory script working (https://github.com/mattkeeler/ansible-nutanix-inventory) in AWX and it requires a YAML config file. I se…

---

## [Find the list of all the AWS ALB target groups in which instance is registered](https://forum.ansible.com/t/find-the-list-of-all-the-aws-alb-target-groups-in-which-instance-is-registered/27387)

<div class="topic-metadata">

**Author:** [@Arbab\_Nazar1](https://forum.ansible.com/u/Arbab_Nazar1)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 12:59pm UTC](https://forum.ansible.com/t/find-the-list-of-all-the-aws-alb-target-groups-in-which-instance-is-registered/27387 "2018-04-26T12:59:23Z")

</div>

For ELB, if we want to remove the instance from all the elbs, we just need to pass the instance id to the elb\_instance module and again if we want to add the instance back in the same playbook, it give us a magic variabl…

---

## [Using win\_copy to copy 1 file to multiple directories.](https://forum.ansible.com/t/using-win-copy-to-copy-1-file-to-multiple-directories/27383)

<div class="topic-metadata">

**Author:** [@phil.spares12](https://forum.ansible.com/u/phil.spares12)\
**Replies:** 1\
**Last updated:** [April 26, 2018, 9:29am UTC](https://forum.ansible.com/t/using-win-copy-to-copy-1-file-to-multiple-directories/27383 "2018-04-26T09:29:29Z")

</div>

Hello, I’ve been working on a script to provision IIS and a basic website (literally just a html page at the moment) When th escript runs it creates two sites, and the directory for the sites in inetpub/wwwroot/folderna…

---

## [I want to run a specific task in a playbook to a single host. Is there any better way to do that?](https://forum.ansible.com/t/i-want-to-run-a-specific-task-in-a-playbook-to-a-single-host-is-there-any-better-way-to-do-that/27382)

<div class="topic-metadata">

**Author:** [@Rajesh\_Rajendran](https://forum.ansible.com/u/Rajesh_Rajendran)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 8:46am UTC](https://forum.ansible.com/t/i-want-to-run-a-specific-task-in-a-playbook-to-a-single-host-is-there-any-better-way-to-do-that/27382 "2018-04-26T08:46:50Z")

</div>

custom playbook

---

## [How to pass 'become' to 'include\_\*' in ansible2.5](https://forum.ansible.com/t/how-to-pass-become-to-include-in-ansible2-5/27353)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 5\
**Last updated:** [April 26, 2018, 8:16am UTC](https://forum.ansible.com/t/how-to-pass-become-to-include-in-ansible2-5/27353 "2018-04-26T08:16:32Z")

</div>

Hi all, apparently attributes on include tasks are not propagated to the tasks anymore in 2.5 For some reasons i need dynamic includes. How would I pass become\` to \`include\_role The usecase: When I develop a role, …

---

## [Unable to upgrade the current ansible tower version](https://forum.ansible.com/t/unable-to-upgrade-the-current-ansible-tower-version/27381)

<div class="topic-metadata">

**Author:** [@palakbadgujar2008201](https://forum.ansible.com/u/palakbadgujar2008201)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 6:53am UTC](https://forum.ansible.com/t/unable-to-upgrade-the-current-ansible-tower-version/27381 "2018-04-26T06:53:36Z")

</div>

latest version which i am using of ansible tower is:- version:- ansible 2.5.1 And want to upgrade to :- version:- 3.2.3 I followed the up gradation steps:- wget http://releases.ansible.com/ansible-tower/setup/ tar -…

---

## [Problems with ansible2.5.](https://forum.ansible.com/t/problems-with-ansible2-5/27379)

<div class="topic-metadata">

**Author:** [@12177589](https://forum.ansible.com/u/12177589)\
**Replies:** 1\
**Last updated:** [April 26, 2018, 6:18am UTC](https://forum.ansible.com/t/problems-with-ansible2-5/27379 "2018-04-26T06:18:05Z")

</div>

Previously, ansible2.4 can run normally, and after upgrading 2.5, it is wrong. As long as win\_copy is executed, the win\_template will report the error. Run again, because win\_copy skips, there is no problem. yml: - ho…

---

## [How to see roles search path?](https://forum.ansible.com/t/how-to-see-roles-search-path/27364)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 9\
**Last updated:** [April 26, 2018, 5:51am UTC](https://forum.ansible.com/t/how-to-see-roles-search-path/27364 "2018-04-26T05:51:59Z")

</div>

Is there any way to output the roles\_path in a task (not the specific path to a role, I mean the search path)? The doco for Ansible 2.5 says that roles are found in the ./roles directory relative to the playbook file, a…

---

## [Capture the path from the list returned via find module](https://forum.ansible.com/t/capture-the-path-from-the-list-returned-via-find-module/27374)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 2\
**Last updated:** [April 26, 2018, 2:50am UTC](https://forum.ansible.com/t/capture-the-path-from-the-list-returned-via-find-module/27374 "2018-04-26T02:50:28Z")

</div>

Hi all , I'm trying to find two XML files in all the locations only if it contains a severname and then pass the list of these files to the replace module to replace that severname by another string. I'm able to get th…

---

## [RDS Event Subscription](https://forum.ansible.com/t/rds-event-subscription/27378)

<div class="topic-metadata">

**Author:** [@Rajiv\_Narula](https://forum.ansible.com/u/Rajiv_Narula)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 2:31am UTC](https://forum.ansible.com/t/rds-event-subscription/27378 "2018-04-26T02:31:20Z")

</div>

Hi, Does Ansible have support for Event Subscription for RDS ? I could not find any references here http://docs.ansible.com/ansible/latest/modules/rds\_module.html Thanks,

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

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