# Latest

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

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

**Page:** 894

---

## [vsphere\_guest module not recognizing from\_template param](https://forum.ansible.com/t/vsphere-guest-module-not-recognizing-from-template-param/17542)

<div class="topic-metadata">

**Author:** [@John-Paul\_Herold](https://forum.ansible.com/u/John-Paul_Herold)\
**Replies:** 10\
**Last updated:** [February 18, 2015, 6:18pm UTC](https://forum.ansible.com/t/vsphere-guest-module-not-recognizing-from-template-param/17542 "2015-02-18T18:18:36Z")

</div>

Greetings, Ansible: 1.9 pysphere: 1.7 I’ve been experimenting with the vsphere\_guest module and am experiencing some problems with the ‘from\_template’ parameter. I am using the “# Deploy a guest from a template” examp…

---

## [update /etc/hosts file](https://forum.ansible.com/t/update-etc-hosts-file/17551)

<div class="topic-metadata">

**Author:** [@Diego\_Rucci](https://forum.ansible.com/u/Diego_Rucci)\
**Replies:** 1\
**Last updated:** [February 18, 2015, 5:33pm UTC](https://forum.ansible.com/t/update-etc-hosts-file/17551 "2015-02-18T17:33:50Z")

</div>

Hi, I’m just starting with ansible. I’m running a proxmox server with 12 containers. I made some playbooks that actually works (like setting tzdata and apt-update) I was trying to automate etc/hosts file update. I’m u…

---

## [Register EC2 alarm during instance creation](https://forum.ansible.com/t/register-ec2-alarm-during-instance-creation/17553)

<div class="topic-metadata">

**Author:** [@Toby\_Hobson](https://forum.ansible.com/u/Toby_Hobson)\
**Replies:** 0\
**Last updated:** [February 18, 2015, 3:41pm UTC](https://forum.ansible.com/t/register-ec2-alarm-during-instance-creation/17553 "2015-02-18T15:41:24Z")

</div>

I am able to create an ec2 cloudwatch alarm for existing instances by using the ec2 dynamic inventory script ie. hosts: tag\_Name\_Build name: Create CPU utilization metric alarm sudo: false local\_action: ec2\_metric\_…

---

## [apt call always returns changed](https://forum.ansible.com/t/apt-call-always-returns-changed/17544)

<div class="topic-metadata">

**Author:** [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Replies:** 4\
**Last updated:** [February 18, 2015, 2:50pm UTC](https://forum.ansible.com/t/apt-call-always-returns-changed/17544 "2015-02-18T14:50:36Z")

</div>

I have this in a playbook name: Install needed packages apt: pkg={{ item }} state=latest with\_items: libxml2-dev libxslt-dev memcached uwsgi Every single time it runs, it reports changed… output with -vvvv TASK: …

---

## [Namespacing projects on ansible galaxy](https://forum.ansible.com/t/namespacing-projects-on-ansible-galaxy/17531)

<div class="topic-metadata">

**Author:** [@John\_Goodall](https://forum.ansible.com/u/John_Goodall)\
**Replies:** 1\
**Last updated:** [February 18, 2015, 2:48pm UTC](https://forum.ansible.com/t/namespacing-projects-on-ansible-galaxy/17531 "2015-02-18T14:48:26Z")

</div>

I have a personal github account and am part of a few organizations. Is it possible to namespace a role in galaxy the same way it is possible in github, so that the role can be referred to as /\<role\_name\> rather than /\<r…

---

## [Thumbor AWS setup using Ansible](https://forum.ansible.com/t/thumbor-aws-setup-using-ansible/17549)

<div class="topic-metadata">

**Author:** [@ASR435](https://forum.ansible.com/u/ASR435)\
**Replies:** 0\
**Last updated:** [February 18, 2015, 12:11pm UTC](https://forum.ansible.com/t/thumbor-aws-setup-using-ansible/17549 "2015-02-18T12:11:25Z")

</div>

Hello, I am new to Ansible. I want to install Thumbor AWS on remote server using ansible I cloned the git repository from “https://github.com/willtrking/thumbor\_aws” to the remote server. I am stuck up on how to run …

---

## [How can I iterate through user input data with "with\_items" loop?](https://forum.ansible.com/t/how-can-i-iterate-through-user-input-data-with-with-items-loop/17533)

<div class="topic-metadata">

**Author:** [@Mario\_Vazquez](https://forum.ansible.com/u/Mario_Vazquez)\
**Replies:** 2\
**Last updated:** [February 18, 2015, 8:38am UTC](https://forum.ansible.com/t/how-can-i-iterate-through-user-input-data-with-with-items-loop/17533 "2015-02-18T08:38:58Z")

</div>

Hello all, I need help with a loop iterating through user input data. I have a prompt variable in my playbook that is filled with usernames. The value its something like “test1 test2 test3”. I need to iterate through t…

---

## [wait\_for URL to response 200 status code](https://forum.ansible.com/t/wait-for-url-to-response-200-status-code/17535)

<div class="topic-metadata">

**Author:** [@Pradeep\_Bhadani](https://forum.ansible.com/u/Pradeep_Bhadani)\
**Replies:** 3\
**Last updated:** [February 18, 2015, 6:49am UTC](https://forum.ansible.com/t/wait-for-url-to-response-200-status-code/17535 "2015-02-18T06:49:14Z")

</div>

Hi , I want to pause my playbook until one url returns 200 as status code. URL may take several minutes to return 200 . I am not sure what is the best way to achieve this. can anyone guide me? Thanks, Pradeep

---

## [Managing AUR packages with Ansible (Arch Linux)](https://forum.ansible.com/t/managing-aur-packages-with-ansible-arch-linux/15649)

<div class="topic-metadata">

**Author:** [@tummychow511](https://forum.ansible.com/u/tummychow511)\
**Replies:** 4\
**Last updated:** [February 18, 2015, 4:38am UTC](https://forum.ansible.com/t/managing-aur-packages-with-ansible-arch-linux/15649 "2015-02-18T04:38:38Z")

</div>

As the title says, I’m wondering if anyone has experience managing AUR packages with Ansible. I’m personally interested in nginx-passenger, but the question could really apply to any AUR package. Unlike official packages…

---

## [Add a file/template to a docker volume](https://forum.ansible.com/t/add-a-file-template-to-a-docker-volume/17538)

<div class="topic-metadata">

**Author:** [@max.frigge](https://forum.ansible.com/u/max.frigge)\
**Replies:** 0\
**Last updated:** [February 17, 2015, 8:19pm UTC](https://forum.ansible.com/t/add-a-file-template-to-a-docker-volume/17538 "2015-02-17T20:19:29Z")

</div>

What would be the best approach to get a file (based on template) into a docker volume? Right now I copy the file to the host and then mount the hosts folder to the data volume. This works but I would rather directly a…

---

## [module is missing interpreter line](https://forum.ansible.com/t/module-is-missing-interpreter-line/17519)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 4\
**Last updated:** [February 17, 2015, 7:41pm UTC](https://forum.ansible.com/t/module-is-missing-interpreter-line/17519 "2015-02-17T19:41:59Z")

</div>

I’m hitting an error when I run a playbook that’s spitting out the error “module is missing interpreter line”. It’s dying on a task that uses the file module to copy a file to the remote server. I never had any trouble w…

---

## [ansible-vault edit changing perms and group](https://forum.ansible.com/t/ansible-vault-edit-changing-perms-and-group/17529)

<div class="topic-metadata">

**Author:** [@fidelity](https://forum.ansible.com/u/fidelity)\
**Replies:** 5\
**Last updated:** [February 17, 2015, 7:26pm UTC](https://forum.ansible.com/t/ansible-vault-edit-changing-perms-and-group/17529 "2015-02-17T19:26:21Z")

</div>

Hi. I recently submitted https://github.com/ansible/ansible/issues/10253, but it was closed. I commented before I read the part about comments on closed issues not being monitored, so I’m going to duplicate my thoughts h…

---

## [Using group\_vars with dynamic inventory groups](https://forum.ansible.com/t/using-group-vars-with-dynamic-inventory-groups/17526)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 10\
**Last updated:** [February 17, 2015, 7:07pm UTC](https://forum.ansible.com/t/using-group-vars-with-dynamic-inventory-groups/17526 "2015-02-17T19:07:59Z")

</div>

for static groups vars to be loaded try adding the group in a static file also, even if just empty. static\_inventory: \[test\_env\_test\]

---

## [Netscaler module returns "No module named json"](https://forum.ansible.com/t/netscaler-module-returns-no-module-named-json/17536)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 6\
**Last updated:** [February 17, 2015, 6:34pm UTC](https://forum.ansible.com/t/netscaler-module-returns-no-module-named-json/17536 "2015-02-17T18:34:26Z")

</div>

I’m running Ansible from a Centos 6 server w/ Python 2.6. My hosts are running RH5 w/ Python 2.4 and I have python-simplejson installed. On the client, “import json” from within the python interpreter doesn’t work but “i…

---

## [encryption](https://forum.ansible.com/t/encryption/17527)

<div class="topic-metadata">

**Author:** [@Alexey\_Wasilyev1](https://forum.ansible.com/u/Alexey_Wasilyev1)\
**Replies:** 3\
**Last updated:** [February 17, 2015, 4:53pm UTC](https://forum.ansible.com/t/encryption/17527 "2015-02-17T16:53:39Z")

</div>

Hello! Is there any way to encrypt just values in the variable files? I need something like

---

## [\[newbie\] ssh-error](https://forum.ansible.com/t/newbie-ssh-error/17532)

<div class="topic-metadata">

**Author:** [@Mihir\_Joshi](https://forum.ansible.com/u/Mihir_Joshi)\
**Replies:** 2\
**Last updated:** [February 17, 2015, 3:37pm UTC](https://forum.ansible.com/t/newbie-ssh-error/17532 "2015-02-17T15:37:07Z")

</div>

Hey, When I try to run “ansible -vvv -m apt -a ‘xchm’ 192.168.56.101”, I am getting following error: \<192.168.56.101\> \<192.168.56.101\> \<192.168.56.101\> ConnectTimeout=10 PasswordAuthentication=no KbdInteractiveAuthen…

---

## [Ignore a module option](https://forum.ansible.com/t/ignore-a-module-option/17534)

<div class="topic-metadata">

**Author:** [@Mateus\_Dubiela\_Oliv1](https://forum.ansible.com/u/Mateus_Dubiela_Oliv1)\
**Replies:** 2\
**Last updated:** [February 17, 2015, 3:19pm UTC](https://forum.ansible.com/t/ignore-a-module-option/17534 "2015-02-17T15:19:24Z")

</div>

Hello, I’m trying to create a helper role to raise ec2 instances, and I stumbled in a problem where I wanted to deleted or ignore some module options, based on the role vars. First, let’s say I have a playbook like thi…

---

## [Question on wait\_for](https://forum.ansible.com/t/question-on-wait-for/17500)

<div class="topic-metadata">

**Author:** [@t.hirsch](https://forum.ansible.com/u/t.hirsch)\
**Replies:** 7\
**Last updated:** [February 17, 2015, 10:52am UTC](https://forum.ansible.com/t/question-on-wait-for/17500 "2015-02-17T10:52:36Z")

</div>

Hi, I want to make a simple check after deploying an application with Ansible. The task looks like this: name: Wait for application to listen wait\_for: host=localhost port={{ application\_port }} state=started timeou…

---

## [ec2 group module, support for icmp protocol](https://forum.ansible.com/t/ec2-group-module-support-for-icmp-protocol/15487)

<div class="topic-metadata">

**Author:** [@iain\_wright](https://forum.ansible.com/u/iain_wright)\
**Replies:** 7\
**Last updated:** [February 17, 2015, 9:41am UTC](https://forum.ansible.com/t/ec2-group-module-support-for-icmp-protocol/15487 "2015-02-17T09:41:33Z")

</div>

I’m wondering if the ec2 groups module supports the icmp protocol. I’ve tried a few combinations of rules and am not having much luck – i don’t see an example for it in the docs here: https://github.com/ansible/ansible/…

---

## [Ansible way to delete all files in a remote directory](https://forum.ansible.com/t/ansible-way-to-delete-all-files-in-a-remote-directory/12495)

<div class="topic-metadata">

**Author:** [@Asad\_Khan](https://forum.ansible.com/u/Asad_Khan)\
**Replies:** 4\
**Last updated:** [February 17, 2015, 6:35am UTC](https://forum.ansible.com/t/ansible-way-to-delete-all-files-in-a-remote-directory/12495 "2015-02-17T06:35:37Z")

</div>

I know I can easily do: shell: rm -f /etc/whatever/\* or possibly via a register variable on shell: ls -1 /etc/whatever/\* register: dircontents I had assumed I would be able to do this in Ansible trivially without te…

---

## [vsphere\_guest CPU socket error](https://forum.ansible.com/t/vsphere-guest-cpu-socket-error/17530)

<div class="topic-metadata">

**Author:** [@Chris2](https://forum.ansible.com/u/Chris2)\
**Replies:** 0\
**Last updated:** [February 16, 2015, 9:04pm UTC](https://forum.ansible.com/t/vsphere-guest-cpu-socket-error/17530 "2015-02-16T21:04:52Z")

</div>

Good day, I’m running the vsphere\_guest module agains an ESXi 5.5 u1 server. I can successfully create the VM however when I assign the VM the following settings in my playbook: numvcpus = “2” cpuid.coresPerSocket = …

---

## [when "partial" DOES NOT match](https://forum.ansible.com/t/when-partial-does-not-match/17528)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 2\
**Last updated:** [February 16, 2015, 8:35pm UTC](https://forum.ansible.com/t/when-partial-does-not-match/17528 "2015-02-16T20:35:28Z")

</div>

I have a task that runs when there is a partial match on the inventory\_hostname: when: ‘“lab” in inventory\_hostname’ I need to figure out a way to do the opposite, meaning, when ‘lab’ is not in inventory\_hostname the t…

---

## [Four Environments, Two Different Config Files](https://forum.ansible.com/t/four-environments-two-different-config-files/17515)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 4\
**Last updated:** [February 16, 2015, 2:58pm UTC](https://forum.ansible.com/t/four-environments-two-different-config-files/17515 "2015-02-16T14:58:27Z")

</div>

I have four environments (each having their own inventories, host\_vars, and group\_vars). I have a config that’s the same for three of those environments (labs) and a different config for use in the last environment (prod…

---

## [lineinfile Questions](https://forum.ansible.com/t/lineinfile-questions/17518)

<div class="topic-metadata">

**Author:** [@Doug\_Eubanks](https://forum.ansible.com/u/Doug_Eubanks)\
**Replies:** 1\
**Last updated:** [February 16, 2015, 2:57pm UTC](https://forum.ansible.com/t/lineinfile-questions/17518 "2015-02-16T14:57:02Z")

</div>

I’m pretty new to Ansible, but I’m diving in. My problem is that I need a playbook entry that will set a config value to a certain value if it’s different and return “ok” instead of “changed” if it’s already set. This …

---

## [Progress bar indication while executing a task](https://forum.ansible.com/t/progress-bar-indication-while-executing-a-task/17522)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [February 16, 2015, 2:37pm UTC](https://forum.ansible.com/t/progress-bar-indication-while-executing-a-task/17522 "2015-02-16T14:37:32Z")

</div>

Hi, Is there any way to indicate the progress while executing a task ?? For eg: I’ve written a task to copy the build on to the remote server, This copy would take more time due to the build size, having a progress b…

---

## [include + with\_foo](https://forum.ansible.com/t/include-with-foo/17523)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 1\
**Last updated:** [February 16, 2015, 9:53am UTC](https://forum.ansible.com/t/include-with-foo/17523 "2015-02-16T09:53:38Z")

</div>

Am I right in thinking this is coming back in v2?

---

## [file module hangs](https://forum.ansible.com/t/file-module-hangs/17520)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 2\
**Last updated:** [February 16, 2015, 4:00am UTC](https://forum.ansible.com/t/file-module-hangs/17520 "2015-02-16T04:00:01Z")

</div>

Did a git pull and now the file module is hanging randomly on my ubuntu servers. I followed the tips for debugging found here: http://willthames.github.io/2014/04/28/debugging-ansible-for-fun-and-no-profit.html http:/…

---

## [Getting error in deploying VMs using Ansible vsphere\_guest module](https://forum.ansible.com/t/getting-error-in-deploying-vms-using-ansible-vsphere-guest-module/17507)

<div class="topic-metadata">

**Author:** [@jnitin80](https://forum.ansible.com/u/jnitin80)\
**Replies:** 7\
**Last updated:** [February 15, 2015, 6:06am UTC](https://forum.ansible.com/t/getting-error-in-deploying-vms-using-ansible-vsphere-guest-module/17507 "2015-02-15T06:06:00Z")

</div>

I am getting below error while using Ansible (version 1.8.2) vSphere\_guest module, osboxes@osboxes:~$ ansible-playbook /etc/ansible/playbooks/main.yml -K sudo password: PLAY \[localhost\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [can't fire and forget from a list - looking for other options](https://forum.ansible.com/t/cant-fire-and-forget-from-a-list-looking-for-other-options/17517)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 0\
**Last updated:** [February 14, 2015, 9:15pm UTC](https://forum.ansible.com/t/cant-fire-and-forget-from-a-list-looking-for-other-options/17517 "2015-02-14T21:15:11Z")

</div>

I’m trying to work around the following limitation: lookup plugins (with\_\*) cannot be used with async tasks My objective is to startup a set of listeners on a set of servers using socat. My thwarted plan was Host\_vars/…

---

## [How can I process an array of private keys during user creation](https://forum.ansible.com/t/how-can-i-process-an-array-of-private-keys-during-user-creation/17516)

<div class="topic-metadata">

**Author:** [@Bob\_Brown1](https://forum.ansible.com/u/Bob_Brown1)\
**Replies:** 0\
**Last updated:** [February 14, 2015, 6:46pm UTC](https://forum.ansible.com/t/how-can-i-process-an-array-of-private-keys-during-user-creation/17516 "2015-02-14T18:46:47Z")

</div>

What I have set up so far is working well. My playbook is:

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

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