# Latest

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

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

**Page:** 985

---

## [Template fails with diff if dest=directory w/o trailing / - shall provide better error message](https://forum.ansible.com/t/template-fails-with-diff-if-dest-directory-w-o-trailing-shall-provide-better-error-message/14722)

<div class="topic-metadata">

**Author:** [@Jakub\_Holy](https://forum.ansible.com/u/Jakub_Holy)\
**Replies:** 1\
**Last updated:** [March 13, 2014, 2:49pm UTC](https://forum.ansible.com/t/template-fails-with-diff-if-dest-directory-w-o-trailing-shall-provide-better-error-message/14722 "2014-03-13T14:49:18Z")

</div>

The following will fail in Ansible 1.5 but only when run with --diff:

---

## [Questions about Ansible Galaxy](https://forum.ansible.com/t/questions-about-ansible-galaxy/14763)

<div class="topic-metadata">

**Author:** [@Jeff\_Geerling](https://forum.ansible.com/u/Jeff_Geerling)\
**Replies:** 2\
**Last updated:** [March 13, 2014, 2:20pm UTC](https://forum.ansible.com/t/questions-about-ansible-galaxy/14763 "2014-03-13T14:20:59Z")

</div>

I’ve been busy contributing a bunch of roles I use to Galaxy, and while writing a post on Using Ansible Galaxy / researching for Ansible for DevOps, I have the following questions about the contribution process, as well …

---

## [ansible-galaxy bundler](https://forum.ansible.com/t/ansible-galaxy-bundler/14759)

<div class="topic-metadata">

**Author:** [@ShadowKoBolt](https://forum.ansible.com/u/ShadowKoBolt)\
**Replies:** 10\
**Last updated:** [March 13, 2014, 1:56pm UTC](https://forum.ansible.com/t/ansible-galaxy-bundler/14759 "2014-03-13T13:56:51Z")

</div>

Quick question and very sorry if this has already been asked or discussed (I had a quick search but couldn’t find anything). Does anyone know if there are any plans to add the functionality to automatically install any m…

---

## [ValueError regarding to shlex.py with dynamic inventory](https://forum.ansible.com/t/valueerror-regarding-to-shlex-py-with-dynamic-inventory/14764)

<div class="topic-metadata">

**Author:** [@Alexander\_Winkler](https://forum.ansible.com/u/Alexander_Winkler)\
**Replies:** 2\
**Last updated:** [March 13, 2014, 1:42pm UTC](https://forum.ansible.com/t/valueerror-regarding-to-shlex-py-with-dynamic-inventory/14764 "2014-03-13T13:42:13Z")

</div>

Hello, I am currently writing an dynamic inventory to query out central database (CMDB. Regarding to http://docs.ansible.com/developing\_inventory.html, I am implementing the \_meta field for host variables. As far as I …

---

## [Intersections in templates and variables?](https://forum.ansible.com/t/intersections-in-templates-and-variables/13104)

<div class="topic-metadata">

**Author:** [@Tristan\_Zajonc](https://forum.ansible.com/u/Tristan_Zajonc)\
**Replies:** 11\
**Last updated:** [March 12, 2014, 9:06pm UTC](https://forum.ansible.com/t/intersections-in-templates-and-variables/13104 "2014-03-12T21:06:25Z")

</div>

Hi, I have an inventory setup where instances have roles with a cloud. Because there are multiple clouds I use intersections to select roles within a cloud, and pass in the cloud name as an extra variable at the command…

---

## [Feature request: support Docker data containers](https://forum.ansible.com/t/feature-request-support-docker-data-containers/14762)

<div class="topic-metadata">

**Author:** [@Jerome\_Petazzoni](https://forum.ansible.com/u/Jerome_Petazzoni)\
**Replies:** 3\
**Last updated:** [March 12, 2014, 7:10pm UTC](https://forum.ansible.com/t/feature-request-support-docker-data-containers/14762 "2014-03-12T19:10:52Z")

</div>

Hi! This is a follow-up to github issue https://github.com/ansible/ansible/issues/6395. Docker data containers are containers that don’t run a specific process, and exist only to hold a volume which will then be shared…

---

## [Bug in github\_hooks?](https://forum.ansible.com/t/bug-in-github-hooks/14761)

<div class="topic-metadata">

**Author:** [@Mike\_Titus](https://forum.ansible.com/u/Mike_Titus)\
**Replies:** 1\
**Last updated:** [March 12, 2014, 6:23pm UTC](https://forum.ansible.com/t/bug-in-github-hooks/14761 "2014-03-12T18:23:59Z")

</div>

Thought I would post this here before raising an issue on GitHub: This line in a role produced the error below: github\_hooks: action=create hookurl=http://{{ inventory\_hostname }}:88 user={{ github\_user }} oauthkey={{ …

---

## [apt-get install play suddenly fails](https://forum.ansible.com/t/apt-get-install-play-suddenly-fails/14753)

<div class="topic-metadata">

**Author:** [@Demetri\_Mouratis](https://forum.ansible.com/u/Demetri_Mouratis)\
**Replies:** 5\
**Last updated:** [March 12, 2014, 6:26am UTC](https://forum.ansible.com/t/apt-get-install-play-suddenly-fails/14753 "2014-03-12T06:26:36Z")

</div>

I’ve got this play in my playbook to install mysql-server: mysql server setup name: Install MySQL Server apt: pkg={{ item }} state=present update\_cache=yes with\_items: mysql-server environment: DEBIAN\_FRONTEND: …

---

## [A better "run once" mechanism?](https://forum.ansible.com/t/a-better-run-once-mechanism/14756)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating](https://forum.ansible.com/u/Jesse_Keating)\
**Replies:** 5\
**Last updated:** [March 12, 2014, 5:08am UTC](https://forum.ansible.com/t/a-better-run-once-mechanism/14756 "2014-03-12T05:08:35Z")

</div>

I've got a play that ensures some servers are created, then ensures a domain for those servers exists in DNS, then ensures A records exist within that domain for each server. I want the domain ensure to run once, not 10…

---

## [Jenkins, Ansible, EC2, Git, and SSH](https://forum.ansible.com/t/jenkins-ansible-ec2-git-and-ssh/14747)

<div class="topic-metadata">

**Author:** [@Chris\_Preisinger](https://forum.ansible.com/u/Chris_Preisinger)\
**Replies:** 1\
**Last updated:** [March 12, 2014, 1:36am UTC](https://forum.ansible.com/t/jenkins-ansible-ec2-git-and-ssh/14747 "2014-03-12T01:36:17Z")

</div>

So I’ve spent a good amount of time researching this problem and trying out numerous solutions but I’ve still had no luck so I thought I’d ask. My current setup is an EC2 instance with Jenkins and Ansible playbooks. I w…

---

## [1.6 development branch begins in full](https://forum.ansible.com/t/1-6-development-branch-begins-in-full/14757)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [March 12, 2014, 1:28am UTC](https://forum.ansible.com/t/1-6-development-branch-begins-in-full/14757 "2014-03-12T01:28:39Z")

</div>

Hi everyone, As we start the 1.6 development branch more actively I wanted to share a few quick notes re: plans. First off, we’re going to more aggressively merge LOTS of things for a while, in various themes and batch…

---

## [Unable to make my idempotent MySQL playbook to work](https://forum.ansible.com/t/unable-to-make-my-idempotent-mysql-playbook-to-work/14270)

<div class="topic-metadata">

**Author:** [@Sjors\_Buitenhuis](https://forum.ansible.com/u/Sjors_Buitenhuis)\
**Replies:** 2\
**Last updated:** [March 12, 2014, 12:16am UTC](https://forum.ansible.com/t/unable-to-make-my-idempotent-mysql-playbook-to-work/14270 "2014-03-12T00:16:00Z")

</div>

Hi, I’m having a very hard time making my MySQL playbook idemptotent on my vagrant dev machine. I came across two posts from Lorin Hochstein, but unfortunately i’m still getting the error ‘msg: unable to connect to data…

---

## [stacking connection plugins](https://forum.ansible.com/t/stacking-connection-plugins/14755)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [March 11, 2014, 10:11pm UTC](https://forum.ansible.com/t/stacking-connection-plugins/14755 "2014-03-11T22:11:06Z")

</div>

Hi! I’m currently working with some OpenVZ containers, and provisioning them by using a custom “vzctl exec over ssh” connection plugin (which I can’t share now, as it was made on my employers time). I’d love to see a d…

---

## [nested with\_fileglob and with\_sequence](https://forum.ansible.com/t/nested-with-fileglob-and-with-sequence/14752)

<div class="topic-metadata">

**Author:** [@RobL](https://forum.ansible.com/u/RobL)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 3:57pm UTC](https://forum.ansible.com/t/nested-with-fileglob-and-with-sequence/14752 "2014-03-11T15:57:06Z")

</div>

Hi: I’m trying to act on the cartesian product of a fileglob and a sequence. Is there a way to do this with with\_nested? I tried this: cmd: cp {{ item\[0\] }} {{ item\[0\] }}.{{ item\[1\] }} with\_nested: with\_fileglob: /…

---

## [Triggering handlers from another role](https://forum.ansible.com/t/triggering-handlers-from-another-role/14735)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 3\
**Last updated:** [March 11, 2014, 1:06pm UTC](https://forum.ansible.com/t/triggering-handlers-from-another-role/14735 "2014-03-11T13:06:44Z")

</div>

Hi all, I’m updating a service’s configurations and I need to trigger a reload. Tricky thing is both services have different roles, specifically a RabbitMQ role that add a config file for Collectd. Ideally I could just …

---

## [Use hostnames from ansible group into template](https://forum.ansible.com/t/use-hostnames-from-ansible-group-into-template/14754)

<div class="topic-metadata">

**Author:** [@Petr\_Sukharev](https://forum.ansible.com/u/Petr_Sukharev)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 10:37am UTC](https://forum.ansible.com/t/use-hostnames-from-ansible-group-into-template/14754 "2014-03-11T10:37:48Z")

</div>

Hi! Does anybody know solution for scenario like this: i have template (sudoers file with host list) like this Host\_group = host1, host2, host3 Host\_group = host4, host5, host6 Host\_group = host7, host8, host9 And …

---

## [Can't limit hosts to run with hosts: WEB\[:1\] in Ansible 1.5](https://forum.ansible.com/t/cant-limit-hosts-to-run-with-hosts-web-1-in-ansible-1-5/14739)

<div class="topic-metadata">

**Author:** [@t\_goto](https://forum.ansible.com/u/t_goto)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 9:56am UTC](https://forum.ansible.com/t/cant-limit-hosts-to-run-with-hosts-web-1-in-ansible-1-5/14739 "2014-03-11T09:56:55Z")

</div>

Dear Ansible experts and developers. Hello, I’ve got one question regarding Ansible1.5 . I’ve been using \[:\] in hosts section of playbook so that I can limit the number of server to run. Below is an example. “WEB” g…

---

## [regexp in assemble module with remote\_src=false](https://forum.ansible.com/t/regexp-in-assemble-module-with-remote-src-false/14740)

<div class="topic-metadata">

**Author:** [@Marco\_Corte](https://forum.ansible.com/u/Marco_Corte)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 9:24am UTC](https://forum.ansible.com/t/regexp-in-assemble-module-with-remote-src-false/14740 "2014-03-11T09:24:36Z")

</div>

If I run this playbook against, say, the host pgli10-nm, it exits with an error \`

---

## [Where is ansible\_fqdn coming from?](https://forum.ansible.com/t/where-is-ansible-fqdn-coming-from/14750)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 8:54am UTC](https://forum.ansible.com/t/where-is-ansible-fqdn-coming-from/14750 "2014-03-11T08:54:20Z")

</div>

I have the following tasks: - copy: src={{ansible\_fqdn}}.crt dest=/etc/ssl/certs mode=0440 group=ssl-cert when: ssl is defined - copy: src={{ansible\_fqdn}}.key dest=/etc/ssl/private mode=0440 group=ssl-cert whe…

---

## [Timing issue, installing a package and then modifying one of it's files...](https://forum.ansible.com/t/timing-issue-installing-a-package-and-then-modifying-one-of-its-files/14699)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 4\
**Last updated:** [March 10, 2014, 10:21pm UTC](https://forum.ansible.com/t/timing-issue-installing-a-package-and-then-modifying-one-of-its-files/14699 "2014-03-10T22:21:40Z")

</div>

I have come across an unusual timing issue… I’m not sure what is causing it but it is repeatable… Here is a single task file from part of my initial set up… (I’ve removed the AIX and 32 bit variants but they are intersp…

---

## [Super quick and short survey - Help us understand where you download Ansible from](https://forum.ansible.com/t/super-quick-and-short-survey-help-us-understand-where-you-download-ansible-from/14749)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [March 10, 2014, 10:06pm UTC](https://forum.ansible.com/t/super-quick-and-short-survey-help-us-understand-where-you-download-ansible-from/14749 "2014-03-10T22:06:25Z")

</div>

Hi guys, Super quick question we have – wanted to know how people are downloading Ansible. There are also two related questions attempting to categorize whether respondents are new or old users (as that might affect pr…

---

## [with\_nested combined with with\_sequence and with\_fileglob ?](https://forum.ansible.com/t/with-nested-combined-with-with-sequence-and-with-fileglob/14748)

<div class="topic-metadata">

**Author:** [@RobL](https://forum.ansible.com/u/RobL)\
**Replies:** 0\
**Last updated:** [March 10, 2014, 9:37pm UTC](https://forum.ansible.com/t/with-nested-combined-with-with-sequence-and-with-fileglob/14748 "2014-03-10T21:37:05Z")

</div>

Hi: I’d like to do a nested loop over a sequence and a file glob. A simplified example of what I thought might work is: command: cp {{ item\[1\] }} {{ item\[1\] }}.{{ item\[0\] }} with\_nested: with\_sequence: start=0 end=10 …

---

## [Selecting Host in Multiple Groups](https://forum.ansible.com/t/selecting-host-in-multiple-groups/14745)

<div class="topic-metadata">

**Author:** [@James\_Goodhouse](https://forum.ansible.com/u/James_Goodhouse)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 8:04pm UTC](https://forum.ansible.com/t/selecting-host-in-multiple-groups/14745 "2014-03-10T20:04:16Z")

</div>

Hey All, How would one go about targeting hosts based on being them being in multiple groups? For example, I have a staging inventory file with a Vagrant group and a Japan group. I want to target a vagrant server that i…

---

## [Ansible and AWS ASG?](https://forum.ansible.com/t/ansible-and-aws-asg/14737)

<div class="topic-metadata">

**Author:** [@Timothy\_Perrett](https://forum.ansible.com/u/Timothy_Perrett)\
**Replies:** 4\
**Last updated:** [March 10, 2014, 7:53pm UTC](https://forum.ansible.com/t/ansible-and-aws-asg/14737 "2014-03-10T19:53:06Z")

</div>

Hey all, Is there any support / module in ansible for creating auto-scalling groups within amazon? Or should I just use the shell command and invoke the AWS CLI? Thanks, Tim PS: I love ansible so far, its really great …

---

## [recommended strategy for assembling roles dir from shared roles](https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743)

<div class="topic-metadata">

**Author:** [@Jonathan\_Sabo1](https://forum.ansible.com/u/Jonathan_Sabo1)\
**Replies:** 1\
**Last updated:** [March 10, 2014, 6:48pm UTC](https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743 "2014-03-10T18:48:17Z")

</div>

What are some good ways to automate pulling down shared roles from Galaxy or shared github repos? How are people doing that today? Are you scripting ansible-galaxy or do tools like librarian-whatever exist? What’s the be…

---

## [Missing license headers on module\_utils subdirectories, read only if you've added things there](https://forum.ansible.com/t/missing-license-headers-on-module-utils-subdirectories-read-only-if-youve-added-things-there/14744)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [March 10, 2014, 6:14pm UTC](https://forum.ansible.com/t/missing-license-headers-on-module-utils-subdirectories-read-only-if-youve-added-things-there/14744 "2014-03-10T18:14:30Z")

</div>

Hi all, Just a quick note that we noticed some license headers were missing on a few files in the module\_utils/ directory. All files in this directory should be BSD. For those that created a new file (for instance rax.…

---

## [1.5 synchronize module does not copy from Ansible controller to inventory target](https://forum.ansible.com/t/1-5-synchronize-module-does-not-copy-from-ansible-controller-to-inventory-target/14728)

<div class="topic-metadata">

**Author:** [@Chris\_Shenton](https://forum.ansible.com/u/Chris_Shenton)\
**Replies:** 6\
**Last updated:** [March 10, 2014, 4:06pm UTC](https://forum.ansible.com/t/1-5-synchronize-module-does-not-copy-from-ansible-controller-to-inventory-target/14728 "2014-03-10T16:06:39Z")

</div>

I’m trying to copy a bunch of files, recurisvely, from my Ansible control machine to the inventory target. The ‘synchronize’ module (in 1.5) sounds like it does just what I need: # Synchronization of src on the control …

---

## [Traverse nested dictionary with keeping the keys](https://forum.ansible.com/t/traverse-nested-dictionary-with-keeping-the-keys/14742)

<div class="topic-metadata">

**Author:** [@Robert\_Verspuy](https://forum.ansible.com/u/Robert_Verspuy)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 3:20pm UTC](https://forum.ansible.com/t/traverse-nested-dictionary-with-keeping-the-keys/14742 "2014-03-10T15:20:23Z")

</div>

All, I’ve tryied to use with\_subelements, but this function does not keep the key of the main loop. For example: In host\_vars/testserver.yml:

---

## [Variable combining several lists](https://forum.ansible.com/t/variable-combining-several-lists/14738)

<div class="topic-metadata">

**Author:** [@Michael\_Mahemoff](https://forum.ansible.com/u/Michael_Mahemoff)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 2:52pm UTC](https://forum.ansible.com/t/variable-combining-several-lists/14738 "2014-03-10T14:52:06Z")

</div>

Is there any way to define a variable as being the combination of several lists. For example, define “database\_clients” as being the combination of all items in groups\[‘app\_servers’\] and groups\[‘processors’\]. I’d rather …

---

## [group\_by adding all hosts?](https://forum.ansible.com/t/group-by-adding-all-hosts/14727)

<div class="topic-metadata">

**Author:** [@Matthew\_R](https://forum.ansible.com/u/Matthew_R)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 1:51pm UTC](https://forum.ansible.com/t/group-by-adding-all-hosts/14727 "2014-03-10T13:51:09Z")

</div>

Hi, I’m pulling my hair out on this, but it’s probably something simple. I’m trying to create a dynamic group that has all our OpenVZ Guests in it. So, in my ‘site.yml’ I have: \` name: Setup Groups hosts: all task…

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

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