# Latest

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

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

**Page:** 921

---

## [Velocity Barcelona](https://forum.ansible.com/t/velocity-barcelona/16755)

<div class="topic-metadata">

**Author:** [@Mark\_Phillips1](https://forum.ansible.com/u/Mark_Phillips1)\
**Replies:** 0\
**Last updated:** [November 12, 2014, 10:31am UTC](https://forum.ansible.com/t/velocity-barcelona/16755 "2014-11-12T10:31:55Z")

</div>

Hello Folks, We are a sponsor at Velocity Barcelona next week - so if you're going along, come say hello to us. It'll be me manning the booth. I think we'll have some goodies too :slight\_smile: --Mark

---

## [ec2\_eip is not idempotent](https://forum.ansible.com/t/ec2-eip-is-not-idempotent/16639)

<div class="topic-metadata">

**Author:** [@erewh0n](https://forum.ansible.com/u/erewh0n)\
**Replies:** 5\
**Last updated:** [November 11, 2014, 9:37pm UTC](https://forum.ansible.com/t/ec2-eip-is-not-idempotent/16639 "2014-11-11T21:37:22Z")

</div>

Depending on your use case, ec2\_eip is not idempotent. I would like to attach a new EIP to an instance iff the instance doesn’t already have an EIP attached. Currently, the module operates in two modes: if you don’t …

---

## [Generate hostlist.conf for Munin](https://forum.ansible.com/t/generate-hostlist-conf-for-munin/16358)

<div class="topic-metadata">

**Author:** [@Sibin\_Arsenijevic](https://forum.ansible.com/u/Sibin_Arsenijevic)\
**Replies:** 1\
**Last updated:** [November 11, 2014, 7:57pm UTC](https://forum.ansible.com/t/generate-hostlist-conf-for-munin/16358 "2014-11-11T19:57:48Z")

</div>

Hello, I am trying to generate hostlist.conf on munin machine based on inventory variables, i have something like this in template hostlist.j2 \` {% for items in groups\[‘all’\] %} \[{{ hostvars\[items\]\[‘inventory\_hostna…

---

## [Accessing extra-vars inside playbook](https://forum.ansible.com/t/accessing-extra-vars-inside-playbook/16750)

<div class="topic-metadata">

**Author:** [@Kenny\_Garland](https://forum.ansible.com/u/Kenny_Garland)\
**Replies:** 0\
**Last updated:** [November 11, 2014, 7:12pm UTC](https://forum.ansible.com/t/accessing-extra-vars-inside-playbook/16750 "2014-11-11T19:12:34Z")

</div>

I would like to access the string values used at runtime from the ansible-playbook -e argument. In this case the user passes in “public\_subnet” which renders to the value subnet-12345678 from group\_vars. I would like to …

---

## [Strange behaviour, possible bug](https://forum.ansible.com/t/strange-behaviour-possible-bug/16748)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 6\
**Last updated:** [November 11, 2014, 6:01pm UTC](https://forum.ansible.com/t/strange-behaviour-possible-bug/16748 "2014-11-11T18:01:13Z")

</div>

cause you asked it to? I think you want: when: bar is defined

---

## [How to add verbosity to ansible.runner.Runner ?](https://forum.ansible.com/t/how-to-add-verbosity-to-ansible-runner-runner/16725)

<div class="topic-metadata">

**Author:** [@Ethan\_Collins](https://forum.ansible.com/u/Ethan_Collins)\
**Replies:** 4\
**Last updated:** [November 11, 2014, 5:31pm UTC](https://forum.ansible.com/t/how-to-add-verbosity-to-ansible-runner-runner/16725 "2014-11-11T17:31:59Z")

</div>

I am not yet using playbooks. Calling ansible.runner.Runner from python to run modules. How can I add verbosity (like using -vvvv when running ansible from shell) ?

---

## [Create different sets of users on different sets of hosts](https://forum.ansible.com/t/create-different-sets-of-users-on-different-sets-of-hosts/16615)

<div class="topic-metadata">

**Author:** [@Paul\_Slootman](https://forum.ansible.com/u/Paul_Slootman)\
**Replies:** 6\
**Last updated:** [November 11, 2014, 4:00pm UTC](https://forum.ansible.com/t/create-different-sets-of-users-on-different-sets-of-hosts/16615 "2014-11-11T16:00:04Z")

</div>

Hi, A new ansible user here… I’ve been perusing the mailing list archives and have gathered a lot of useful tidbits. I’ve been fairly successful in figuring out how to create a set of users on a list of hosts. However,…

---

## [collectively querying/combining results of the setup and ec2\_facts modules](https://forum.ansible.com/t/collectively-querying-combining-results-of-the-setup-and-ec2-facts-modules/16746)

<div class="topic-metadata">

**Author:** [@vaida.dan](https://forum.ansible.com/u/vaida.dan)\
**Replies:** 1\
**Last updated:** [November 11, 2014, 3:45pm UTC](https://forum.ansible.com/t/collectively-querying-combining-results-of-the-setup-and-ec2-facts-modules/16746 "2014-11-11T15:45:53Z")

</div>

Greetings everyone! For a given reason, I need to handle some Route53 records for my EC2’s EIPs. The instances are part of the \[all\] group in my hosts file. Obviously, the ‘setup’ module is not aware of EIPs. But the …

---

## [Problem with windows modules](https://forum.ansible.com/t/problem-with-windows-modules/16745)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [November 11, 2014, 1:43pm UTC](https://forum.ansible.com/t/problem-with-windows-modules/16745 "2014-11-11T13:43:01Z")

</div>

ansible cannot find the local win\_ping module, it seems an issue with your ansible installation at your master.

---

## [Rolling restart using handlers](https://forum.ansible.com/t/rolling-restart-using-handlers/16659)

<div class="topic-metadata">

**Author:** [@Costi\_Ciudatu](https://forum.ansible.com/u/Costi_Ciudatu)\
**Replies:** 3\
**Last updated:** [November 11, 2014, 12:52pm UTC](https://forum.ansible.com/t/rolling-restart-using-handlers/16659 "2014-11-11T12:52:46Z")

</div>

Is there a way to run the handlers with a different serial value than the rest of the play ? What I want is to install my services in large batches (usually, on all the machines at once) and if any of those services nee…

---

## [slow gathering\_facts followed by a long pause before first task](https://forum.ansible.com/t/slow-gathering-facts-followed-by-a-long-pause-before-first-task/16645)

<div class="topic-metadata">

**Author:** [@Azul](https://forum.ansible.com/u/Azul)\
**Replies:** 2\
**Last updated:** [November 11, 2014, 11:27am UTC](https://forum.ansible.com/t/slow-gathering-facts-followed-by-a-long-pause-before-first-task/16645 "2014-11-11T11:27:54Z")

</div>

Have an odd one here, I’m on ansible 1.6.2, my plays run slow, I’m stuck with RH6 so controlmaster/persist is not an option. I have this weird behaviour where gathering facts from a box takes almost a minute, and then …

---

## [Problem setting variable with bond0.11 IPv4 address from the gathered facts.](https://forum.ansible.com/t/problem-setting-variable-with-bond0-11-ipv4-address-from-the-gathered-facts/16691)

<div class="topic-metadata">

**Author:** [@Joel\_Sdc](https://forum.ansible.com/u/Joel_Sdc)\
**Replies:** 6\
**Last updated:** [November 11, 2014, 11:23am UTC](https://forum.ansible.com/t/problem-setting-variable-with-bond0-11-ipv4-address-from-the-gathered-facts/16691 "2014-11-11T11:23:38Z")

</div>

Hi, I am using Ansible v1.7.1. I am having trouble using the gathered facts when an interface has bonding and VLANs enabled: ansible -m setup testserver \[…\] “ansible\_bond0.11”: { “active”: true, “device”: “bond0.11…

---

## [Is there any option that can synchronously execute multiple palybooks on the same host?](https://forum.ansible.com/t/is-there-any-option-that-can-synchronously-execute-multiple-palybooks-on-the-same-host/16743)

<div class="topic-metadata">

**Author:** [@xin\_zhang](https://forum.ansible.com/u/xin_zhang)\
**Replies:** 0\
**Last updated:** [November 11, 2014, 8:30am UTC](https://forum.ansible.com/t/is-there-any-option-that-can-synchronously-execute-multiple-palybooks-on-the-same-host/16743 "2014-11-11T08:30:57Z")

</div>

I notice if multiple playbooks are applied to the same host concurrently, ansbile will not take any lock but let they all run; this result some playbooks fail because system conflict, for example, failing to acquire apt …

---

## [complicated replace fails to match](https://forum.ansible.com/t/complicated-replace-fails-to-match/16742)

<div class="topic-metadata">

**Author:** [@Vince\_Skahan](https://forum.ansible.com/u/Vince_Skahan)\
**Replies:** 0\
**Last updated:** [November 11, 2014, 4:11am UTC](https://forum.ansible.com/t/complicated-replace-fails-to-match/16742 "2014-11-11T04:11:52Z")

</div>

I’m trying to append to a line that has a reasonably complicated snippet of python looking code. defaultStatsSchema= \[\_tuple for \_tuple in defaultArchiveSchema if \_tuple\[0\] in stats\_types\] + \[(‘wind’, ‘VECTOR’)\] to t…

---

## [Occasional SSH issue when running a playbook. (SSH command stdout empty.)](https://forum.ansible.com/t/occasional-ssh-issue-when-running-a-playbook-ssh-command-stdout-empty/16729)

<div class="topic-metadata">

**Author:** [@Paavo](https://forum.ansible.com/u/Paavo)\
**Replies:** 1\
**Last updated:** [November 11, 2014, 1:42am UTC](https://forum.ansible.com/t/occasional-ssh-issue-when-running-a-playbook-ssh-command-stdout-empty/16729 "2014-11-11T01:42:28Z")

</div>

Hi, Everyone. I’m trying to run an Ansible playbook on two servers, and occasionally either one or both of them fail a task with the error “/usr/bin/python: can’t open file ‘command’: \[Errno 13\] Permission denied”. I st…

---

## [Certificate validation fails within Vagrant](https://forum.ansible.com/t/certificate-validation-fails-within-vagrant/16741)

<div class="topic-metadata">

**Author:** [@benjamen.keroack](https://forum.ansible.com/u/benjamen.keroack)\
**Replies:** 0\
**Last updated:** [November 11, 2014, 12:16am UTC](https://forum.ansible.com/t/certificate-validation-fails-within-vagrant/16741 "2014-11-11T00:16:43Z")

</div>

Hi, I’m developing a testing environment for our Ansible playbooks using Vagrant. I’m using ansible 1.7.2 and vagrant 1.6.5. When I execute a playbook, built-in modules fail SSL certificate validation: name: wget pha…

---

## [How to get the ouput into one json file or json output](https://forum.ansible.com/t/how-to-get-the-ouput-into-one-json-file-or-json-output/16728)

<div class="topic-metadata">

**Author:** [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Replies:** 3\
**Last updated:** [November 10, 2014, 10:37pm UTC](https://forum.ansible.com/t/how-to-get-the-ouput-into-one-json-file-or-json-output/16728 "2014-11-10T22:37:31Z")

</div>

I am trying to gather information about some 200 servers using the setup command. I would like to get the output as one json data. I could see 200 json outputs. How do I get all the date into one json file with 200 ser…

---

## [Executing playbooks from callback, It became slow all of sudden,](https://forum.ansible.com/t/executing-playbooks-from-callback-it-became-slow-all-of-sudden/16739)

<div class="topic-metadata">

**Author:** [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 9:51pm UTC](https://forum.ansible.com/t/executing-playbooks-from-callback-it-became-slow-all-of-sudden/16739 "2014-11-10T21:51:45Z")

</div>

I am using the below function for the past 4 months to orchestrate the installations/depolyments and it was quick. It was working fine and all of a sudden, it became dead slow. I do not remember tweaking settings. def …

---

## [Using with\_items with ec2\_vpc subnets](https://forum.ansible.com/t/using-with-items-with-ec2-vpc-subnets/16738)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 9:42pm UTC](https://forum.ansible.com/t/using-with-items-with-ec2-vpc-subnets/16738 "2014-11-10T21:42:18Z")

</div>

Hi, The ec2\_vpc module is used to create/change both VPCs and its subnets. A with\_items iterator on ec2\_vpc, as expected, will call ec2\_vpc as many times as there are items in the loop. This means there is no way to a…

---

## [insert multiple lines at a particular location within a file](https://forum.ansible.com/t/insert-multiple-lines-at-a-particular-location-within-a-file/16736)

<div class="topic-metadata">

**Author:** [@Vince\_Skahan](https://forum.ansible.com/u/Vince_Skahan)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 8:33pm UTC](https://forum.ansible.com/t/insert-multiple-lines-at-a-particular-location-within-a-file/16736 "2014-11-10T20:33:43Z")

</div>

I’m looking for a reasonable way to insert a block of lines into a certain position within a file hopefully ‘without’ needing to template the destination file. I have a config file that I need to insert multiple lines i…

---

## [Managing users at global, group and host levels](https://forum.ansible.com/t/managing-users-at-global-group-and-host-levels/16735)

<div class="topic-metadata">

**Author:** [@Rishi](https://forum.ansible.com/u/Rishi)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 7:55pm UTC](https://forum.ansible.com/t/managing-users-at-global-group-and-host-levels/16735 "2014-11-10T19:55:46Z")

</div>

I am trying to come up with a scheme for managing users on boxes. I want to be able to selectively choose users at a global, group and host level and then also who is admins (with sudo access basically) on each box at ea…

---

## [rare ansible error: failed to combine variables, expected dicts but got a 'dict' and a 'list'](https://forum.ansible.com/t/rare-ansible-error-failed-to-combine-variables-expected-dicts-but-got-a-dict-and-a-list/16734)

<div class="topic-metadata">

**Author:** [@sam4](https://forum.ansible.com/u/sam4)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 7:43pm UTC](https://forum.ansible.com/t/rare-ansible-error-failed-to-combine-variables-expected-dicts-but-got-a-dict-and-a-list/16734 "2014-11-10T19:43:51Z")

</div>

Hi, I am receiving an error that isn’t shown anywhere in my search results: “ERROR: failed to combine variables, expected dicts but got a ‘dict’ and a ‘list’” Here’s the error in its entirety: https://gist.github.com/…

---

## [Proxy setup](https://forum.ansible.com/t/proxy-setup/16733)

<div class="topic-metadata">

**Author:** [@Jochen\_Hinrichsen](https://forum.ansible.com/u/Jochen_Hinrichsen)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 3:42pm UTC](https://forum.ansible.com/t/proxy-setup/16733 "2014-11-10T15:42:20Z")

</div>

Dear group, i’m trying my first baby steps in ansible, and i’m in trouble w/ regard to proxy setup. The maven playbook i’m reusing from the galaxy seems not to respect the existing environment variables http\_proxy/ http…

---

## [rax.py issues](https://forum.ansible.com/t/rax-py-issues/16722)

<div class="topic-metadata">

**Author:** [@Michael\_Liu](https://forum.ansible.com/u/Michael_Liu)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 3:05pm UTC](https://forum.ansible.com/t/rax-py-issues/16722 "2014-11-10T15:05:29Z")

</div>

Seeing the following when using rax.py. ./rax.py --list /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:730: InsecureRequestWarning: Unverified HTTPS request is being made. Adding cer…

---

## [create remote file only if local template exists](https://forum.ansible.com/t/create-remote-file-only-if-local-template-exists/16713)

<div class="topic-metadata">

**Author:** [@Jordi\_Funollet](https://forum.ansible.com/u/Jordi_Funollet)\
**Replies:** 4\
**Last updated:** [November 10, 2014, 10:10am UTC](https://forum.ansible.com/t/create-remote-file-only-if-local-template-exists/16713 "2014-11-10T10:10:07Z")

</div>

I'm trying to have a template uploaded only if the template exists \*locally\*. My use case is having a bunch of items with common parts configured on the same role. Something like - template: src=nginx/{{ item }}.…

---

## [Inventory: IP's of all group members except self](https://forum.ansible.com/t/inventory-ips-of-all-group-members-except-self/16719)

<div class="topic-metadata">

**Author:** [@Dirk\_Louwers](https://forum.ansible.com/u/Dirk_Louwers)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 8:14am UTC](https://forum.ansible.com/t/inventory-ips-of-all-group-members-except-self/16719 "2014-11-10T08:14:16Z")

</div>

Hi, I just started out experimenting with roles from Ansible Galaxy. I came across a role that required the hosts of all other instances of this server. Since I keep all of them in the same group I was wondering how I c…

---

## [Show tag\_Name in playbook run](https://forum.ansible.com/t/show-tag-name-in-playbook-run/16730)

<div class="topic-metadata">

**Author:** [@jimmy](https://forum.ansible.com/u/jimmy)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 1:04am UTC](https://forum.ansible.com/t/show-tag-name-in-playbook-run/16730 "2014-11-10T01:04:16Z")

</div>

Hi all, I am currently using dynamic inventory for AWS with ec2.py and .ini and I was wondering if there was a way to show the Name tag for my instances during the playbook run. Currently it appears with the private IP …

---

## [Noob Question: Automating Playbook Execution](https://forum.ansible.com/t/noob-question-automating-playbook-execution/11853)

<div class="topic-metadata">

**Author:** [@Chamberlain\_Darren](https://forum.ansible.com/u/Chamberlain_Darren)\
**Replies:** 3\
**Last updated:** [November 9, 2014, 11:59am UTC](https://forum.ansible.com/t/noob-question-automating-playbook-execution/11853 "2014-11-09T11:59:24Z")

</div>

This isn't an exact answer to your question, but hopefully it can provide you with some ideas. We're using Jenkins\[\*\] as a front-end to ansible. Playbooks are wrapped in Jenkins jobs, which allow us to schedule and re…

---

## [RE: ec2.py inventory tag\_Name question](https://forum.ansible.com/t/re-ec2-py-inventory-tag-name-question/16727)

<div class="topic-metadata">

**Author:** [@jimmy](https://forum.ansible.com/u/jimmy)\
**Replies:** 0\
**Last updated:** [November 9, 2014, 4:21am UTC](https://forum.ansible.com/t/re-ec2-py-inventory-tag-name-question/16727 "2014-11-09T04:21:38Z")

</div>

So I wasn’t able to track down my previous post about how I can access tag\_Name while using ec2.py in place of /etc/ansible/hosts (being moderated) but after taking another look at http://docs.ansible.com/guide\_aws.html …

---

## [variable precedence seems not working as intended](https://forum.ansible.com/t/variable-precedence-seems-not-working-as-intended/16717)

<div class="topic-metadata">

**Author:** [@Piotr\_Goslawski](https://forum.ansible.com/u/Piotr_Goslawski)\
**Replies:** 2\
**Last updated:** [November 8, 2014, 10:26pm UTC](https://forum.ansible.com/t/variable-precedence-seems-not-working-as-intended/16717 "2014-11-08T22:26:41Z")

</div>

From http://docs.ansible.com/playbooks\_variables.html#variable-precedence-where-should-i-put-a-variable If multiple variables of the same name are defined in different places, they win in a certain order, which is: \*…

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

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