# Latest

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

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

**Page:** 874

---

## [unarchive module skipping when using with\_fileglob](https://forum.ansible.com/t/unarchive-module-skipping-when-using-with-fileglob/18142)

<div class="topic-metadata">

**Author:** [@Rodrigo\_B\_Brasil](https://forum.ansible.com/u/Rodrigo_B_Brasil)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 1:37pm UTC](https://forum.ansible.com/t/unarchive-module-skipping-when-using-with-fileglob/18142 "2015-04-30T13:37:04Z")

</div>

Hello! I’m pretty new to Ansible, so this may be a stupid thing that I’m (not) doing, but I couldn’t find the error by myself. When I try to use this loop, the gzip file cannot be found and I get the “skipping” message…

---

## [Ansible in a micro-services architecture supporting independent development teams](https://forum.ansible.com/t/ansible-in-a-micro-services-architecture-supporting-independent-development-teams/18140)

<div class="topic-metadata">

**Author:** [@Shaun\_Pearce](https://forum.ansible.com/u/Shaun_Pearce)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 12:45pm UTC](https://forum.ansible.com/t/ansible-in-a-micro-services-architecture-supporting-independent-development-teams/18140 "2015-04-30T12:45:23Z")

</div>

Hi All, I’m new to the group (& Ansible) so was hoping someone could give some advice on the best way to use Ansible in a micro-services env. I’ve been tasked with using Ansible to manage a micro-services architecture …

---

## [Conditional restart](https://forum.ansible.com/t/conditional-restart/18141)

<div class="topic-metadata">

**Author:** [@Toby\_Hobson](https://forum.ansible.com/u/Toby_Hobson)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 12:26pm UTC](https://forum.ansible.com/t/conditional-restart/18141 "2015-04-30T12:26:22Z")

</div>

I have a fairly typical set of tasks, which basically ensure that given packages are installed and up to date. I can run the playbook several times and ansible is smart enough to check whether the packages are already in…

---

## [Proper escaping quotes and braces](https://forum.ansible.com/t/proper-escaping-quotes-and-braces/13811)

<div class="topic-metadata">

**Author:** [@Anton\_Parkhomenko](https://forum.ansible.com/u/Anton_Parkhomenko)\
**Replies:** 10\
**Last updated:** [April 30, 2015, 10:53am UTC](https://forum.ansible.com/t/proper-escaping-quotes-and-braces/13811 "2015-04-30T10:53:42Z")

</div>

Hi, I can’t write a syntactically correct playbook. How it would be right to write following command: name: test escaping command: mycommand subcommand --option=‘{“first-item”: 2}’ Can you give me advice?

---

## [Getting ERROR: include\_vars is not a legal parameter in an Ansible task or handler. while running a playbook.](https://forum.ansible.com/t/getting-error-include-vars-is-not-a-legal-parameter-in-an-ansible-task-or-handler-while-running-a-playbook/18115)

<div class="topic-metadata">

**Author:** [@trupti\_mali](https://forum.ansible.com/u/trupti_mali)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 6:42am UTC](https://forum.ansible.com/t/getting-error-include-vars-is-not-a-legal-parameter-in-an-ansible-task-or-handler-while-running-a-playbook/18115 "2015-04-30T06:42:01Z")

</div>

I have seen the earlier thread related to this error. https://groups.google.com/forum/#!search/ERROR$3A$20include\_vars$20is$20not$20a$20legal$20parameter$20in$20an$20Ansible$20task$20or$20handler.$20while$20running$20a$…

---

## [Installing pip packages into a virtualenv - where are they?](https://forum.ansible.com/t/installing-pip-packages-into-a-virtualenv-where-are-they/18137)

<div class="topic-metadata">

**Author:** [@Toby\_Hobson](https://forum.ansible.com/u/Toby_Hobson)\
**Replies:** 3\
**Last updated:** [April 30, 2015, 6:06am UTC](https://forum.ansible.com/t/installing-pip-packages-into-a-virtualenv-where-are-they/18137 "2015-04-30T06:06:13Z")

</div>

I’m running ansible stable-1.9 (from git) I have a playbook task which looks like this: name: Install virtualenv easy\_install: name=virtualenv executable=easy\_install name: Setup pip packages pip: name={{item}} vi…

---

## [Include external inventory file inside main Inventories hosts](https://forum.ansible.com/t/include-external-inventory-file-inside-main-inventories-hosts/18135)

<div class="topic-metadata">

**Author:** [@satheesh\_kumar](https://forum.ansible.com/u/satheesh_kumar)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 2:09am UTC](https://forum.ansible.com/t/include-external-inventory-file-inside-main-inventories-hosts/18135 "2015-04-30T02:09:17Z")

</div>

Hi, I Like to know whether there is a way to include external inventory file inside main Inventories/hosts, similar to we source external files in shell scripting? Thanks in advance Br, Satheesh

---

## [Is there a rabbitmq notifcation module for Ansible-playbook?](https://forum.ansible.com/t/is-there-a-rabbitmq-notifcation-module-for-ansible-playbook/18136)

<div class="topic-metadata">

**Author:** [@Tom\_Chang](https://forum.ansible.com/u/Tom_Chang)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 12:39am UTC](https://forum.ansible.com/t/is-there-a-rabbitmq-notifcation-module-for-ansible-playbook/18136 "2015-04-30T00:39:27Z")

</div>

All, Is there a RabbitMQ notificaiton module for playbook to send out the update or notification? I saw the RabbitMQ user, module for installation/configuration, but I am looking for a notification module such as amazo…

---

## [Ensuring a setting in ansible.cfg](https://forum.ansible.com/t/ensuring-a-setting-in-ansible-cfg/18128)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 12:26am UTC](https://forum.ansible.com/t/ensuring-a-setting-in-ansible-cfg/18128 "2015-04-30T00:26:17Z")

</div>

I’ve structured one of my roles to rely upon the “merge” setting of “hash\_behaviour”. If I want let my colleagues use this role, then they too must set this in their ansible.cfg file, or the environment variable ANSIBLE\_…

---

## [lookup -csvfile - special character delimiter](https://forum.ansible.com/t/lookup-csvfile-special-character-delimiter/18132)

<div class="topic-metadata">

**Author:** [@Raj\_Desikavinayagomp](https://forum.ansible.com/u/Raj_Desikavinayagomp)\
**Replies:** 8\
**Last updated:** [April 29, 2015, 10:34pm UTC](https://forum.ansible.com/t/lookup-csvfile-special-character-delimiter/18132 "2015-04-29T22:34:53Z")

</div>

Hello, How to do a lookup of a csvfile with a special character delimiter. Example password=“{{lookup (‘csvfile’ , ‘string1 file=/tmp/temp.csv delimiter=: col=2’) }}” Following is the error displayed ‘string1 file=/…

---

## [Run "implicit" role using Ansible](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124)

<div class="topic-metadata">

**Author:** [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Replies:** 3\
**Last updated:** [April 29, 2015, 9:50pm UTC](https://forum.ansible.com/t/run-implicit-role-using-ansible/18124 "2015-04-29T21:50:24Z")

</div>

Hi, I have a role: “spark-base” role “spark-conf” depends on “spark-base” roles “install-workers”, “install-masters” depends on “spark-conf” Here is dependency tree: -“spark-base” -“spark-conf” -“spark-workers”, “…

---

## [Nesting Privilege Escalation](https://forum.ansible.com/t/nesting-privilege-escalation/18133)

<div class="topic-metadata">

**Author:** [@Karl\_Katzke](https://forum.ansible.com/u/Karl_Katzke)\
**Replies:** 0\
**Last updated:** [April 29, 2015, 8:52pm UTC](https://forum.ansible.com/t/nesting-privilege-escalation/18133 "2015-04-29T20:52:16Z")

</div>

Howdy! New Ansible user. I’m writing a number of playbooks for a company I just joined. Some of them run as a local user. A few of them run as a local user on a remote machine. The vast majority of them run on a remote …

---

## ["bug" in service module: failing to disable (enabled=no) legacy sysv services on systemd target](https://forum.ansible.com/t/bug-in-service-module-failing-to-disable-enabled-no-legacy-sysv-services-on-systemd-target/17964)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 4\
**Last updated:** [April 29, 2015, 7:55pm UTC](https://forum.ansible.com/t/bug-in-service-module-failing-to-disable-enabled-no-legacy-sysv-services-on-systemd-target/17964 "2015-04-29T19:55:47Z")

</div>

Hi, I'm not entirely sure whether this should be considered an ansible or systemctl bug. This email mainly targets of making others aware of this problem. If you want to disable (enabled=no) a service on a systemd ho…

---

## [How to write host-specific configuration information to a host I spin up using ec2](https://forum.ansible.com/t/how-to-write-host-specific-configuration-information-to-a-host-i-spin-up-using-ec2/18110)

<div class="topic-metadata">

**Author:** [@chris8](https://forum.ansible.com/u/chris8)\
**Replies:** 2\
**Last updated:** [April 29, 2015, 5:24pm UTC](https://forum.ansible.com/t/how-to-write-host-specific-configuration-information-to-a-host-i-spin-up-using-ec2/18110 "2015-04-29T17:24:23Z")

</div>

I’ve got a playbook that looks like this:

---

## [template error while templating string: expected token ':', got 'string'](https://forum.ansible.com/t/template-error-while-templating-string-expected-token-got-string/18121)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 1:42pm UTC](https://forum.ansible.com/t/template-error-while-templating-string-expected-token-got-string/18121 "2015-04-29T13:42:58Z")

</div>

Hi, I’m getting the following error when applying a task from a role: TASK: \[debug var=ansible\_selinux\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[prd-node01\] =\> { “var”: { “ansible\_selinux”: { “status”: “d…

---

## [define common group for multiple inventory files?](https://forum.ansible.com/t/define-common-group-for-multiple-inventory-files/18122)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 0\
**Last updated:** [April 29, 2015, 7:55am UTC](https://forum.ansible.com/t/define-common-group-for-multiple-inventory-files/18122 "2015-04-29T07:55:05Z")

</div>

Hi, we have to support several environments (Dev, Test, Preview, Prod) - so we have the following structure for our (static) inventory: \` inventory – group ---- dev hosts group\_vars host\_vars ---- test hosts gr…

---

## [Ansible 1.9.1 Released](https://forum.ansible.com/t/ansible-1-9-1-released/18113)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 7:49am UTC](https://forum.ansible.com/t/ansible-1-9-1-released/18113 "2015-04-29T07:49:12Z")

</div>

Hi all, Ansible 1.9.1 final has been released and is now available. Ansible 1.9.1 fixes several bugs, including: Fixed a bug related to Kerberos auth when using winrm with a domain account. Fixing several bugs in the …

---

## [Provision aws hosts](https://forum.ansible.com/t/provision-aws-hosts/18071)

<div class="topic-metadata">

**Author:** [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 1:42am UTC](https://forum.ansible.com/t/provision-aws-hosts/18071 "2015-04-29T01:42:36Z")

</div>

Hi, I’m new to ansible and have confusion. What I have right now: ansible+vagrant playbook. Vagrant creates VMs in virtualbox and sets up networking. Ansible does provisioning stuff: install configure put some templ…

---

## [Developing python modules that include custom modules](https://forum.ansible.com/t/developing-python-modules-that-include-custom-modules/18119)

<div class="topic-metadata">

**Author:** [@Pavel\_Georgiev](https://forum.ansible.com/u/Pavel_Georgiev)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 11:43pm UTC](https://forum.ansible.com/t/developing-python-modules-that-include-custom-modules/18119 "2015-04-28T23:43:26Z")

</div>

Hello, I’m trying to create a python ansible module (using AnsibleModule), but I would like to reuse code that I already have in another python module without copy-pasting it in my ansible module. If I simply ‘import’ m…

---

## ['always' tag doesn't match the documentation](https://forum.ansible.com/t/always-tag-doesnt-match-the-documentation/18118)

<div class="topic-metadata">

**Author:** [@John\_McNulty](https://forum.ansible.com/u/John_McNulty)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 11:11pm UTC](https://forum.ansible.com/t/always-tag-doesnt-match-the-documentation/18118 "2015-04-28T23:11:21Z")

</div>

Hi. The docs (http://docs.ansible.com/playbooks\_tags.html) say that the ‘always’ tag will always run a task even if running a playbook with another tag, but it doesn’t do that for me. I have a role called ‘common’ with …

---

## [V2 todo doc](https://forum.ansible.com/t/v2-todo-doc/18117)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 9:07pm UTC](https://forum.ansible.com/t/v2-todo-doc/18117 "2015-04-28T21:07:30Z")

</div>

Hi all, as mentioned a couple of weeks back here, we’re sharing our internal “V2 Todo” list. We’re keeping this on Google Docs for now, but have made it publically viewable: https://docs.google.com/document/d/1OAGI4rXOG…

---

## [design question -- is a 'global' variable indexed by 'inventory\_hostname' an anti-pattern?](https://forum.ansible.com/t/design-question-is-a-global-variable-indexed-by-inventory-hostname-an-anti-pattern/18114)

<div class="topic-metadata">

**Author:** [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 7:30pm UTC](https://forum.ansible.com/t/design-question-is-a-global-variable-indexed-by-inventory-hostname-an-anti-pattern/18114 "2015-04-28T19:30:17Z")

</div>

I’ve got a design question – I’ve got a somewhat complicated nested yaml object which will specify some parameter values that need to be set differently on different hosts. Prior to this particular case, I’ve been comfor…

---

## [ValueError: need more than 1 value to unpack](https://forum.ansible.com/t/valueerror-need-more-than-1-value-to-unpack/18111)

<div class="topic-metadata">

**Author:** [@Andres\_Silva1](https://forum.ansible.com/u/Andres_Silva1)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 7:28pm UTC](https://forum.ansible.com/t/valueerror-need-more-than-1-value-to-unpack/18111 "2015-04-28T19:28:08Z")

</div>

With Ansible 1.9 I have the following plays (fails only with 1.9 with 1.8 it works fine) name: Set to Java version specified by role parameter set\_fact: ver: “{{ java\_version }}” when: ver is undefined alternati…

---

## [Passing complex data (JSON) to a module](https://forum.ansible.com/t/passing-complex-data-json-to-a-module/18030)

<div class="topic-metadata">

**Author:** [@Jan-Piet\_Mens](https://forum.ansible.com/u/Jan-Piet_Mens)\
**Replies:** 7\
**Last updated:** [April 28, 2015, 7:26pm UTC](https://forum.ansible.com/t/passing-complex-data-json-to-a-module/18030 "2015-04-28T19:26:36Z")

</div>

How can I obtain a complex data structure within an Ansible module? Given the following vars\_file:

---

## [configuration modularity questions](https://forum.ansible.com/t/configuration-modularity-questions/18112)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 6:26pm UTC](https://forum.ansible.com/t/configuration-modularity-questions/18112 "2015-04-28T18:26:16Z")

</div>

We are not a large shop (around 50 linux servers). I’m new to ansible (and config management). I’ve set up useful processes that stress the “orchestration” side of ansible. I’m working toward building (role) based server…

---

## [Community Hangout Info](https://forum.ansible.com/t/community-hangout-info/18108)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 4:38pm UTC](https://forum.ansible.com/t/community-hangout-info/18108 "2015-04-28T16:38:09Z")

</div>

Today’s community hangout can be found here: https://plus.google.com/events/c9km8lks5a2uvpv3li3pn1ucv68 If you’d like to join the discussion, you should be able to join here (please let me know if you have issues): ht…

---

## [How to use pbrun\_exe in 1.9+](https://forum.ansible.com/t/how-to-use-pbrun-exe-in-1-9/18104)

<div class="topic-metadata">

**Author:** [@Wim\_Van\_Dijck](https://forum.ansible.com/u/Wim_Van_Dijck)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 3:48pm UTC](https://forum.ansible.com/t/how-to-use-pbrun-exe-in-1-9/18104 "2015-04-28T15:48:33Z")

</div>

Hi, running ansible 2.0.0 from git repo. I’m very excited to try out the new become feature with powerbroker, but I’m struggling to get it to work with our setup. I do realize this feature is still alpha btw :wink: I…

---

## [predictability of ansible script on clients](https://forum.ansible.com/t/predictability-of-ansible-script-on-clients/18106)

<div class="topic-metadata">

**Author:** [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Replies:** 3\
**Last updated:** [April 28, 2015, 3:39pm UTC](https://forum.ansible.com/t/predictability-of-ansible-script-on-clients/18106 "2015-04-28T15:39:15Z")

</div>

Hello, Please correct me if I am wrong… The playbooks are interpreted by the Ansible Control machine, and made into scripts that are copied over to the clients on a random location in ${HOME}/.ansible/tmp (I think), an…

---

## [Creating name of inventory group from a variable](https://forum.ansible.com/t/creating-name-of-inventory-group-from-a-variable/18095)

<div class="topic-metadata">

**Author:** [@ajres](https://forum.ansible.com/u/ajres)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 3:06pm UTC](https://forum.ansible.com/t/creating-name-of-inventory-group-from-a-variable/18095 "2015-04-28T15:06:45Z")

</div>

I have a task where I am updating a line in a file with a comma separated list of inventory hosts, this works for the hard coded case: name: Set host list lineinfile: dest=/home/project/pom.xml regexp=‘.\*’ line='{{ gr…

---

## [Yum - Async Fails to detect failures?](https://forum.ansible.com/t/yum-async-fails-to-detect-failures/18105)

<div class="topic-metadata">

**Author:** [@Mark5](https://forum.ansible.com/u/Mark5)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 2:26pm UTC](https://forum.ansible.com/t/yum-async-fails-to-detect-failures/18105 "2015-04-28T14:26:42Z")

</div>

Ansible 1.9.0.1 - I’ve run into some odd behavior. Running these two tasks back to back, the first async did nothing, exited pretty quickly, while the second yum actually installed the RPMS. I’ve observed many times yum…

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

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