# Latest

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

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

**Page:** 873

---

## [error\_on\_undefined\_vars doesn't work for role parameters](https://forum.ansible.com/t/error-on-undefined-vars-doesnt-work-for-role-parameters/18160)

<div class="topic-metadata">

**Author:** [@jack.martin8912](https://forum.ansible.com/u/jack.martin8912)\
**Replies:** 1\
**Last updated:** [May 5, 2015, 4:23pm UTC](https://forum.ansible.com/t/error-on-undefined-vars-doesnt-work-for-role-parameters/18160 "2015-05-05T16:23:34Z")

</div>

I was going to submit this as a bug but I decided to send email first in case I’m doing something wrong. The session below should show all required information, but let me know whether something else is needed. \` ansi…

---

## [Getting variables defined in group\_vars](https://forum.ansible.com/t/getting-variables-defined-in-group-vars/18157)

<div class="topic-metadata">

**Author:** [@Ivan\_Kurnosov](https://forum.ansible.com/u/Ivan_Kurnosov)\
**Replies:** 2\
**Last updated:** [May 5, 2015, 4:01pm UTC](https://forum.ansible.com/t/getting-variables-defined-in-group-vars/18157 "2015-05-05T16:01:53Z")

</div>

Hi, is it possible to retrieve variables defined per host with all group\_vars and host\_vars definitions applied? The case: let’s say we have a task to configure an haproxy instance. In its config file template we ite…

---

## [SSH Error: muxserver\_listen bind(): Disk quota exceeded](https://forum.ansible.com/t/ssh-error-muxserver-listen-bind-disk-quota-exceeded/18158)

<div class="topic-metadata">

**Author:** [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Replies:** 1\
**Last updated:** [May 5, 2015, 11:24am UTC](https://forum.ansible.com/t/ssh-error-muxserver-listen-bind-disk-quota-exceeded/18158 "2015-05-05T11:24:36Z")

</div>

Hi, I’m not sure where the issue lies with this so apologies if its not Ansible related. I have a EC2 instance that i’m provisioning with Ansible. Hitting fatal: \[ec2-5xxxxx5-33.compute-1.amazonaws.com\] =\> SSH Error:…

---

## [create network interface (ENI) on EC2 instance? possible to use "raw" boto commands?](https://forum.ansible.com/t/create-network-interface-eni-on-ec2-instance-possible-to-use-raw-boto-commands/17173)

<div class="topic-metadata">

**Author:** [@Jeff2](https://forum.ansible.com/u/Jeff2)\
**Replies:** 10\
**Last updated:** [May 5, 2015, 10:19am UTC](https://forum.ansible.com/t/create-network-interface-eni-on-ec2-instance-possible-to-use-raw-boto-commands/17173 "2015-05-05T10:19:02Z")

</div>

Someone asked for this a while back before the modules were reorganized, but I’ve seen no mention since, so I’m guess it’s still not possible to create (or manipulate) an Elastic Network Interface (eni) on an EC2 instanc…

---

## [ansible with AWS inventory (ec2.py) returns rds, etc](https://forum.ansible.com/t/ansible-with-aws-inventory-ec2-py-returns-rds-etc/18147)

<div class="topic-metadata">

**Author:** [@Raj\_Desikavinayagomp](https://forum.ansible.com/u/Raj_Desikavinayagomp)\
**Replies:** 2\
**Last updated:** [May 5, 2015, 12:20am UTC](https://forum.ansible.com/t/ansible-with-aws-inventory-ec2-py-returns-rds-etc/18147 "2015-05-05T00:20:40Z")

</div>

Hello, Running the ec2.py inventory script as follows ec2.py --list I have a filter for instance type based on app name=‘xyx’. This should return only sepecific app-servers which I am restricing in the call. But it …

---

## [Run play books in remote server using python ansible runner](https://forum.ansible.com/t/run-play-books-in-remote-server-using-python-ansible-runner/18156)

<div class="topic-metadata">

**Author:** [@Shasti](https://forum.ansible.com/u/Shasti)\
**Replies:** 0\
**Last updated:** [May 4, 2015, 10:41pm UTC](https://forum.ansible.com/t/run-play-books-in-remote-server-using-python-ansible-runner/18156 "2015-05-04T22:41:36Z")

</div>

Hi, I am trying to automate script execution in remote servers using ansible/ansible play books. To start with I wanted to do a test, by invoking ansible runner to read IPs during runtime and touch a file or display a m…

---

## [Ansible with Packer, root](https://forum.ansible.com/t/ansible-with-packer-root/18153)

<div class="topic-metadata">

**Author:** [@mic\_gourdet](https://forum.ansible.com/u/mic_gourdet)\
**Replies:** 1\
**Last updated:** [May 4, 2015, 8:28pm UTC](https://forum.ansible.com/t/ansible-with-packer-root/18153 "2015-05-04T20:28:16Z")

</div>

I am using Ansible 1.9 and Packer to create and install new package on a Debian VM. Packer run my playbook, but the installation of the package fail because I am not root. Can anyone give me an example of a playbook wh…

---

## [my playbooks have broke since 1.9. Sudo issues it seems](https://forum.ansible.com/t/my-playbooks-have-broke-since-1-9-sudo-issues-it-seems/17879)

<div class="topic-metadata">

**Author:** [@Benjamin\_Copeland](https://forum.ansible.com/u/Benjamin_Copeland)\
**Replies:** 9\
**Last updated:** [May 4, 2015, 7:07pm UTC](https://forum.ansible.com/t/my-playbooks-have-broke-since-1-9-sudo-issues-it-seems/17879 "2015-05-04T19:07:37Z")

</div>

Hi all, So, since 1.9.0.1-1 my playbooks have broken. My playbook: roles: role: common sudo: yes IOError: \[Errno 13\] Permission denied: ‘/etc/fstab’ OpenSSH\_6.8p1, OpenSSL 1.0.2a 19 Mar 2015 The fix: Add sudo: …

---

## [Force fact-gathering on all hosts when using -limit](https://forum.ansible.com/t/force-fact-gathering-on-all-hosts-when-using-limit/18155)

<div class="topic-metadata">

**Author:** [@Christian\_Franke](https://forum.ansible.com/u/Christian_Franke)\
**Replies:** 5\
**Last updated:** [May 4, 2015, 2:38pm UTC](https://forum.ansible.com/t/force-fact-gathering-on-all-hosts-when-using-limit/18155 "2015-05-04T14:38:00Z")

</div>

Hi all, I’m sitting in front of a fairly complex ansible project that we’re using to set up our local development environments (multiple VMs) and there’s one role that uses the facts gathere by ansible to set up the etc…

---

## [PR for ec2.py not using full set of AWS credential mechanisms since bc0c169](https://forum.ansible.com/t/pr-for-ec2-py-not-using-full-set-of-aws-credential-mechanisms-since-bc0c169/18148)

<div class="topic-metadata">

**Author:** [@andy2](https://forum.ansible.com/u/andy2)\
**Replies:** 0\
**Last updated:** [May 2, 2015, 4:16pm UTC](https://forum.ansible.com/t/pr-for-ec2-py-not-using-full-set-of-aws-credential-mechanisms-since-bc0c169/18148 "2015-05-02T16:16:18Z")

</div>

Hi, I’ve just submitted PR #1243 to ansible-modules-core This fixes an issue introduced with the update to only match group names in this VPC. The connection to boto.vpc in that commit only references aws\_access\_key a…

---

## [setuptools automatic script creation](https://forum.ansible.com/t/setuptools-automatic-script-creation/17988)

<div class="topic-metadata">

**Author:** [@Loren\_Carvalho](https://forum.ansible.com/u/Loren_Carvalho)\
**Replies:** 8\
**Last updated:** [May 2, 2015, 3:03am UTC](https://forum.ansible.com/t/setuptools-automatic-script-creation/17988 "2015-05-02T03:03:57Z")

</div>

Yeah, this old chestnut. So I was working on packaging Ansible for distribution @ my job and I was reminded about this PR I submitted a while back: Leveraging setuptools automatic script creation by lorencarvalho · Pul…

---

## [winrm.py tries SSL handshake on WinRM HTTP port](https://forum.ansible.com/t/winrm-py-tries-ssl-handshake-on-winrm-http-port/18126)

<div class="topic-metadata">

**Author:** [@Tom\_Laredo](https://forum.ansible.com/u/Tom_Laredo)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 11:36pm UTC](https://forum.ansible.com/t/winrm-py-tries-ssl-handshake-on-winrm-http-port/18126 "2015-05-01T23:36:05Z")

</div>

Hi, I’ trying to run a simple test on a remote windows host. I read http://docs.ansible.com/intro\_windows.html and saw that Michael recommends to install pywinrm like this: pip install http://github.com/diyan/pywinrm/…

---

## [win\_msi: Hangs on Multiple extra\_args](https://forum.ansible.com/t/win-msi-hangs-on-multiple-extra-args/18134)

<div class="topic-metadata">

**Author:** [@Justin\_Hanney](https://forum.ansible.com/u/Justin_Hanney)\
**Replies:** 2\
**Last updated:** [May 1, 2015, 9:55pm UTC](https://forum.ansible.com/t/win-msi-hangs-on-multiple-extra-args/18134 "2015-05-01T21:55:46Z")

</div>

First of all, I didn’t see that extra\_args was supported in the documents so this may, or may not, be officially supported. After looking at the source code, it appears that extra\_args can be passed with the win\_msi modu…

---

## [unreachable stats from module](https://forum.ansible.com/t/unreachable-stats-from-module/18131)

<div class="topic-metadata">

**Author:** [@maxime.gerges31](https://forum.ansible.com/u/maxime.gerges31)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 7:15pm UTC](https://forum.ansible.com/t/unreachable-stats-from-module/18131 "2015-05-01T19:15:46Z")

</div>

Hello, I’m currently developing a module used to connect to network devices using Exscript and Ansible as local connection. I’d like to know if ansible module is able to tell the playbook stats if the remote device is …

---

## [Rendering a template from a module?](https://forum.ansible.com/t/rendering-a-template-from-a-module/18103)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 9\
**Last updated:** [May 1, 2015, 6:15pm UTC](https://forum.ansible.com/t/rendering-a-template-from-a-module/18103 "2015-05-01T18:15:25Z")

</div>

I’m beefing up our DataDog module and want to create a module that adds monitor configs to /etc/dd-agent/conf.d. Essentially I’m trying to create friendly macro for: vars: dd\_monog\_arg\_1: xyz dd\_monog\_arg\_2: abc tem…

---

## [ERROR: win\_copy is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/error-win-copy-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18130)

<div class="topic-metadata">

**Author:** [@ken.krog82](https://forum.ansible.com/u/ken.krog82)\
**Replies:** 10\
**Last updated:** [May 1, 2015, 5:24pm UTC](https://forum.ansible.com/t/error-win-copy-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18130 "2015-05-01T17:24:38Z")

</div>

ansible --version ansible 2.0.0 configured module search path = None I receive this error when attempting to use wincopy. But I do see win\_copy in modules ls /usr/lib/python2.7/site-packages/ansible/modules/core/win…

---

## [No Kerberos credentials available'](https://forum.ansible.com/t/no-kerberos-credentials-available/18062)

<div class="topic-metadata">

**Author:** [@ken.krog82](https://forum.ansible.com/u/ken.krog82)\
**Replies:** 8\
**Last updated:** [May 1, 2015, 5:20pm UTC](https://forum.ansible.com/t/no-kerberos-credentials-available/18062 "2015-05-01T17:20:11Z")

</div>

I’m running ansible against a windows host for testing purposes. I can get pywinrm working against the host but when I attempt using either a domain account or an account local to the windows host specified in my ansible…

---

## [Parent directory](https://forum.ansible.com/t/parent-directory/18146)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 4:00pm UTC](https://forum.ansible.com/t/parent-directory/18146 "2015-05-01T16:00:23Z")

</div>

Hi, I would like to keep my playbooks all in a single directory like this: /path/playbooks /path/roles /path/group\_vars /path/host\_vars ... I can make it work partially by setting roles\_path in ansible.cfg. Howev…

---

## [Please help to design layout for ansible](https://forum.ansible.com/t/please-help-to-design-layout-for-ansible/18145)

<div class="topic-metadata">

**Author:** [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 12:55pm UTC](https://forum.ansible.com/t/please-help-to-design-layout-for-ansible/18145 "2015-05-01T12:55:26Z")

</div>

Hi, I’m trying to pick correct roles layout and can’t find solution. The task is to install spark. There are three roles: -install-spark-base (install spark-core package) -install-spark-configuration (puts configurat…

---

## [with\_dict fatal error after conditional include](https://forum.ansible.com/t/with-dict-fatal-error-after-conditional-include/17378)

<div class="topic-metadata">

**Author:** [@cselden](https://forum.ansible.com/u/cselden)\
**Replies:** 4\
**Last updated:** [May 1, 2015, 10:47am UTC](https://forum.ansible.com/t/with-dict-fatal-error-after-conditional-include/17378 "2015-05-01T10:47:12Z")

</div>

Ansible Community, I’m using a conditional include statement to call a task file which has a task that uses a “with\_dict” loop. When the include statement conditional fails, I’d like the task in “option.yml” to be skipp…

---

## [user\_data for nova\_compute module](https://forum.ansible.com/t/user-data-for-nova-compute-module/18094)

<div class="topic-metadata">

**Author:** [@John\_Test](https://forum.ansible.com/u/John_Test)\
**Replies:** 6\
**Last updated:** [May 1, 2015, 5:02am UTC](https://forum.ansible.com/t/user-data-for-nova-compute-module/18094 "2015-05-01T05:02:13Z")

</div>

Hello I have a question regarding user\_data parameter for nova\_compute http://docs.ansible.com/nova\_compute\_module.html Is it possible to see some examples? What I am trying to do: Pass information to run commands /…

---

## [ERROR: win\_copy is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/error-win-copy-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18139)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 4\
**Last updated:** [May 1, 2015, 2:34am UTC](https://forum.ansible.com/t/error-win-copy-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18139 "2015-05-01T02:34:42Z")

</div>

I thought the win\_\* stuff was merged into 1.9? $ ansible --version ansible 2.0.0 (devel b08e35bb8a) last updated 2015/04/29 09:50:21 (GMT -500) lib/ansible/modules/core: (detached HEAD e95c0b2df3) last updated 2015/04…

---

## [Ansible log plugin to output XML](https://forum.ansible.com/t/ansible-log-plugin-to-output-xml/14808)

<div class="topic-metadata">

**Author:** [@Mark\_Phillips](https://forum.ansible.com/u/Mark_Phillips)\
**Replies:** 5\
**Last updated:** [April 30, 2015, 11:21pm UTC](https://forum.ansible.com/t/ansible-log-plugin-to-output-xml/14808 "2015-04-30T23:21:29Z")

</div>

Hello folks, Not something I’d ordinarily advocate - XML (eugh) - but I was wondering if anybody had done anything with producing run log output as XML? I’m looking at it so I can plug Ansible testing into a CI solutio…

---

## [Extracting Single IP from launched EC2 instances](https://forum.ansible.com/t/extracting-single-ip-from-launched-ec2-instances/17887)

<div class="topic-metadata">

**Author:** [@MikeA](https://forum.ansible.com/u/MikeA)\
**Replies:** 4\
**Last updated:** [April 30, 2015, 6:10pm UTC](https://forum.ansible.com/t/extracting-single-ip-from-launched-ec2-instances/17887 "2015-04-30T18:10:28Z")

</div>

I’m launching a cluster of ec2 instances and would like one (don’t care which one) of them to become a head node and pass it’s IP to the other cluster members. I’ve been looking for an easy way to do this but could not f…

---

## [Windows PR - web platform installer](https://forum.ansible.com/t/windows-pr-web-platform-installer/18144)

<div class="topic-metadata">

**Author:** [@Peter\_Mounce](https://forum.ansible.com/u/Peter_Mounce)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 5:09pm UTC](https://forum.ansible.com/t/windows-pr-web-platform-installer/18144 "2015-04-30T17:09:08Z")

</div>

Later versions of chocolatey don’t implement custom sources like ruby or webpi. I needed web platform installer, so created win\_webpicmd in extras repo. PR is https://github.com/ansible/ansible-modules-extras/pull/438. I…

---

## [FYI: chocolatey changes](https://forum.ansible.com/t/fyi-chocolatey-changes/18101)

<div class="topic-metadata">

**Author:** [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 5:06pm UTC](https://forum.ansible.com/t/fyi-chocolatey-changes/18101 "2015-04-30T17:06:59Z")

</div>

There have been some changes in the latest version(s?) of chocolatey that break the win\_chocolatey module: It now prompts for confirmation of install/uninstall, The output is different. I have some local hacks t…

---

## [\[Dynamic Inventory\] ec2\_tag\_Name is undefined](https://forum.ansible.com/t/dynamic-inventory-ec2-tag-name-is-undefined/18109)

<div class="topic-metadata">

**Author:** [@Mateus\_Dubiela\_Olive](https://forum.ansible.com/u/Mateus_Dubiela_Olive)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 4:49pm UTC](https://forum.ansible.com/t/dynamic-inventory-ec2-tag-name-is-undefined/18109 "2015-04-30T16:49:17Z")

</div>

TL;DR: When I create a instance the ec2\_\* variables are undefined. Hello, I’m using ansible to create instances and using the ec2\_tag\_Name to set up the machine’s hostname. The problem is, on the first run the playbook…

---

## [return code from dict ?](https://forum.ansible.com/t/return-code-from-dict/18125)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 3\
**Last updated:** [April 30, 2015, 3:27pm UTC](https://forum.ansible.com/t/return-code-from-dict/18125 "2015-04-30T15:27:58Z")

</div>

Hi, I have a plabyook that checks if my python app has been installed and only run pip install if the packages have not been installed. Unfortunately because I’m doing a check using with\_items the register value is a di…

---

## [Ansible ec2\_facts outputs null](https://forum.ansible.com/t/ansible-ec2-facts-outputs-null/18042)

<div class="topic-metadata">

**Author:** [@Rahul\_Mehrotra](https://forum.ansible.com/u/Rahul_Mehrotra)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 2:48pm UTC](https://forum.ansible.com/t/ansible-ec2-facts-outputs-null/18042 "2015-04-30T14:48:17Z")

</div>

Hi, I am currently working on using Ansible for implementing rolling upgrade feature. I was trying to gather ec2\_facts using dynamic inventory however it outputs null and is not able to gather any information command …

---

## [\[SOLVED\] \[ansible-project\] unarchive module skipping when using with\_fileglob](https://forum.ansible.com/t/solved-ansible-project-unarchive-module-skipping-when-using-with-fileglob/18143)

<div class="topic-metadata">

**Author:** [@Rodrigo\_B\_Brasil](https://forum.ansible.com/u/Rodrigo_B_Brasil)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 2:36pm UTC](https://forum.ansible.com/t/solved-ansible-project-unarchive-module-skipping-when-using-with-fileglob/18143 "2015-04-30T14:36:47Z")

</div>

Thanks, Matt! The docs weren’t clear that only search for patterns on the remote host. Its working now with: command: find /mnt/cd/ -name “\*.tar.gz” register: vmwaretools\_gzip unarchive: copy=no dest=/opt/ src={{ …

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

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