# Latest

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

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

**Page:** 892

---

## [handlers inside loops](https://forum.ansible.com/t/handlers-inside-loops/17610)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 1\
**Last updated:** [February 25, 2015, 2:06pm UTC](https://forum.ansible.com/t/handlers-inside-loops/17610 "2015-02-25T14:06:49Z")

</div>

I figured out the solution to this while writing it, but I thought I’d share anyway, in case anyone else finds it useful. I have a task to update the config files for multiple web servers, which triggers a handler to re…

---

## [Do-until loop with an include task](https://forum.ansible.com/t/do-until-loop-with-an-include-task/17609)

<div class="topic-metadata">

**Author:** [@cselden](https://forum.ansible.com/u/cselden)\
**Replies:** 1\
**Last updated:** [February 25, 2015, 1:26pm UTC](https://forum.ansible.com/t/do-until-loop-with-an-include-task/17609 "2015-02-25T13:26:51Z")

</div>

Community, I’m trying to loop through a tasks script until a task check does not fail. This is what I’d like to use: name: Retry startup include: retry.yml when: check|failed retries: 3 until: not check|failed Th…

---

## [Connecting winrm module from Ansible on Linux](https://forum.ansible.com/t/connecting-winrm-module-from-ansible-on-linux/17550)

<div class="topic-metadata">

**Author:** [@satheesh\_kumar](https://forum.ansible.com/u/satheesh_kumar)\
**Replies:** 9\
**Last updated:** [February 25, 2015, 1:15pm UTC](https://forum.ansible.com/t/connecting-winrm-module-from-ansible-on-linux/17550 "2015-02-25T13:15:26Z")

</div>

| I am using ansible hosted on linux to manage both linux and Windows VMs on azure. When I try to ping windows VMs from ansible using \<br\># ansible windows -m win\_ping\<br\>\<br\> I am getting below error: \<…

---

## [Ansible cron module --check --diff query](https://forum.ansible.com/t/ansible-cron-module-check-diff-query/17615)

<div class="topic-metadata">

**Author:** [@jolyon](https://forum.ansible.com/u/jolyon)\
**Replies:** 1\
**Last updated:** [February 25, 2015, 1:03am UTC](https://forum.ansible.com/t/ansible-cron-module-check-diff-query/17615 "2015-02-25T01:03:20Z")

</div>

Hi all I’ve a query about running a playbook with --check --diff . For some reason when running against a playbook with a cron task in (where we are amending an existing Ansible created crontab with new running hours/mi…

---

## [vars\_files interpolation](https://forum.ansible.com/t/vars-files-interpolation/17611)

<div class="topic-metadata">

**Author:** [@Michael\_Laccetti](https://forum.ansible.com/u/Michael_Laccetti)\
**Replies:** 0\
**Last updated:** [February 24, 2015, 7:13pm UTC](https://forum.ansible.com/t/vars-files-interpolation/17611 "2015-02-24T19:13:30Z")

</div>

I have the following task file: \`

---

## [ANSIBLE Windows 503](https://forum.ansible.com/t/ansible-windows-503/17607)

<div class="topic-metadata">

**Author:** [@yosser\_bf](https://forum.ansible.com/u/yosser_bf)\
**Replies:** 2\
**Last updated:** [February 24, 2015, 6:15pm UTC](https://forum.ansible.com/t/ansible-windows-503/17607 "2015-02-24T18:15:44Z")

</div>

Hi, I’m facing an issue trying to launch a simple command “win\_ping” to a windows node. I follow the documentation from the Ansible website. Windows machine: Windows Server 2012 Standard PowerShell 3.0 The errror I…

---

## [Caching get\_url tasks](https://forum.ansible.com/t/caching-get-url-tasks/17546)

<div class="topic-metadata">

**Author:** [@Warren\_Seine1](https://forum.ansible.com/u/Warren_Seine1)\
**Replies:** 4\
**Last updated:** [February 24, 2015, 4:36pm UTC](https://forum.ansible.com/t/caching-get-url-tasks/17546 "2015-02-24T16:36:15Z")

</div>

Hi, For performance (faster first deployment), safety (in case the third party goes down), and bad connectivity (no internet) reasons, I’d like to cache downloads made with get\_url. I know this can be done manually, bu…

---

## [Ansible Roles in 1.8.4 - Still inferior to include files for complex playbooks?](https://forum.ansible.com/t/ansible-roles-in-1-8-4-still-inferior-to-include-files-for-complex-playbooks/17603)

<div class="topic-metadata">

**Author:** [@jack.martin8912](https://forum.ansible.com/u/jack.martin8912)\
**Replies:** 6\
**Last updated:** [February 24, 2015, 3:48pm UTC](https://forum.ansible.com/t/ansible-roles-in-1-8-4-still-inferior-to-include-files-for-complex-playbooks/17603 "2015-02-24T15:48:26Z")

</div>

From Ansible doc: Roles in Ansible build on the idea of include files and combine them to form clean, reusable abstractions I really want to love roles and use them extensively in our system, but so far I’m getting a…

---

## [Error when combining variables](https://forum.ansible.com/t/error-when-combining-variables/17608)

<div class="topic-metadata">

**Author:** [@Jiri](https://forum.ansible.com/u/Jiri)\
**Replies:** 4\
**Last updated:** [February 24, 2015, 3:19pm UTC](https://forum.ansible.com/t/error-when-combining-variables/17608 "2015-02-24T15:19:40Z")

</div>

I’m getting the following error: \` ERROR: failed to combine variables, expected dicts but got a ‘dict’ and a ‘str’ \` with the following setup: \` ./site.yaml

---

## [Revisiting PowerShell DSC](https://forum.ansible.com/t/revisiting-powershell-dsc/17602)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 1\
**Last updated:** [February 24, 2015, 10:05am UTC](https://forum.ansible.com/t/revisiting-powershell-dsc/17602 "2015-02-24T10:05:56Z")

</div>

Hi all, If you’re on the Windows side, you probably know about PowerShell DSC, which is Microsoft’s up and coming config management engine. I’ve been quite sceptical to DSC for a long time, because of the way it tries t…

---

## [ansible-vault and with\_password](https://forum.ansible.com/t/ansible-vault-and-with-password/17606)

<div class="topic-metadata">

**Author:** [@J11](https://forum.ansible.com/u/J11)\
**Replies:** 0\
**Last updated:** [February 23, 2015, 11:53pm UTC](https://forum.ansible.com/t/ansible-vault-and-with-password/17606 "2015-02-23T23:53:54Z")

</div>

All, Looking to automate password / account management using Ansible. The overall goal is to have an unencrypted password in a file for use (so that I have it handy if I need to pull it up) and the nuse ansible-vault or…

---

## [force handlers to run](https://forum.ansible.com/t/force-handlers-to-run/17601)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 1\
**Last updated:** [February 23, 2015, 11:28pm UTC](https://forum.ansible.com/t/force-handlers-to-run/17601 "2015-02-23T23:28:27Z")

</div>

Say I have a playbook like this: name: install apache config copy: src=httpd.conf dest=/etc/httpd.conf notify: restart apache name: do something that fails command: false I ran it without --force-handlers. The firs…

---

## [Docker Module Improvements/Discussion](https://forum.ansible.com/t/docker-module-improvements-discussion/17443)

<div class="topic-metadata">

**Author:** [@David\_Dyball](https://forum.ansible.com/u/David_Dyball)\
**Replies:** 4\
**Last updated:** [February 23, 2015, 10:43pm UTC](https://forum.ansible.com/t/docker-module-improvements-discussion/17443 "2015-02-23T22:43:08Z")

</div>

Hi All, I’ve just jumped back on the Ansible train after spending a long time working solely with Docker and noticed a few things I felt were lacking in the Docker module. I’m not the worlds best coder, but I am contemp…

---

## [apt Module does not support "/target\_release" option ?](https://forum.ansible.com/t/apt-module-does-not-support-target-release-option/17605)

<div class="topic-metadata">

**Author:** [@Xavier\_Krantz](https://forum.ansible.com/u/Xavier_Krantz)\
**Replies:** 0\
**Last updated:** [February 23, 2015, 10:06pm UTC](https://forum.ansible.com/t/apt-module-does-not-support-target-release-option/17605 "2015-02-23T22:06:29Z")

</div>

Hello every body ! In my company we are using Reprepro as a Debian repository manager. This manager doest not allow multiple versions of a same package identified by its name. So we have organized or build promotion w…

---

## [String to vars not working anymore in Ansible v1.8.x](https://forum.ansible.com/t/string-to-vars-not-working-anymore-in-ansible-v1-8-x/17590)

<div class="topic-metadata">

**Author:** [@Khuong\_Dinh\_Pham](https://forum.ansible.com/u/Khuong_Dinh_Pham)\
**Replies:** 6\
**Last updated:** [February 23, 2015, 8:02pm UTC](https://forum.ansible.com/t/string-to-vars-not-working-anymore-in-ansible-v1-8-x/17590 "2015-02-23T20:02:54Z")

</div>

Hi In v1.7.2 It was possible to do this i a template: {{ vars\[‘prefix\_’ + {{ item.env }} + ‘\_postfix’ \] | get\_something }} But it’s not working anymore in v.1.8.x. It just say that variable ‘prefix\_main\_postfix’ does …

---

## [Ansible and Inventory](https://forum.ansible.com/t/ansible-and-inventory/17599)

<div class="topic-metadata">

**Author:** [@Brian\_Dunbar](https://forum.ansible.com/u/Brian_Dunbar)\
**Replies:** 1\
**Last updated:** [February 23, 2015, 7:09pm UTC](https://forum.ansible.com/t/ansible-and-inventory/17599 "2015-02-23T19:09:35Z")

</div>

Good: we’ve settled on using Ansible for orchestrating our servers and software. Problem: keeping up with inventory, and variables. We’re a hosting company. Items I have to worry about for this include host names, cust…

---

## [skip-tags in ansible-playbook does not skip handlers](https://forum.ansible.com/t/skip-tags-in-ansible-playbook-does-not-skip-handlers/17598)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [February 23, 2015, 5:19pm UTC](https://forum.ansible.com/t/skip-tags-in-ansible-playbook-does-not-skip-handlers/17598 "2015-02-23T17:19:55Z")

</div>

design, handlers ignore tags, they are only conditional on notification.

---

## [managing multi-node environments](https://forum.ansible.com/t/managing-multi-node-environments/17132)

<div class="topic-metadata">

**Author:** [@Bence\_Takacs](https://forum.ansible.com/u/Bence_Takacs)\
**Replies:** 7\
**Last updated:** [February 23, 2015, 2:45pm UTC](https://forum.ansible.com/t/managing-multi-node-environments/17132 "2015-02-23T14:45:56Z")

</div>

I have environments that contain different nodes of different roles/types like: databases, webservers, load-balancers. Sometimes I need to call every server of the same role/type, but sometimes I need to address an envi…

---

## [working with multiple lists.. one defining the other?](https://forum.ansible.com/t/working-with-multiple-lists-one-defining-the-other/17587)

<div class="topic-metadata">

**Author:** [@Joel\_Parker](https://forum.ansible.com/u/Joel_Parker)\
**Replies:** 3\
**Last updated:** [February 23, 2015, 8:33am UTC](https://forum.ansible.com/t/working-with-multiple-lists-one-defining-the-other/17587 "2015-02-23T08:33:56Z")

</div>

I already have tasks for creating users, groups, authorized\_keys, etc. from the existing lists of users, by setting a variable that’s linked to each of those. What I want to do is have group\_vars for an inventory that l…

---

## [Handlers getting executed on ALL hosts in a group when only one member of the group matched conditional (Ansible 1.6)](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594)

<div class="topic-metadata">

**Author:** [@Mark\_Raider](https://forum.ansible.com/u/Mark_Raider)\
**Replies:** 2\
**Last updated:** [February 23, 2015, 5:32am UTC](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594 "2015-02-23T05:32:35Z")

</div>

Does anyone know why handlers get executed on ALL members of a group when only one member met the conditional??? See below… Here is the pastebin info \<\< sanitized\>\> When I execute our top level playbook site.yml on a g…

---

## [test](https://forum.ansible.com/t/test/17595)

<div class="topic-metadata">

**Author:** [@Jakub\_Muszynski](https://forum.ansible.com/u/Jakub_Muszynski)\
**Replies:** 0\
**Last updated:** [February 22, 2015, 8:57pm UTC](https://forum.ansible.com/t/test/17595 "2015-02-22T20:57:21Z")

</div>

test

---

## [module doc error? v1.9](https://forum.ansible.com/t/module-doc-error-v1-9/17588)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 1\
**Last updated:** [February 22, 2015, 8:06pm UTC](https://forum.ansible.com/t/module-doc-error-v1-9/17588 "2015-02-22T20:06:06Z")

</div>

demo module from http://docs.ansible.com/developing\_modules.html failed on my mac with the 1.9 branch. missing something? regression? $ uname -a Darwin bonechar.socal.rr.com 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec…

---

## [Delegate\_to, tags, when | "Good practise" when running playbook (or roles?) against a group of hosts, with some tasks limited only to a subset of this group.](https://forum.ansible.com/t/delegate-to-tags-when-good-practise-when-running-playbook-or-roles-against-a-group-of-hosts-with-some-tasks-limited-only-to-a-subset-of-this-group/17592)

<div class="topic-metadata">

**Author:** [@Jakub\_Muszynski](https://forum.ansible.com/u/Jakub_Muszynski)\
**Replies:** 0\
**Last updated:** [February 22, 2015, 4:12pm UTC](https://forum.ansible.com/t/delegate-to-tags-when-good-practise-when-running-playbook-or-roles-against-a-group-of-hosts-with-some-tasks-limited-only-to-a-subset-of-this-group/17592 "2015-02-22T16:12:35Z")

</div>

This is a question of good practise Introduction: I do have logic “Lines” on a way from my LB to Backend \[LineA\] proxyA app\_type=proxy frontendA app\_type=frontend middlewareA app\_type=middleware \[LineB\] proxyB…

---

## [backreference to 'all hosts in scope of current task'?](https://forum.ansible.com/t/backreference-to-all-hosts-in-scope-of-current-task/17591)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 2\
**Last updated:** [February 22, 2015, 1:55pm UTC](https://forum.ansible.com/t/backreference-to-all-hosts-in-scope-of-current-task/17591 "2015-02-22T13:55:46Z")

</div>

Hello, I'd like to loop over all hosts that are in scope of the current task in a template. Currently I use a fixed groupname as seen in the following block, but that will break if the scope doesn't match the groupna…

---

## [vApp role/module](https://forum.ansible.com/t/vapp-role-module/17521)

<div class="topic-metadata">

**Author:** [@Vaclav\_Adamec](https://forum.ansible.com/u/Vaclav_Adamec)\
**Replies:** 4\
**Last updated:** [February 22, 2015, 12:59pm UTC](https://forum.ansible.com/t/vapp-role-module/17521 "2015-02-22T12:59:03Z")

</div>

Hi, did anybody try vsphere vApp setup? (there is a support for it in pysphere) It will be quite nice to have possibility to deploy from cloning/creating to setup IP and start up fully functional VM (some internal init …

---

## [WinRM broken in the current devel commit](https://forum.ansible.com/t/winrm-broken-in-the-current-devel-commit/17557)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 3\
**Last updated:** [February 22, 2015, 7:36am UTC](https://forum.ansible.com/t/winrm-broken-in-the-current-devel-commit/17557 "2015-02-22T07:36:49Z")

</div>

Hi all, I’ve been away from Ansible for a while and today when cloning the devel codebase to my computer WinRM stopped working: using logging I can see that it attempts to use http although i’ve set port to be 5896: \<1…

---

## [multi-platform role support: setting vars according to OS](https://forum.ansible.com/t/multi-platform-role-support-setting-vars-according-to-os/17581)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 2\
**Last updated:** [February 21, 2015, 11:57pm UTC](https://forum.ansible.com/t/multi-platform-role-support-setting-vars-according-to-os/17581 "2015-02-21T23:57:51Z")

</div>

Hi, I'm creating a role that supports multiple platforms and should handle them transparently to the end user. something like the following works fine for tasks/main.yml but doesn't work for default/main.yml - inclu…

---

## [ec2 parallel launch](https://forum.ansible.com/t/ec2-parallel-launch/17548)

<div class="topic-metadata">

**Author:** [@Alexey\_Wasilyev1](https://forum.ansible.com/u/Alexey_Wasilyev1)\
**Replies:** 5\
**Last updated:** [February 21, 2015, 8:58pm UTC](https://forum.ansible.com/t/ec2-parallel-launch/17548 "2015-02-21T20:58:23Z")

</div>

Hello! Is there any way to launch multiple different vm’s in parallel? When I set wait=yes to the ec2 module - vm’s are launched one by one, which can be very slow. In case of wait=yes - vm’s are launched rather faster…

---

## [error in module docs](https://forum.ansible.com/t/error-in-module-docs/17586)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 2\
**Last updated:** [February 21, 2015, 7:26pm UTC](https://forum.ansible.com/t/error-in-module-docs/17586 "2015-02-21T19:26:51Z")

</div>

http://docs.ansible.com/developing\_modules.html the verbose educational example dumped this ansible/hacking/test-module -m ./timex.py -a time="March 14 12:23" including generated source, if any, saving to: /Users/pix…

---

## [group\_var not visible in role?](https://forum.ansible.com/t/group-var-not-visible-in-role/17584)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 1\
**Last updated:** [February 21, 2015, 7:25pm UTC](https://forum.ansible.com/t/group-var-not-visible-in-role/17584 "2015-02-21T19:25:17Z")

</div>

Hi, I'm having the problem that group\_vars do not seem to be visible in the role. I assumed it should be. working:

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

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