# Latest

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

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

**Page:** 556

---

## [Ansible 2.5.3 is available](https://forum.ansible.com/t/ansible-2-5-3-is-available/27555)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 6:11am UTC](https://forum.ansible.com/t/ansible-2-5-3-is-available/27555 "2018-05-18T06:11:12Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.3 is now available! How do you get it?

---

## [Powershell script failing when run in playbook - works on other servers and runs ok manually on target host - cannot find path](https://forum.ansible.com/t/powershell-script-failing-when-run-in-playbook-works-on-other-servers-and-runs-ok-manually-on-target-host-cannot-find-path/27553)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 1:09am UTC](https://forum.ansible.com/t/powershell-script-failing-when-run-in-playbook-works-on-other-servers-and-runs-ok-manually-on-target-host-cannot-find-path/27553 "2018-05-18T01:09:45Z")

</div>

The play copies a powershell script and runs it on the target - the script looks up files in C:\\Temp. This path definitely exists. I can run this play without issues against other test servers - now that I want to run t…

---

## [execute role dependencies \_after\_ role](https://forum.ansible.com/t/execute-role-dependencies-after-role/14116)

<div class="topic-metadata">

**Author:** [@James\_Martin2](https://forum.ansible.com/u/James_Martin2)\
**Replies:** 6\
**Last updated:** [May 18, 2018, 1:02am UTC](https://forum.ansible.com/t/execute-role-dependencies-after-role/14116 "2018-05-18T01:02:42Z")

</div>

As it currently stands, role dependencies are executed prior to the role in which they are defined. This is a good feature. But! I'm running into the situation where I have a 'common' role that gets run after some O…

---

## [win\_updates fail](https://forum.ansible.com/t/win-updates-fail/27540)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 7:18pm UTC](https://forum.ansible.com/t/win-updates-fail/27540 "2018-05-17T19:18:11Z")

</div>

Hi there, I’m using the win\_updates module but the module fails to install any updates. \` name: Install all security, critical, and rollup updates block: win\_updates: category\_names: SecurityUpdates CriticalUpdates …

---

## [Installing Java JRE on windows 2016 core](https://forum.ansible.com/t/installing-java-jre-on-windows-2016-core/27549)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [May 17, 2018, 6:50pm UTC](https://forum.ansible.com/t/installing-java-jre-on-windows-2016-core/27549 "2018-05-17T18:50:33Z")

</div>

Hi, I had problems getting ansible to install java on a windows 2016 server… I started using the 64 bit version and then it worked fine. Now I am trying to do the same on 2016 server core and it fails with the 64 bit v…

---

## [Host lists, facts and handlers](https://forum.ansible.com/t/host-lists-facts-and-handlers/27164)

<div class="topic-metadata">

**Author:** [@Marc\_Haber](https://forum.ansible.com/u/Marc_Haber)\
**Replies:** 8\
**Last updated:** [May 17, 2018, 4:58pm UTC](https://forum.ansible.com/t/host-lists-facts-and-handlers/27164 "2018-05-17T16:58:00Z")

</div>

Hi, I do regularly have the problem that I want to manage directory contents. To make things easier, we take an every day example such as /etc/apt/sources.list.d on a Debian system. While I am aware that there is a s…

---

## [azure\_rm\_virtualmachine: error to import AzureRMModuleBase](https://forum.ansible.com/t/azure-rm-virtualmachine-error-to-import-azurermmodulebase/27541)

<div class="topic-metadata">

**Author:** [@Irfan\_Sayed](https://forum.ansible.com/u/Irfan_Sayed)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 1:36pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-error-to-import-azurermmodulebase/27541 "2018-05-17T13:36:48Z")

</div>

Hello, I am trying to create the azure VM using ansible module : azure\_rm\_virtualmachine document referred : https://docs.ansible.com/ansible/2.4/azure\_rm\_virtualmachine\_module.html Actual error TASK \[azure\_vm\_creat…

---

## [File copy/Create folder on Windows server based upon json output from Powershell](https://forum.ansible.com/t/file-copy-create-folder-on-windows-server-based-upon-json-output-from-powershell/27527)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 9\
**Last updated:** [May 17, 2018, 10:46am UTC](https://forum.ansible.com/t/file-copy-create-folder-on-windows-server-based-upon-json-output-from-powershell/27527 "2018-05-17T10:46:06Z")

</div>

Firstly - sorry for the noob question. I’ve written a Powershell script that is run from a play that returns in json the name of a zip file. Output from Powershell { “Name”: “latest-ansible v0.1.zip” } playbook

---

## [winrm send\_input failed](https://forum.ansible.com/t/winrm-send-input-failed/25384)

<div class="topic-metadata">

**Author:** [@sohail.prodevans](https://forum.ansible.com/u/sohail.prodevans)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 8:58am UTC](https://forum.ansible.com/t/winrm-send-input-failed/25384 "2018-05-17T08:58:14Z")

</div>

\[WARNING\]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call last): File “/usr/lib/python2.7/site- packages/ansible/plugins/connection/winrm.py”, line 267, in \_winrm\_exec self.\_winrm\_send\_input(self.protoc…

---

## [delegate\_to with --extra-vars usage](https://forum.ansible.com/t/delegate-to-with-extra-vars-usage/27535)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 8:15am UTC](https://forum.ansible.com/t/delegate-to-with-extra-vars-usage/27535 "2018-05-17T08:15:23Z")

</div>

Trying to do something that seems straightforward but can’t work out why its failing. I’m simply trying to pass a random server within a group whose name is supplied at execution time to a task using “delegate\_to” and “…

---

## [Getting UUID of a VMware Virtual Machine using Ansible](https://forum.ansible.com/t/getting-uuid-of-a-vmware-virtual-machine-using-ansible/27551)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 5:07am UTC](https://forum.ansible.com/t/getting-uuid-of-a-vmware-virtual-machine-using-ansible/27551 "2018-05-17T05:07:36Z")

</div>

We are working on Ansible Environemt. We wanted to connect to a Newly Deployed VM using its UUUID. How to Get the UUID of a VMware Virtual Machine using Ansible so that i can establish the connection.

---

## [ansible error with loops (with\_items)](https://forum.ansible.com/t/ansible-error-with-loops-with-items/27548)

<div class="topic-metadata">

**Author:** [@jeyyu2003](https://forum.ansible.com/u/jeyyu2003)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 3:12am UTC](https://forum.ansible.com/t/ansible-error-with-loops-with-items/27548 "2018-05-17T03:12:19Z")

</div>

Hi, I am trying to use Ansible to reference a file to populate variables onto my mail playbook and having issues. Inline and using Jinja templates work but not with this specific configuration. Here’s my main loop3.yml …

---

## [Running a Playbook in AWX Template](https://forum.ansible.com/t/running-a-playbook-in-awx-template/27516)

<div class="topic-metadata">

**Author:** [@marcalfa1](https://forum.ansible.com/u/marcalfa1)\
**Replies:** 8\
**Last updated:** [May 17, 2018, 2:38am UTC](https://forum.ansible.com/t/running-a-playbook-in-awx-template/27516 "2018-05-17T02:38:30Z")

</div>

When I run this playbook from CLI using “ansible-playbook” it’s working fine. When I try to run it from AWX console using a template, i’m getting the error below. Can anyone please help me figure out what I’m doing wron…

---

## [Send commands to a not supported router](https://forum.ansible.com/t/send-commands-to-a-not-supported-router/27550)

<div class="topic-metadata">

**Author:** [@Juan\_Manuel\_Fernande](https://forum.ansible.com/u/Juan_Manuel_Fernande)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 2:36am UTC](https://forum.ansible.com/t/send-commands-to-a-not-supported-router/27550 "2018-05-17T02:36:51Z")

</div>

Hi! I’m a newbie to the ansible world. I want to generate a .yml file that send commands to a router. I try with routers cisco with the ios\_command module and works fine but y want to do the same with other router of …

---

## [Waiting for OS customization to complete](https://forum.ansible.com/t/waiting-for-os-customization-to-complete/27480)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 8:58pm UTC](https://forum.ansible.com/t/waiting-for-os-customization-to-complete/27480 "2018-05-16T20:58:09Z")

</div>

A question, We have templates that have been saved with sysprep. As I can with Ansible, after deploying the templates, wait for OS customization of sysprep to be completed. I have seen the following article for powerc…

---

## [Different output from URI module on different ansible versions.](https://forum.ansible.com/t/different-output-from-uri-module-on-different-ansible-versions/27538)

<div class="topic-metadata">

**Author:** [@canta](https://forum.ansible.com/u/canta)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 8:26pm UTC](https://forum.ansible.com/t/different-output-from-uri-module-on-different-ansible-versions/27538 "2018-05-16T20:26:08Z")

</div>

Hi all. I'm having a problem with the URI module: in two different servers, with different ansible versions, I get different output from the same uri call. I'm taking some code from the uri module docs themselves, like …

---

## [Modify various groups if present](https://forum.ansible.com/t/modify-various-groups-if-present/27547)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 7:08pm UTC](https://forum.ansible.com/t/modify-various-groups-if-present/27547 "2018-05-16T19:08:10Z")

</div>

How would you approach modifying the gid of a group on a server only if it exists? I know I can do this for 3 groups within 3 separate tasks (as an example), but I was hoping to combine them into a single task (see last …

---

## [ec2 CPU optimizing options](https://forum.ansible.com/t/ec2-cpu-optimizing-options/27545)

<div class="topic-metadata">

**Author:** [@Terry\_George](https://forum.ansible.com/u/Terry_George)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 3:30pm UTC](https://forum.ansible.com/t/ec2-cpu-optimizing-options/27545 "2018-05-16T15:30:16Z")

</div>

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html Is there current support in the ec2 module for CPU optimization yet? Basically you can customize the number of CPU cores and the number of t…

---

## [sudo\_exe deprecated in 2.8 use become\_exe](https://forum.ansible.com/t/sudo-exe-deprecated-in-2-8-use-become-exe/27544)

<div class="topic-metadata">

**Author:** [@Chris7](https://forum.ansible.com/u/Chris7)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 3:28pm UTC](https://forum.ansible.com/t/sudo-exe-deprecated-in-2-8-use-become-exe/27544 "2018-05-16T15:28:22Z")

</div>

Good day, I have an alternate location for my sudo command for root. When I set the path in ansible.cfg my command executes correctly however I get the warning listed below. I changed this path in ansible.cfg using sudo…

---

## [time out](https://forum.ansible.com/t/time-out/27522)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 2:36pm UTC](https://forum.ansible.com/t/time-out/27522 "2018-05-16T14:36:48Z")

</div>

Hi all, ansible 2.4.0.0 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/notebook/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python module location = /usr…

---

## [User and Password while using the uri\_module](https://forum.ansible.com/t/user-and-password-while-using-the-uri-module/27543)

<div class="topic-metadata">

**Author:** [@zenghuimin666](https://forum.ansible.com/u/zenghuimin666)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 2:05pm UTC](https://forum.ansible.com/t/user-and-password-while-using-the-uri-module/27543 "2018-05-16T14:05:58Z")

</div>

Hi everyone! Is there any possibility for me to create a user for an application, for instance Rocket.Chat, with ansible? I was using uri\_module. I tried to get the system info and login with ansible-playbook, which wor…

---

## [Help me please. How can I get the output of the command?](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27528)

<div class="topic-metadata">

**Author:** [@Josh\_Smift2](https://forum.ansible.com/u/Josh_Smift2)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 1:56pm UTC](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27528 "2018-05-16T13:56:22Z")

</div>

Why are you setting “verbosity: 3”? According to http://docs.ansible.com/ansible/latest/modules/debug\_module.html, that means “if you set to 3 it will only run debug when -vvv or above”. That’s causing Ansible to skip th…

---

## [best way to go about dhcp](https://forum.ansible.com/t/best-way-to-go-about-dhcp/27536)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 12:58pm UTC](https://forum.ansible.com/t/best-way-to-go-about-dhcp/27536 "2018-05-16T12:58:11Z")

</div>

Hi, Posting a hypothetical. Since my windows environment relies on a hosts file with addresses in said file, what do you do when your environment is dhcp? Like if the IPs keep changing, whats to be done in the hosts fi…

---

## [Cloud computing: how to update the inventory?](https://forum.ansible.com/t/cloud-computing-how-to-update-the-inventory/27542)

<div class="topic-metadata">

**Author:** [@ftriboix](https://forum.ansible.com/u/ftriboix)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 11:19am UTC](https://forum.ansible.com/t/cloud-computing-how-to-update-the-inventory/27542 "2018-05-16T11:19:12Z")

</div>

Hi everyone, I am currently writing some Ansible roles and playbooks to setup an AWS infrastructure and then to deploy apps/databases. The issue I have is that I want to create some EC2 instances during the first stage…

---

## [AWS ec2 creation problems with boto; boto3 running playbooks on AWS (first try on AWS)](https://forum.ansible.com/t/aws-ec2-creation-problems-with-boto-boto3-running-playbooks-on-aws-first-try-on-aws/27539)

<div class="topic-metadata">

**Author:** [@computerprosupport](https://forum.ansible.com/u/computerprosupport)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 10:44pm UTC](https://forum.ansible.com/t/aws-ec2-creation-problems-with-boto-boto3-running-playbooks-on-aws-first-try-on-aws/27539 "2018-05-15T22:44:37Z")

</div>

I am trying to create and ec2 instance from my Mac OSX machine. I highlighted the failure in Yellow. I have installed boto and boto3 via pip and there were no error messages on install. =\> pip3 list Package Version …

---

## [Best way to run powershell command?](https://forum.ansible.com/t/best-way-to-run-powershell-command/27534)

<div class="topic-metadata">

**Author:** [@Ab\_Generette](https://forum.ansible.com/u/Ab_Generette)\
**Replies:** 5\
**Last updated:** [May 15, 2018, 10:30pm UTC](https://forum.ansible.com/t/best-way-to-run-powershell-command/27534 "2018-05-15T22:30:47Z")

</div>

On my (winrm) target host, I am able to run the following: PS C:\\Users\\agenerette\> c:/Python27/python.exe c:/xx/run/yy/tests/confluence\_api\_test.py When I try to incorporate that into a playbook, however, I get a gre…

---

## [playbooks and tasks](https://forum.ansible.com/t/playbooks-and-tasks/27537)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 9:42pm UTC](https://forum.ansible.com/t/playbooks-and-tasks/27537 "2018-05-15T21:42:53Z")

</div>

I was reading the thread "VMware - convert template to virtual machines" and when I saw Nick's structure I realized I do have a lot to learn conceptually about ansible. Specifically having playbooks and roles separate…

---

## [VMware - convert template to virtual machines](https://forum.ansible.com/t/vmware-convert-template-to-virtual-machines/27397)

<div class="topic-metadata">

**Author:** [@Edward\_Ahern](https://forum.ansible.com/u/Edward_Ahern)\
**Replies:** 11\
**Last updated:** [May 15, 2018, 6:58pm UTC](https://forum.ansible.com/t/vmware-convert-template-to-virtual-machines/27397 "2018-05-15T18:58:28Z")

</div>

Hi All, I’m looking for a way to convert a VMware template to a virtual machine using Ansible. The work flow is: Convert a template to a virtual machine Power on Login to the virtual machine Update the OS patches (…

---

## [Best way to run Python scripts against Managed Cygwin nodes](https://forum.ansible.com/t/best-way-to-run-python-scripts-against-managed-cygwin-nodes/27525)

<div class="topic-metadata">

**Author:** [@Ab\_Generette](https://forum.ansible.com/u/Ab_Generette)\
**Replies:** 5\
**Last updated:** [May 15, 2018, 2:28pm UTC](https://forum.ansible.com/t/best-way-to-run-python-scripts-against-managed-cygwin-nodes/27525 "2018-05-15T14:28:46Z")

</div>

I have a CentOS7 control server from which I am trying to manage a few Server2012/Cygwin nodes. Those latter nodes have Cygwin setup such that its sshd component is installed and running (I’m able to successfully ssh to …

---

## ['unarchive' has extra params, which is only allowed in the following modules](https://forum.ansible.com/t/unarchive-has-extra-params-which-is-only-allowed-in-the-following-modules/27533)

<div class="topic-metadata">

**Author:** [@Sumer\_Singh](https://forum.ansible.com/u/Sumer_Singh)\
**Replies:** 3\
**Last updated:** [May 15, 2018, 2:03pm UTC](https://forum.ansible.com/t/unarchive-has-extra-params-which-is-only-allowed-in-the-following-modules/27533 "2018-05-15T14:03:59Z")

</div>

ERROR! this task ‘unarchive’ has extra params, which is only allowed in the following modules: command, win\_command, shell, win\_shell, script, include, include\_vars, include\_tasks, include\_role, import\_tasks, import\_role…

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

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