# Latest

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

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

**Page:** 734

---

## [playbooks hang forever when client is swapping or has (NFS) mount problems](https://forum.ansible.com/t/playbooks-hang-forever-when-client-is-swapping-or-has-nfs-mount-problems/22327)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 4\
**Last updated:** [August 19, 2016, 2:07pm UTC](https://forum.ansible.com/t/playbooks-hang-forever-when-client-is-swapping-or-has-nfs-mount-problems/22327 "2016-08-19T14:07:32Z")

</div>

Dear all, doing my first steps with ansible I noticed, that on some clients executing playbooks completely hangs. The common problem on these hosts is, that they are either swapping (even very small amounts of swap use…

---

## [Easy way to parse out.stdout\_lines to get the value?](https://forum.ansible.com/t/easy-way-to-parse-out-stdout-lines-to-get-the-value/22326)

<div class="topic-metadata">

**Author:** [@Ruben\_Ortiz](https://forum.ansible.com/u/Ruben_Ortiz)\
**Replies:** 1\
**Last updated:** [August 19, 2016, 12:44pm UTC](https://forum.ansible.com/t/easy-way-to-parse-out-stdout-lines-to-get-the-value/22326 "2016-08-19T12:44:16Z")

</div>

up vote0down votefavorite | I have a silly playbook which just runs a command to get the list of vhost in every host on webserver group. As all vhost are located in /var/www is easy to get the list of webs. Th…

---

## [MongoDB Ansible Deployment](https://forum.ansible.com/t/mongodb-ansible-deployment/22295)

<div class="topic-metadata">

**Author:** [@adam.a.chally](https://forum.ansible.com/u/adam.a.chally)\
**Replies:** 3\
**Last updated:** [August 19, 2016, 9:52am UTC](https://forum.ansible.com/t/mongodb-ansible-deployment/22295 "2016-08-19T09:52:09Z")

</div>

Hello, So I am trying to convert a bunch of Ansible Playbooks that were used to deploy MongoDB into a more generalized group of roles used to for the deployment. I have somewhat based it off of the Ansible Example Mongo…

---

## [Mount all?](https://forum.ansible.com/t/mount-all/22324)

<div class="topic-metadata">

**Author:** [@Lachlan\_Musicman](https://forum.ansible.com/u/Lachlan_Musicman)\
**Replies:** 0\
**Last updated:** [August 19, 2016, 2:44am UTC](https://forum.ansible.com/t/mount-all/22324 "2016-08-19T02:44:10Z")

</div>

Hi Is there an obvious way to mount everything in fstab that I’m missing or do I need to send “mount -a” via command? cheers L.

---

## [AWS deregister ec2 instance from ELB](https://forum.ansible.com/t/aws-deregister-ec2-instance-from-elb/22288)

<div class="topic-metadata">

**Author:** [@Cann](https://forum.ansible.com/u/Cann)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 11:55pm UTC](https://forum.ansible.com/t/aws-deregister-ec2-instance-from-elb/22288 "2016-08-18T23:55:04Z")

</div>

Hello, I am new to Ansible and I couldn’t figure out what is wrong with my ansible playbook. I simply want to list all instances associated with specific elastic load balancers and then de-register them all. Can you p…

---

## [Action plugin's "self.runner.inventory" in 2.0](https://forum.ansible.com/t/action-plugins-self-runner-inventory-in-2-0/22323)

<div class="topic-metadata">

**Author:** [@jmc](https://forum.ansible.com/u/jmc)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 10:18pm UTC](https://forum.ansible.com/t/action-plugins-self-runner-inventory-in-2-0/22323 "2016-08-18T22:18:39Z")

</div>

Hi, I have an action plugin that was originally written for Ansible 1, and I’m trying to port it over to 2. The plugin uses runner.inventory to programmatically create host and group variables for every host in the inve…

---

## [Question about with\_items after running a find](https://forum.ansible.com/t/question-about-with-items-after-running-a-find/22322)

<div class="topic-metadata">

**Author:** [@John\_Leo\_Huetter](https://forum.ansible.com/u/John_Leo_Huetter)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 8:53pm UTC](https://forum.ansible.com/t/question-about-with-items-after-running-a-find/22322 "2016-08-18T20:53:35Z")

</div>

Hello, I am running a find and then working on each item, like: name: “Finding …” find: paths=“/app” pattern=“{{ pattern }}” recurse=yes get\_checksum=yes changed\_when: False register: find\_results name: “Display…

---

## [win\_user module and GPO settings](https://forum.ansible.com/t/win-user-module-and-gpo-settings/22310)

<div class="topic-metadata">

**Author:** [@cupcake](https://forum.ansible.com/u/cupcake)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 8:36pm UTC](https://forum.ansible.com/t/win-user-module-and-gpo-settings/22310 "2016-08-18T20:36:19Z")

</div>

Tower 2.4.5 Trying to have the win\_user module set built-in admin and guest account to disabled. Guest account is not taking due to some fairly standard GPO settings. Access this PC from network has default “everyone…

---

## [Multiple passwords in group\_vars/windows.yml for multiple windows hosts](https://forum.ansible.com/t/multiple-passwords-in-group-vars-windows-yml-for-multiple-windows-hosts/22293)

<div class="topic-metadata">

**Author:** [@Raghavendra\_Tandon](https://forum.ansible.com/u/Raghavendra_Tandon)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 8:32pm UTC](https://forum.ansible.com/t/multiple-passwords-in-group-vars-windows-yml-for-multiple-windows-hosts/22293 "2016-08-18T20:32:58Z")

</div>

How do I Implement multiple passwords in group\_vars/windows.yml for multiple windows hosts which i need to orchestrate using my RHEL control machine

---

## [Ansible hangs when running remote su command via  sshpass](https://forum.ansible.com/t/ansible-hangs-when-running-remote-su-command-via-sshpass/18993)

<div class="topic-metadata">

**Author:** [@firxiao\_zhang](https://forum.ansible.com/u/firxiao_zhang)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 8:30pm UTC](https://forum.ansible.com/t/ansible-hangs-when-running-remote-su-command-via-sshpass/18993 "2016-08-18T20:30:04Z")

</div>

HI: Ansible Version: \` \[vagrant@master ansible\]$ ansible --version ansible 1.9.2 configured module search path = None \` Environment: client is same as master. \` \[vagrant@master ansible\]$ cat /etc/redhat-release C…

---

## [Error in Deploying Virtual Machines to vCenter with Ansible | Must call 'connect' before invoking this method](https://forum.ansible.com/t/error-in-deploying-virtual-machines-to-vcenter-with-ansible-must-call-connect-before-invoking-this-method/18274)

<div class="topic-metadata">

**Author:** [@tarun\_emany](https://forum.ansible.com/u/tarun_emany)\
**Replies:** 3\
**Last updated:** [August 18, 2016, 8:29pm UTC](https://forum.ansible.com/t/error-in-deploying-virtual-machines-to-vcenter-with-ansible-must-call-connect-before-invoking-this-method/18274 "2016-08-18T20:29:23Z")

</div>

Hi, While deploying new VM to vCenter using Ansible playbook I am getting the following error. failed: \[127.0.0.1\] =\> {“failed”: true, “parsed”: false} Traceback (most recent call last): File “/.ansible/tmp/ansible-t…

---

## [Var of var in Ansible playbook](https://forum.ansible.com/t/var-of-var-in-ansible-playbook/22307)

<div class="topic-metadata">

**Author:** [@Saad](https://forum.ansible.com/u/Saad)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 6:54pm UTC](https://forum.ansible.com/t/var-of-var-in-ansible-playbook/22307 "2016-08-18T18:54:47Z")

</div>

Hello, i try to do a var of var in a playbook on Ansible but i can’t figure out how to do this proprly, or if it is even possible ? here is what i try to do : "name : {{ groups\['{{ ANOTHER\_VAR\_HERE }}'\]\[0\] }}" Ansibl…

---

## [How should brackets around braces be escaped?](https://forum.ansible.com/t/how-should-brackets-around-braces-be-escaped/22294)

<div class="topic-metadata">

**Author:** [@Stig\_Dossing](https://forum.ansible.com/u/Stig_Dossing)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 6:35pm UTC](https://forum.ansible.com/t/how-should-brackets-around-braces-be-escaped/22294 "2016-08-18T18:35:32Z")

</div>

Hi. I’m having some trouble getting a fragment of a group\_vars/all file to pass syntax checking. I’m on the latest github code at the time of writing (daf6eb97d3b0d059e0856015b2eb62d32281b9ad). Here’s a minimal example…

---

## [Setting a variable with similar values for each host](https://forum.ansible.com/t/setting-a-variable-with-similar-values-for-each-host/22316)

<div class="topic-metadata">

**Author:** [@Edson\_Noboru\_Yamada](https://forum.ansible.com/u/Edson_Noboru_Yamada)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 5:15pm UTC](https://forum.ansible.com/t/setting-a-variable-with-similar-values-for-each-host/22316 "2016-08-18T17:15:57Z")

</div>

Hello I have a group of hosts with names like this: app01.spr.xxx.com app02.spr.xxx.com … app10.spr.xxx.com For each host, there’s a setting (s) that should be set like this: s=a01 s=a02 … s=a10 Since the valu…

---

## [Ansible -Tower rerun from failed task](https://forum.ansible.com/t/ansible-tower-rerun-from-failed-task/22313)

<div class="topic-metadata">

**Author:** [@Srivathsa](https://forum.ansible.com/u/Srivathsa)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 4:48pm UTC](https://forum.ansible.com/t/ansible-tower-rerun-from-failed-task/22313 "2016-08-18T16:48:01Z")

</div>

Hi, I wrote a playbook calling couple of shell scripts and in order to rerun from the failed task in ansible, I used the command ansible-playbook test.yml --start-at-task=task\_name and it worked well as I expected. I w…

---

## [Testing Working Group](https://forum.ansible.com/t/testing-working-group/22290)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 11:27am UTC](https://forum.ansible.com/t/testing-working-group/22290 "2016-08-18T11:27:21Z")

</div>

Hi, Following on from the success of “New Modules Group”, “Network Working Group” and “Community Working Group” \[1\] we will be running our first: Testing Working Group The group will be the central point for all thing…

---

## [2.1 upgrade gather\_subset error](https://forum.ansible.com/t/2-1-upgrade-gather-subset-error/21595)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 10\
**Last updated:** [August 18, 2016, 11:17am UTC](https://forum.ansible.com/t/2-1-upgrade-gather-subset-error/21595 "2016-08-18T11:17:19Z")

</div>

We are trying to upgrade from 1.9 to 2.1. With no changes to so far we get: FAILED! =\> {"changed": false, "failed": true, "msg": "unsupported parameter for module: gather\_subset"} I cannot find any use of gather\_subset…

---

## [Jinja map 'extract'](https://forum.ansible.com/t/jinja-map-extract/22315)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 0\
**Last updated:** [August 18, 2016, 9:33am UTC](https://forum.ansible.com/t/jinja-map-extract/22315 "2016-08-18T09:33:12Z")

</div>

I have a playbook running Windows update and want to use set\_fact to get a list of updates installed and the kb numbers. At the end of the win\_updates I register a variable which has the following: “update\_result.updat…

---

## [win\_dsc5 now supports check mode](https://forum.ansible.com/t/win-dsc5-now-supports-check-mode/22286)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 1\
**Last updated:** [August 18, 2016, 7:37am UTC](https://forum.ansible.com/t/win-dsc5-now-supports-check-mode/22286 "2016-08-18T07:37:08Z")

</div>

In case anyone in here is using my win\_dsc5 module to invoke DSC resources, I’ve now implemented support for check mode. https://github.com/trondhindenes/Ansible-win\_dsc

---

## [re-run failed tasks](https://forum.ansible.com/t/re-run-failed-tasks/16125)

<div class="topic-metadata">

**Author:** [@Kien\_Pham](https://forum.ansible.com/u/Kien_Pham)\
**Replies:** 2\
**Last updated:** [August 18, 2016, 5:31am UTC](https://forum.ansible.com/t/re-run-failed-tasks/16125 "2016-08-18T05:31:40Z")

</div>

Hi, Is it possible to re-run failed tasks? Ex: I have 10 tasks, task #9 failed. The next time I run, I only want to run task #9 only. This is very helpful for development of the playbook. Do you know if we can do this…

---

## [How to loop over multiple subkeys?](https://forum.ansible.com/t/how-to-loop-over-multiple-subkeys/22312)

<div class="topic-metadata">

**Author:** [@Ash](https://forum.ansible.com/u/Ash)\
**Replies:** 0\
**Last updated:** [August 18, 2016, 3:13am UTC](https://forum.ansible.com/t/how-to-loop-over-multiple-subkeys/22312 "2016-08-18T03:13:21Z")

</div>

Consider the following: \` users: name: a phone\_parents: 123123123 234234234 phone\_roommate: 456456456 567567567 name: b phone\_parents: 789789789 phone\_roommate: 890890890 678678678 \` With subelement, I can only…

---

## [integration test tips](https://forum.ansible.com/t/integration-test-tips/22302)

<div class="topic-metadata">

**Author:** [@Casey\_Lucas](https://forum.ansible.com/u/Casey_Lucas)\
**Replies:** 1\
**Last updated:** [August 17, 2016, 6:07pm UTC](https://forum.ansible.com/t/integration-test-tips/22302 "2016-08-17T18:07:49Z")

</div>

I’m working on a PR that removes some time.sleep calls from async\_wrapper.py. The PR is failing the Shippable tests but the output is pretty cryptic to me. Can anyone give pointers/tips on running the same tests that shi…

---

## [Question about unarchive files](https://forum.ansible.com/t/question-about-unarchive-files/22309)

<div class="topic-metadata">

**Author:** [@Dusty\_Mabe](https://forum.ansible.com/u/Dusty_Mabe)\
**Replies:** 5\
**Last updated:** [August 17, 2016, 4:20pm UTC](https://forum.ansible.com/t/question-about-unarchive-files/22309 "2016-08-17T16:20:55Z")

</div>

What is the relationship between the following two files: lib/ansible/plugins/action/unarchive.py - from ansible/ansible lib/ansible/modules/core/files/unarchive.py - from ansible/ansible-modules-core It seems like ac…

---

## [Ansible 2.0 variable precedence using an inventory file](https://forum.ansible.com/t/ansible-2-0-variable-precedence-using-an-inventory-file/22287)

<div class="topic-metadata">

**Author:** [@Joe\_Jasinski](https://forum.ansible.com/u/Joe_Jasinski)\
**Replies:** 1\
**Last updated:** [August 17, 2016, 3:11pm UTC](https://forum.ansible.com/t/ansible-2-0-variable-precedence-using-an-inventory-file/22287 "2016-08-17T15:11:57Z")

</div>

Hi all, I have a set of Ansible configuration that I intend to use as a Generic template for setting up a Django webserver and related services. This project contains a multitude of roles for configuring various aspects…

---

## [How much would you charge to fix regression #14829?](https://forum.ansible.com/t/how-much-would-you-charge-to-fix-regression-14829/22306)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 0\
**Last updated:** [August 17, 2016, 12:04pm UTC](https://forum.ansible.com/t/how-much-would-you-charge-to-fix-regression-14829/22306 "2016-08-17T12:04:00Z")

</div>

Hi, on 2016-03-06 I reported a regression in ansible 2.x \[1\] that prevents me from migrating my role \[2\] to ansible 2.x. On 2016-03-17 James Cammarata labeled the issue 'in progress', but since then nothing happened …

---

## [Query about Ansible CLA signing.](https://forum.ansible.com/t/query-about-ansible-cla-signing/22297)

<div class="topic-metadata">

**Author:** [@sowani](https://forum.ansible.com/u/sowani)\
**Replies:** 2\
**Last updated:** [August 17, 2016, 5:55am UTC](https://forum.ansible.com/t/query-about-ansible-cla-signing/22297 "2016-08-17T05:55:13Z")

</div>

Hi, With reference to the CLA mentioned at http://docs.ansible.com/ansible/community.html#contributors-license-agreement, is there any explicit document/form which needs to be filled, signed and get approved before I st…

---

## [vsphere able to add a new drive but can not add an existing drive](https://forum.ansible.com/t/vsphere-able-to-add-a-new-drive-but-can-not-add-an-existing-drive/22301)

<div class="topic-metadata">

**Author:** [@Gallo](https://forum.ansible.com/u/Gallo)\
**Replies:** 0\
**Last updated:** [August 16, 2016, 8:38pm UTC](https://forum.ansible.com/t/vsphere-able-to-add-a-new-drive-but-can-not-add-an-existing-drive/22301 "2016-08-16T20:38:13Z")

</div>

Hi guys I am looking to add an existing hard drive to a vm in vsphere however it seems to be expecting the size to be populated. \[code\]

---

## [oracle db modules](https://forum.ansible.com/t/oracle-db-modules/15104)

<div class="topic-metadata">

**Author:** [@Jeremy\_Schneider](https://forum.ansible.com/u/Jeremy_Schneider)\
**Replies:** 18\
**Last updated:** [August 16, 2016, 7:22pm UTC](https://forum.ansible.com/t/oracle-db-modules/15104 "2016-08-16T19:22:21Z")

</div>

I’ve been using ansible to manage a large number of oracle databases spread across many servers and found it to be very useful. Seems most people are using ansible for much cooler, web-scale things like applications that…

---

## [JInja2 loops in YAML folded syntax](https://forum.ansible.com/t/jinja2-loops-in-yaml-folded-syntax/22299)

<div class="topic-metadata">

**Author:** [@Cristiano\_Paris](https://forum.ansible.com/u/Cristiano_Paris)\
**Replies:** 0\
**Last updated:** [August 16, 2016, 4:23pm UTC](https://forum.ansible.com/t/jinja2-loops-in-yaml-folded-syntax/22299 "2016-08-16T16:23:35Z")

</div>

Hi, I’m using a pip-installed Ansible 2.1.1.0 on a CentOS 7. I’m trying to run the following task in a playbook: name: guest\_installed shell: \> virt-install –name {{ guest.name }} –ram {{ guest.memsize }} –hvm …

---

## [JSON user data when launching cloud instances?](https://forum.ansible.com/t/json-user-data-when-launching-cloud-instances/22298)

<div class="topic-metadata">

**Author:** [@rsmitty](https://forum.ansible.com/u/rsmitty)\
**Replies:** 0\
**Last updated:** [August 16, 2016, 2:24pm UTC](https://forum.ansible.com/t/json-user-data-when-launching-cloud-instances/22298 "2016-08-16T14:24:13Z")

</div>

Hi all, Wondering if anyone else has seen this behavior and figured out a way around. I’m trying to pass in a json object at user\_data when launching some VMs in both AWS and OpenStack. The role is very simple and looks…

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

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