# Latest

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

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

**Page:** 919

---

## [Force re-read of dynamic inventory script?](https://forum.ansible.com/t/force-re-read-of-dynamic-inventory-script/16807)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 9\
**Last updated:** [November 18, 2014, 9:33pm UTC](https://forum.ansible.com/t/force-re-read-of-dynamic-inventory-script/16807 "2014-11-18T21:33:30Z")

</div>

I feel like I've seen questions like this on the list before, but I'm having a hard time finding one now; apologies if this is old ground. I've got a playbook that provisions a new Rackspace Cloud host, and then inclu…

---

## [EC2 module: state=present always returns 'wait for instances running timeout'](https://forum.ansible.com/t/ec2-module-state-present-always-returns-wait-for-instances-running-timeout/16805)

<div class="topic-metadata">

**Author:** [@Dave\_Stern1](https://forum.ansible.com/u/Dave_Stern1)\
**Replies:** 3\
**Last updated:** [November 18, 2014, 9:01pm UTC](https://forum.ansible.com/t/ec2-module-state-present-always-returns-wait-for-instances-running-timeout/16805 "2014-11-18T21:01:47Z")

</div>

We’ve had a task to create EC2 instances running with no changes for weeks. Suddenly sometime after Thu Nov 13 04:11:43 UTC 2014, the module would timeout on all requests to create new instances. This happens on both Mac…

---

## [handler + include](https://forum.ansible.com/t/handler-include/16462)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 7\
**Last updated:** [November 18, 2014, 8:48pm UTC](https://forum.ansible.com/t/handler-include/16462 "2014-11-18T20:48:44Z")

</div>

Hi, having the following task in my main.yml in a role (tasks/main.yml): \` name: mytask copy: src=/source dest=/destination notify: redeploy \` with the following handler ( handlers/main.yml): \` name: redeplo…

---

## [rax\_meta module only supports complete replacement?](https://forum.ansible.com/t/rax-meta-module-only-supports-complete-replacement/16812)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 1\
**Last updated:** [November 18, 2014, 4:10pm UTC](https://forum.ansible.com/t/rax-meta-module-only-supports-complete-replacement/16812 "2014-11-18T16:10:30Z")

</div>

It looks like the rax\_meta module only supports the complete replacment of the existing metadata with a new struct of metadata. Is that right, or am I overlooking something? (I'm using 1.7.2, but it looks like the curr…

---

## [Valid INI format in local facts](https://forum.ansible.com/t/valid-ini-format-in-local-facts/16783)

<div class="topic-metadata">

**Author:** [@sandra.kosmalla](https://forum.ansible.com/u/sandra.kosmalla)\
**Replies:** 2\
**Last updated:** [November 18, 2014, 12:01pm UTC](https://forum.ansible.com/t/valid-ini-format-in-local-facts/16783 "2014-11-18T12:01:04Z")

</div>

Hi, I’m newbie using Ansible (1.7.2) and try to write my first local fact using INI. According to Wikipedia (http://en.wikipedia.org/wiki/INI\_file#Format), a INI file with only key-value pairs is a valid INI format. Ex…

---

## [executable custom fact](https://forum.ansible.com/t/executable-custom-fact/13524)

<div class="topic-metadata">

**Author:** [@Walid](https://forum.ansible.com/u/Walid)\
**Replies:** 6\
**Last updated:** [November 18, 2014, 12:00pm UTC](https://forum.ansible.com/t/executable-custom-fact/13524 "2014-11-18T12:00:02Z")

</div>

Hi All, I am testing if i can do a custom fact, the static content fact either in JSON/INI file works, however if i add another file to the /etc/ansible/facts.d directory to echo the similar content it is not working so…

---

## [Multiple inventory sources](https://forum.ansible.com/t/multiple-inventory-sources/16795)

<div class="topic-metadata">

**Author:** [@Thomas\_Quinot](https://forum.ansible.com/u/Thomas_Quinot)\
**Replies:** 3\
**Last updated:** [November 18, 2014, 11:05am UTC](https://forum.ansible.com/t/multiple-inventory-sources/16795 "2014-11-18T11:05:11Z")

</div>

Redirecting from -devel as advised.

---

## [Multiple inventory sources](https://forum.ansible.com/t/multiple-inventory-sources/16787)

<div class="topic-metadata">

**Author:** [@Thomas\_Quinot](https://forum.ansible.com/u/Thomas_Quinot)\
**Replies:** 3\
**Last updated:** [November 18, 2014, 10:04am UTC](https://forum.ansible.com/t/multiple-inventory-sources/16787 "2014-11-18T10:04:20Z")

</div>

As far as I understand the current state of source code, ansible\_hosts can be: \* the path to a dynamic inventory program \* the path to a static inventory file \* the path to an inventory directory, from which dy…

---

## [Interactive commands](https://forum.ansible.com/t/interactive-commands/16794)

<div class="topic-metadata">

**Author:** [@Thomas\_Quinot](https://forum.ansible.com/u/Thomas_Quinot)\
**Replies:** 2\
**Last updated:** [November 18, 2014, 10:02am UTC](https://forum.ansible.com/t/interactive-commands/16794 "2014-11-18T10:02:10Z")

</div>

Redirecting from -devel as advised... I am considering managing some network equipment (switches) with the 'raw' module. This requires sending commands to the switch in an interactive session (command streamed before…

---

## [Run a task only if a variable is defined](https://forum.ansible.com/t/run-a-task-only-if-a-variable-is-defined/16804)

<div class="topic-metadata">

**Author:** [@Simon\_Munoz](https://forum.ansible.com/u/Simon_Munoz)\
**Replies:** 3\
**Last updated:** [November 18, 2014, 8:38am UTC](https://forum.ansible.com/t/run-a-task-only-if-a-variable-is-defined/16804 "2014-11-18T08:38:59Z")

</div>

Hi all, I’m trying to run a task only if a variable is defined (for example, I have some groups where it’s defined and some others where it’s not). I got to this (adding when: nginx\_sites), that seems to work, but just …

---

## [Looping over JSON output from Arista](https://forum.ansible.com/t/looping-over-json-output-from-arista/16808)

<div class="topic-metadata">

**Author:** [@Leo\_Izbicki](https://forum.ansible.com/u/Leo_Izbicki)\
**Replies:** 0\
**Last updated:** [November 17, 2014, 9:57pm UTC](https://forum.ansible.com/t/looping-over-json-output-from-arista/16808 "2014-11-17T21:57:42Z")

</div>

I’m playing with Ansible+Arista and I’m able to receive JSON back about the arista device. As an example, I am looking at interface status. While I am able to receive and display information about a single value/pair fro…

---

## [callback and facts](https://forum.ansible.com/t/callback-and-facts/16430)

<div class="topic-metadata">

**Author:** [@maxime.gerges31](https://forum.ansible.com/u/maxime.gerges31)\
**Replies:** 10\
**Last updated:** [November 17, 2014, 9:46pm UTC](https://forum.ansible.com/t/callback-and-facts/16430 "2014-11-17T21:46:37Z")

</div>

Hello, I’m trying to tune ansible in order to : Connect to a list of Cisco devices (switches + router) and pull facts from the devices (S/N, interfaces,…) Create a report with each fact’s devices in a CSV file Fo…

---

## [modprobe\_module, when setting state=present, where is it saved for adding the module at next boot ?](https://forum.ansible.com/t/modprobe-module-when-setting-state-present-where-is-it-saved-for-adding-the-module-at-next-boot/16803)

<div class="topic-metadata">

**Author:** [@Stefan\_Eriksson](https://forum.ansible.com/u/Stefan_Eriksson)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:41pm UTC](https://forum.ansible.com/t/modprobe-module-when-setting-state-present-where-is-it-saved-for-adding-the-module-at-next-boot/16803 "2014-11-17T21:41:12Z")

</div>

Hi Its unclear where the modprobe module save the settings, I cant find a list of modules to load att boot in /etc/modprobe.d/ There’s also no info about this in the module website. for example kernel\_blacklist says: b…

---

## [PR #9386 #9379](https://forum.ansible.com/t/pr-9386-9379/16754)

<div class="topic-metadata">

**Author:** [@Walter\_Franzini](https://forum.ansible.com/u/Walter_Franzini)\
**Replies:** 3\
**Last updated:** [November 17, 2014, 9:39pm UTC](https://forum.ansible.com/t/pr-9386-9379/16754 "2014-11-17T21:39:29Z")

</div>

Hi, I'd like to know if more info are needed in order to have PR #9386 and #9379 merged? ciao

---

## [Ansible and continuous integration](https://forum.ansible.com/t/ansible-and-continuous-integration/16752)

<div class="topic-metadata">

**Author:** [@Thomas\_Clauwaert](https://forum.ansible.com/u/Thomas_Clauwaert)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 9:32pm UTC](https://forum.ansible.com/t/ansible-and-continuous-integration/16752 "2014-11-17T21:32:07Z")

</div>

I’m wondering if anyone here, has ever had some experience (or has a setup) with continuous integration and/with ansible. There has been a lot of discussion on how usefull testing would be (with ansible) and while I am …

---

## [Using group module; "Failed to find required executable groupadd"](https://forum.ansible.com/t/using-group-module-failed-to-find-required-executable-groupadd/16751)

<div class="topic-metadata">

**Author:** [@Joshua\_Burke](https://forum.ansible.com/u/Joshua_Burke)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:25pm UTC](https://forum.ansible.com/t/using-group-module-failed-to-find-required-executable-groupadd/16751 "2014-11-17T21:25:30Z")

</div>

Hello, While attempting to provision a Digital Ocean virtual server my playbook needs to create two groups: sudousers sshusers Creation of the virtual server is successful however creating the groups fails with the m…

---

## [howto use multiple environments with multiple groups?](https://forum.ansible.com/t/howto-use-multiple-environments-with-multiple-groups/16759)

<div class="topic-metadata">

**Author:** [@Tristan\_van\_Bokkem](https://forum.ansible.com/u/Tristan_van_Bokkem)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 9:24pm UTC](https://forum.ansible.com/t/howto-use-multiple-environments-with-multiple-groups/16759 "2014-11-17T21:24:23Z")

</div>

Hi, As explained here http://docs.ansible.com/intro\_inventory.html#splitting-out-host-and-group-specific-data we are using multiple environments (acceptance / production) with ansible-playbooks and have set it up as fol…

---

## [Ansible Galaxy filter roles by platform](https://forum.ansible.com/t/ansible-galaxy-filter-roles-by-platform/16764)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 9:20pm UTC](https://forum.ansible.com/t/ansible-galaxy-filter-roles-by-platform/16764 "2014-11-17T21:20:48Z")

</div>

Would it be possible to add some filters in Ansible Galaxy to browse by OS. You have to click through to each role to discover that it’s not suitable for your platform. It needn’t be on by default, but it would be a go…

---

## [YAML quoting problem](https://forum.ansible.com/t/yaml-quoting-problem/16802)

<div class="topic-metadata">

**Author:** [@mtovey](https://forum.ansible.com/u/mtovey)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:20pm UTC](https://forum.ansible.com/t/yaml-quoting-problem/16802 "2014-11-17T21:20:09Z")

</div>

I am using the lineinfile module to define the SMART\_HOST value in a sendmail.mc file. I have tried many variations of specifying the ‘line=’ value, but all generate almost but not quite correct results. For example: li…

---

## [Provision with Ansible from inside Docker](https://forum.ansible.com/t/provision-with-ansible-from-inside-docker/16766)

<div class="topic-metadata">

**Author:** [@Victor\_Lin](https://forum.ansible.com/u/Victor_Lin)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 9:17pm UTC](https://forum.ansible.com/t/provision-with-ansible-from-inside-docker/16766 "2014-11-17T21:17:44Z")

</div>

Hey guys, I am using Ansible and Docker in a very interesting way, I think it would be useful for others, so I wrote an article about it http://victorlin.me/posts/2014/11/13/provision-with-ansible-from-inside-docker T…

---

## [Use included circles and expressions in 'with\_items' and 'when' statement](https://forum.ansible.com/t/use-included-circles-and-expressions-in-with-items-and-when-statement/16769)

<div class="topic-metadata">

**Author:** [@user18](https://forum.ansible.com/u/user18)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:16pm UTC](https://forum.ansible.com/t/use-included-circles-and-expressions-in-with-items-and-when-statement/16769 "2014-11-17T21:16:00Z")

</div>

Hi! I have a problem with with\_items+when statement, please help me. In Jinja2 syntax it’s like this: \` debug: msg=“{% for item in vfiles%}{% for bin in item.binaries %}{% if bin.name+‘.’+bin.ext in files.stdout\_lin…

---

## [Defining Actions to be run in the event of Failure for a Host](https://forum.ansible.com/t/defining-actions-to-be-run-in-the-event-of-failure-for-a-host/16784)

<div class="topic-metadata">

**Author:** [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Replies:** 3\
**Last updated:** [November 17, 2014, 9:08pm UTC](https://forum.ansible.com/t/defining-actions-to-be-run-in-the-event-of-failure-for-a-host/16784 "2014-11-17T21:08:29Z")

</div>

I am using ansible to create instances in EC2. I set disableApiTermination to true using an AWS CLI invocation for each instance that I create (On that note, I hope https://github.com/ansible/ansible-modules-core/pull/20…

---

## [where to manage common inventory properties](https://forum.ansible.com/t/where-to-manage-common-inventory-properties/16772)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:07pm UTC](https://forum.ansible.com/t/where-to-manage-common-inventory-properties/16772 "2014-11-17T21:07:35Z")

</div>

Hi all, we started to create our inventory and in the beginning we were just fine with the host\_vars and group\_vars option to place our properties. Now, for some configuration we have almost the same settings on DEV, T…

---

## [1.8 release date](https://forum.ansible.com/t/1-8-release-date/16529)

<div class="topic-metadata">

**Author:** [@Shaunak\_Kashyap](https://forum.ansible.com/u/Shaunak_Kashyap)\
**Replies:** 3\
**Last updated:** [November 17, 2014, 9:05pm UTC](https://forum.ansible.com/t/1-8-release-date/16529 "2014-11-17T21:05:33Z")

</div>

Hi, Is there a rough date when Ansible 1.8 might become available on PyPI? Thank you, Shaunak

---

## [Suggestions for organization of small project](https://forum.ansible.com/t/suggestions-for-organization-of-small-project/16806)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [November 17, 2014, 9:02pm UTC](https://forum.ansible.com/t/suggestions-for-organization-of-small-project/16806 "2014-11-17T21:02:56Z")

</div>

Please do not cross-post.

---

## [Ansible Vault tries to Decode Irrelevant Files](https://forum.ansible.com/t/ansible-vault-tries-to-decode-irrelevant-files/16792)

<div class="topic-metadata">

**Author:** [@Firat\_Arig](https://forum.ansible.com/u/Firat_Arig)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 9:00pm UTC](https://forum.ansible.com/t/ansible-vault-tries-to-decode-irrelevant-files/16792 "2014-11-17T21:00:58Z")

</div>

Hello, I recently updated our Ansible version at our Jenkins server from 1.6.6 to 1.7.2 and our unencrypted playbooks started requiring vault passes. Two of our environments didn’t have any encryption on their group\_va…

---

## [gp2 volumes with ec2\_vol](https://forum.ansible.com/t/gp2-volumes-with-ec2-vol/16778)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 4\
**Last updated:** [November 17, 2014, 8:58pm UTC](https://forum.ansible.com/t/gp2-volumes-with-ec2-vol/16778 "2014-11-17T20:58:54Z")

</div>

Is it possible to provision gp2 volume (new SSD standard) with ec2\_vol? If so, what's the syntax? Thanks.

---

## [Important BugFix for ControlPersist on RHEL/CentOS 6.6](https://forum.ansible.com/t/important-bugfix-for-controlpersist-on-rhel-centos-6-6/16796)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 8:54pm UTC](https://forum.ansible.com/t/important-bugfix-for-controlpersist-on-rhel-centos-6-6/16796 "2014-11-17T20:54:41Z")

</div>

Red Hat has finally fixed the bug with ControlPersist on RHEL 6.6 which causes Ansible to fail to connect on first try and some other strange behavior. So if you are using RHEL/CentOS 6.6 as your management host, make su…

---

## [django\_manage](https://forum.ansible.com/t/django-manage/16799)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 8:53pm UTC](https://forum.ansible.com/t/django-manage/16799 "2014-11-17T20:53:59Z")

</div>

Hi, It seems that syncdb --all is an open ticket for now. Is there a way to do this with the present code ? Thank you

---

## [How to use Ansible to log in a machine just for creating a home directory](https://forum.ansible.com/t/how-to-use-ansible-to-log-in-a-machine-just-for-creating-a-home-directory/16776)

<div class="topic-metadata">

**Author:** [@zelda0102](https://forum.ansible.com/u/zelda0102)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 8:52pm UTC](https://forum.ansible.com/t/how-to-use-ansible-to-log-in-a-machine-just-for-creating-a-home-directory/16776 "2014-11-17T20:52:33Z")

</div>

I have a virtual machine that when first login as a user, it will create the home directory for the user if it doesn’t have one. So just sth like, $ ssh username@myhostname $ Creating directory ‘/home/username’. How …

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

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