# Latest

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

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

**Page:** 858

---

## [Substituting lists in playbook](https://forum.ansible.com/t/substituting-lists-in-playbook/18576)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Zarzycki](https://forum.ansible.com/u/Krzysztof_Zarzycki)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 4:28am UTC](https://forum.ansible.com/t/substituting-lists-in-playbook/18576 "2015-06-26T04:28:00Z")

</div>

Hi there, I’m trying to do a pretty simple thing and I can’t make it work, I’ll be grateful for any help. I’m trying to assign a list of hosts from a group to a variable, which later on, I would like to iterate over in…

---

## [Variable as array/object key in playbook](https://forum.ansible.com/t/variable-as-array-object-key-in-playbook/18574)

<div class="topic-metadata">

**Author:** [@Michael\_Mallett](https://forum.ansible.com/u/Michael_Mallett)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 4:24am UTC](https://forum.ansible.com/t/variable-as-array-object-key-in-playbook/18574 "2015-06-26T04:24:19Z")

</div>

As asked here http://stackoverflow.com/questions/30985183/variable-as-array-object-key-in-ansible I am writing a playbook that creates a network with a name I assign. Later on in the playbook I need to access the IP th…

---

## [Option to make "No hosts matched" a FATAL error?](https://forum.ansible.com/t/option-to-make-no-hosts-matched-a-fatal-error/18568)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 3\
**Last updated:** [June 26, 2015, 4:13am UTC](https://forum.ansible.com/t/option-to-make-no-hosts-matched-a-fatal-error/18568 "2015-06-26T04:13:40Z")

</div>

Hi all is there a way to make it so that “No hosts matched” becomes a FATAL error? I’m using a CI job to kick off ansible to deploy something and in this case if it cannot find a host to deploy to, I want that to be a f…

---

## [v2 and dynamically setting ansible\_ssh\_host](https://forum.ansible.com/t/v2-and-dynamically-setting-ansible-ssh-host/18616)

<div class="topic-metadata">

**Author:** [@Tony\_Kinsley](https://forum.ansible.com/u/Tony_Kinsley)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 4:11am UTC](https://forum.ansible.com/t/v2-and-dynamically-setting-ansible-ssh-host/18616 "2015-06-26T04:11:54Z")

</div>

This seems like a bug, but I want to check first. I have a role that provisions VMs in an openstack tenancy. One of the tasks the role performs is to update the ansible\_ssh\_host variable with the ip address returned from…

---

## [New os\_server and os\_server\_actions modules](https://forum.ansible.com/t/new-os-server-and-os-server-actions-modules/18615)

<div class="topic-metadata">

**Author:** [@Tony\_Kinsley](https://forum.ansible.com/u/Tony_Kinsley)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 3:35am UTC](https://forum.ansible.com/t/new-os-server-and-os-server-actions-modules/18615 "2015-06-26T03:35:50Z")

</div>

Hey Guys, I was testing out the os\_server and os\_server\_actions modules when I noticed that the start and stop actions were not included. I know the pull request said that the os\_server\_actions module was an initial com…

---

## [RFC: Module conventions / check list](https://forum.ansible.com/t/rfc-module-conventions-check-list/18245)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 8\
**Last updated:** [June 26, 2015, 3:31am UTC](https://forum.ansible.com/t/rfc-module-conventions-check-list/18245 "2015-06-26T03:31:46Z")

</div>

Hi I would like to share some infos about what I look for in modules, or what I learned, what does make a module a good module. It resulted in some kind of checklist for reviewers or module developers, maybe it helps f…

---

## [Complex loop question.](https://forum.ansible.com/t/complex-loop-question/18591)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 12:47am UTC](https://forum.ansible.com/t/complex-loop-question/18591 "2015-06-26T00:47:49Z")

</div>

Hi, I’m looping over a set of repositories and storing them using ‘register’, for each of these repositories I’m listing the configuration directory and storing the results using register, so far so good. Now I’m tryin…

---

## [Parallel execution of local action with multiple items](https://forum.ansible.com/t/parallel-execution-of-local-action-with-multiple-items/18614)

<div class="topic-metadata">

**Author:** [@Baraa\_Basata](https://forum.ansible.com/u/Baraa_Basata)\
**Replies:** 0\
**Last updated:** [June 25, 2015, 10:49pm UTC](https://forum.ansible.com/t/parallel-execution-of-local-action-with-multiple-items/18614 "2015-06-25T22:49:16Z")

</div>

Given a need to provision 2+ instances of a cloud resource, such as the below, is there a way to provision them in parallel?

---

## [Errant build problem](https://forum.ansible.com/t/errant-build-problem/18611)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [June 25, 2015, 8:46pm UTC](https://forum.ansible.com/t/errant-build-problem/18611 "2015-06-25T20:46:24Z")

</div>

Hi all, just wanted to make everyone aware that we had an errant build job accidentally release a pypi package with the 2.0.0 version. If you have installed this package, please remove it, as it corresponds to the (now d…

---

## [Escaping % signs?](https://forum.ansible.com/t/escaping-signs/18605)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [June 25, 2015, 6:43pm UTC](https://forum.ansible.com/t/escaping-signs/18605 "2015-06-25T18:43:05Z")

</div>

Hi! I’ve written a module and am bumping up against an issue when I try to include a percent sign in one of the parameters, e.g.: supervisor\_prog: name: smlp-data user: smlp command: java blah-blah-blah environment:…

---

## [Problem installing Ansible Tower](https://forum.ansible.com/t/problem-installing-ansible-tower/18608)

<div class="topic-metadata">

**Author:** [@Marc\_Bernier](https://forum.ansible.com/u/Marc_Bernier)\
**Replies:** 1\
**Last updated:** [June 25, 2015, 3:44pm UTC](https://forum.ansible.com/t/problem-installing-ansible-tower/18608 "2015-06-25T15:44:54Z")

</div>

Does not seem to be able to be installed on a Redhat 7.1 server. I keep getting this error : TASK: \[packages\_el | install yum repositories\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[localhost\] =\> (item=http://download.…

---

## [Is it allowed to embed Ansible into commercial products?](https://forum.ansible.com/t/is-it-allowed-to-embed-ansible-into-commercial-products/18606)

<div class="topic-metadata">

**Author:** [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Replies:** 1\
**Last updated:** [June 25, 2015, 3:44pm UTC](https://forum.ansible.com/t/is-it-allowed-to-embed-ansible-into-commercial-products/18606 "2015-06-25T15:44:21Z")

</div>

Would it be against spirit or letter of Ansible's license, if I embed it in commercial application? The application consists of multiple services that need to be deployed and that's for what Ansible supposed to be used.

---

## [Accessing variables defined in group\_vars/all from local mode](https://forum.ansible.com/t/accessing-variables-defined-in-group-vars-all-from-local-mode/18607)

<div class="topic-metadata">

**Author:** [@KN1](https://forum.ansible.com/u/KN1)\
**Replies:** 0\
**Last updated:** [June 25, 2015, 2:34pm UTC](https://forum.ansible.com/t/accessing-variables-defined-in-group-vars-all-from-local-mode/18607 "2015-06-25T14:34:55Z")

</div>

Hello all, I’m unable to access the value of a variable defined in “group\_vars/all” in a simple \`local.yml’ playbook. I have described my directory layout and the contents of the YAML files in detail here: http://stac…

---

## [Accessing hostvars in plugins](https://forum.ansible.com/t/accessing-hostvars-in-plugins/18598)

<div class="topic-metadata">

**Author:** [@Charles\_Flood](https://forum.ansible.com/u/Charles_Flood)\
**Replies:** 0\
**Last updated:** [June 24, 2015, 7:08pm UTC](https://forum.ansible.com/t/accessing-hostvars-in-plugins/18598 "2015-06-24T19:08:35Z")

</div>

I’m attempting to create a new plugin to direct playbook output (failures and causes) to my company’s logging and messaging utilities. The only thing missing at the moment is information about the machines the playbook …

---

## [ec2 multiple security groups using a variable](https://forum.ansible.com/t/ec2-multiple-security-groups-using-a-variable/18597)

<div class="topic-metadata">

**Author:** [@Joe1](https://forum.ansible.com/u/Joe1)\
**Replies:** 0\
**Last updated:** [June 24, 2015, 6:47pm UTC](https://forum.ansible.com/t/ec2-multiple-security-groups-using-a-variable/18597 "2015-06-24T18:47:13Z")

</div>

We’ve recently had to add multiple security groups to an ec2 instance, but based on the host group, it needs to be a different set of groups. I see that you can do this by using an array list like so: name: launch lo…

---

## [Variable precedence in 1.8.4 and 1.6.10](https://forum.ansible.com/t/variable-precedence-in-1-8-4-and-1-6-10/18594)

<div class="topic-metadata">

**Author:** [@Sergey\_Maslyakov](https://forum.ansible.com/u/Sergey_Maslyakov)\
**Replies:** 0\
**Last updated:** [June 24, 2015, 4:25pm UTC](https://forum.ansible.com/t/variable-precedence-in-1-8-4-and-1-6-10/18594 "2015-06-24T16:25:55Z")

</div>

I observe a strange difference in behavior of Ansible 1.8.4 and 1.6.10. I have a variable in group\_vars/all and then I override it in the inventory file in the \[all:vars\] section. In 1.6.10, it works as expected. The v…

---

## [INI file without sections](https://forum.ansible.com/t/ini-file-without-sections/13264)

<div class="topic-metadata">

**Author:** [@Drew\_Northup](https://forum.ansible.com/u/Drew_Northup)\
**Replies:** 2\
**Last updated:** [June 24, 2015, 3:52pm UTC](https://forum.ansible.com/t/ini-file-without-sections/13264 "2015-06-24T15:52:14Z")

</div>

The standard /etc/php.d/opcache.ini file is in ini format yet has no sections. If I try to use the ini\_file module to change one value (say opcache.memory\_consumption) without specifying some sort of “section=” it fails …

---

## [Strange backslash quote issue](https://forum.ansible.com/t/strange-backslash-quote-issue/17612)

<div class="topic-metadata">

**Author:** [@Doug\_Eubanks](https://forum.ansible.com/u/Doug_Eubanks)\
**Replies:** 1\
**Last updated:** [June 24, 2015, 3:23pm UTC](https://forum.ansible.com/t/strange-backslash-quote-issue/17612 "2015-06-24T15:23:41Z")

</div>

Hello: This: name: reconfigure suexec path in httpd spec lineinfile: dest=/root/rpmbuild/SPECS/httpd.spec regexp=‘^.–with-suexec-docroot=.’ line=’ --with-suexec-docroot=/home ' insertafter=‘^.–with-suexec-caller=.’ …

---

## [iterating over data](https://forum.ansible.com/t/iterating-over-data/18575)

<div class="topic-metadata">

**Author:** [@Hank\_Beatty](https://forum.ansible.com/u/Hank_Beatty)\
**Replies:** 1\
**Last updated:** [June 24, 2015, 11:24am UTC](https://forum.ansible.com/t/iterating-over-data/18575 "2015-06-24T11:24:28Z")

</div>

Hello, Given the data below I would like to create a single task that will print the url or the filename without having to specify the hardware (PowerEdge\_xxxxx) or the firmware (bios, idrac, etc.). Any ideas would be …

---

## [fetch and sudo](https://forum.ansible.com/t/fetch-and-sudo/18590)

<div class="topic-metadata">

**Author:** [@Denis\_Guillemenot](https://forum.ansible.com/u/Denis_Guillemenot)\
**Replies:** 0\
**Last updated:** [June 24, 2015, 8:48am UTC](https://forum.ansible.com/t/fetch-and-sudo/18590 "2015-06-24T08:48:30Z")

</div>

Hello, Is it possible to update the documentation for ‘fetch’ module to warn people using ‘sudo’ ? As stated in the following link: https://groups.google.com/forum/#!topic/ansible-project/AHMhBViMQRA You should set “…

---

## [\[WIN\] Howto built custom Powershell module. Read docs, but not getting it.](https://forum.ansible.com/t/win-howto-built-custom-powershell-module-read-docs-but-not-getting-it/18571)

<div class="topic-metadata">

**Author:** [@acropia](https://forum.ansible.com/u/acropia)\
**Replies:** 3\
**Last updated:** [June 24, 2015, 8:32am UTC](https://forum.ansible.com/t/win-howto-built-custom-powershell-module-read-docs-but-not-getting-it/18571 "2015-06-24T08:32:48Z")

</div>

Hi, I want to built some custom modules for Windows. But I ran into some problems: When I read the docs about developing modules, the part about test-module (git clone, source, chmod) is breaking my Ansible installatio…

---

## [Inconsistent boolean handling of False](https://forum.ansible.com/t/inconsistent-boolean-handling-of-false/18583)

<div class="topic-metadata">

**Author:** [@Si\_W](https://forum.ansible.com/u/Si_W)\
**Replies:** 2\
**Last updated:** [June 24, 2015, 8:29am UTC](https://forum.ansible.com/t/inconsistent-boolean-handling-of-false/18583 "2015-06-24T08:29:51Z")

</div>

I have been struggling with booloean handling and read through https://github.com/ansible/ansible/issues/8629 not sure if its fixed or I am just not getting the jist. If I run something like … \` vars: foo: True bar: …

---

## [Playbook fails on one remote server (running Gentoo), but succeedes on the rest 5 remote servers (running different version of CentOS)](https://forum.ansible.com/t/playbook-fails-on-one-remote-server-running-gentoo-but-succeedes-on-the-rest-5-remote-servers-running-different-version-of-centos/18580)

<div class="topic-metadata">

**Author:** [@Dimitar\_Hristov](https://forum.ansible.com/u/Dimitar_Hristov)\
**Replies:** 2\
**Last updated:** [June 24, 2015, 6:00am UTC](https://forum.ansible.com/t/playbook-fails-on-one-remote-server-running-gentoo-but-succeedes-on-the-rest-5-remote-servers-running-different-version-of-centos/18580 "2015-06-24T06:00:09Z")

</div>

Hi Guys, I’ve set up a Playbook to update ACLs on few servers (one running Gentoo, the others are CentOS). The Playbook works fine for the CentOS machines, but fails for the Gentoo one, here’s the error: failed: \[gsqte…

---

## [Remote job suspended ,How can i handle it ? Please help. thanks a lot](https://forum.ansible.com/t/remote-job-suspended-how-can-i-handle-it-please-help-thanks-a-lot/18526)

<div class="topic-metadata">

**Author:** [@Zohar\_Yu](https://forum.ansible.com/u/Zohar_Yu)\
**Replies:** 4\
**Last updated:** [June 24, 2015, 4:44am UTC](https://forum.ansible.com/t/remote-job-suspended-how-can-i-handle-it-please-help-thanks-a-lot/18526 "2015-06-24T04:44:00Z")

</div>

When i use ansible to execute yum to install something. but in fact ,The remote host auto update system, then it startup a yum Process . So the ansible wait there forever ,How can I do something usefull ? I’m confused. …

---

## [What is your development workflow for Windows modules?](https://forum.ansible.com/t/what-is-your-development-workflow-for-windows-modules/17624)

<div class="topic-metadata">

**Author:** [@John-Paul\_Herold](https://forum.ansible.com/u/John-Paul_Herold)\
**Replies:** 4\
**Last updated:** [June 24, 2015, 3:14am UTC](https://forum.ansible.com/t/what-is-your-development-workflow-for-windows-modules/17624 "2015-06-24T03:14:13Z")

</div>

Greetings, tl;dr I’m curious how people are developing windows modules and specifically details about their workflow. Context: I have been leading the Ansible push in my organization and have recently been getting the …

---

## [Cannot run 1.9.2 -- ERROR: apt is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/cannot-run-1-9-2-error-apt-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18578)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 3\
**Last updated:** [June 24, 2015, 12:13am UTC](https://forum.ansible.com/t/cannot-run-1-9-2-error-apt-is-not-a-legal-parameter-in-an-ansible-task-or-handler/18578 "2015-06-24T00:13:13Z")

</div>

When I try to use 1.9.2-rc2 \` ansible❯ source ~/si/ansible/hacking/env-setup ops/git/master !+ examine files in directory /Users/bkaplan/si/ansible/lib/ansible.egg-info? running egg\_info writing requirements to lib/…

---

## [error pulling from private registry](https://forum.ansible.com/t/error-pulling-from-private-registry/18587)

<div class="topic-metadata">

**Author:** [@lbrigman124](https://forum.ansible.com/u/lbrigman124)\
**Replies:** 0\
**Last updated:** [June 23, 2015, 11:14pm UTC](https://forum.ansible.com/t/error-pulling-from-private-registry/18587 "2015-06-23T23:14:46Z")

</div>

There was another post/bug earlier in March about this specific problem but it seemed to get closed without getting to the bottom of the issue as there was a passing test case and the user that reported the problem just…

---

## [Connecting to new EC2 instance using .pem file](https://forum.ansible.com/t/connecting-to-new-ec2-instance-using-pem-file/18536)

<div class="topic-metadata">

**Author:** [@Lokesh\_Vastrad](https://forum.ansible.com/u/Lokesh_Vastrad)\
**Replies:** 4\
**Last updated:** [June 23, 2015, 10:00pm UTC](https://forum.ansible.com/t/connecting-to-new-ec2-instance-using-pem-file/18536 "2015-06-23T22:00:31Z")

</div>

Hi, I am new to Ansible. I have setup Ansible using source from GIT. I am able to provision a new EC2 instance. I want to connect to this instance using a .pem file and not ssh. I am able to manually connect to the new…

---

## [Setting IPMI IP addresses](https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 1\
**Last updated:** [June 23, 2015, 6:45pm UTC](https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585 "2015-06-23T18:45:24Z")

</div>

Hi, We have servers with on one subnet and IPMI on another. So we might have a server with an IP of 10.10.10.50 and an IPMI address of: 10.10.20.57 What we would like to do is use Ansible to set an IPMI address to …

---

## [Conditional handlers from a task](https://forum.ansible.com/t/conditional-handlers-from-a-task/18581)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 3\
**Last updated:** [June 23, 2015, 6:42pm UTC](https://forum.ansible.com/t/conditional-handlers-from-a-task/18581 "2015-06-23T18:42:25Z")

</div>

FYI, I’m running my Ansible playbook in “pull-mode” not push mode. Therefore, my nodes will publish the results of their task via Hipchat. With that said, I have a task that installs RPMs. When the installs are successf…

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

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