# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=76

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

**Page:** 77

---

## [Looping over 3 set of values and using each combination](https://forum.ansible.com/t/looping-over-3-set-of-values-and-using-each-combination/17575)

<div class="topic-metadata">

**Author:** [@Sebastian\_Gottschkes](https://forum.ansible.com/u/Sebastian_Gottschkes)\
**Replies:** 2\
**Last updated:** [February 20, 2015, 2:17pm UTC](https://forum.ansible.com/t/looping-over-3-set-of-values-and-using-each-combination/17575 "2015-02-20T14:17:54Z")

</div>

Hi, sorry for the title, it’s hard to describe in a short sentence. I need to use the acl module on all combination of 3 entities, 2 etypes and 2 names (dirs). Here is what I am doing right now (take a look at task “s…

---

## [Configure iPhone with Ansible](https://forum.ansible.com/t/configure-iphone-with-ansible/17564)

<div class="topic-metadata">

**Author:** [@Artem\_Grebenkin](https://forum.ansible.com/u/Artem_Grebenkin)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 7:56am UTC](https://forum.ansible.com/t/configure-iphone-with-ansible/17564 "2015-02-19T07:56:10Z")

</div>

Hi folks, an iPhone has apt-get, so I’d like to configure them with Ansible using condition when: ansible\_os\_family == ‘iOs’ or something like that. How can I extend Ansible so it sets ‘iOs’ value in ansible\_os\_family? …

---

## [Should omit not work, for philosophical reasons, when used with prefix/postfix string data?](https://forum.ansible.com/t/should-omit-not-work-for-philosophical-reasons-when-used-with-prefix-postfix-string-data/17563)

<div class="topic-metadata">

**Author:** [@Jacob\_Case](https://forum.ansible.com/u/Jacob_Case)\
**Replies:** 0\
**Last updated:** [February 19, 2015, 5:05am UTC](https://forum.ansible.com/t/should-omit-not-work-for-philosophical-reasons-when-used-with-prefix-postfix-string-data/17563 "2015-02-19T05:05:32Z")

</div>

Hello, In the tests for test\_good\_parsing for integration tests, there is a test that fails if any extra string data is provided with an omit, like “prefix{{ omit }}”. Is there a reason that this is a preferred behavio…

---

## [EC2 ELB session stickiness](https://forum.ansible.com/t/ec2-elb-session-stickiness/17540)

<div class="topic-metadata">

**Author:** [@Tom\_Bamford](https://forum.ansible.com/u/Tom_Bamford)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 1:21am UTC](https://forum.ansible.com/t/ec2-elb-session-stickiness/17540 "2015-02-19T01:21:21Z")

</div>

Hi all I’d like to set session stickiness policies for my EC2 elastic load balancers, which I am creating with the ec2\_elb\_lb module. I’ve looked at https://github.com/ansible/ansible-modules-core/issues/386 and https:…

---

## [combining with\_nested: + with\_together:](https://forum.ansible.com/t/combining-with-nested-with-together/17555)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 4\
**Last updated:** [February 18, 2015, 10:02pm UTC](https://forum.ansible.com/t/combining-with-nested-with-together/17555 "2015-02-18T22:02:59Z")

</div>

Hi, I've got 3 sets of data: foo: \[ A, B, C, D, ...\] bar: \[ 1, 2 \] tra: \[ a, b \] foo should be combined with bar and tra in a nested loop, but bar and tra should loop together. something like (not actually working…

---

## [Option to allow empty inventory](https://forum.ansible.com/t/option-to-allow-empty-inventory/16988)

<div class="topic-metadata">

**Author:** [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Replies:** 1\
**Last updated:** [February 13, 2015, 4:32am UTC](https://forum.ansible.com/t/option-to-allow-empty-inventory/16988 "2015-02-13T04:32:39Z")

</div>

I’ve just submitted a pull request (#9748) to add an option to not error out when an inventory file does not define any host. At the moment, this triggers an instant “ERROR: provided hosts list is empty” from ansible-pl…

---

## [Ansible Autocompletion](https://forum.ansible.com/t/ansible-autocompletion/17498)

<div class="topic-metadata">

**Author:** [@Mihir\_Joshi](https://forum.ansible.com/u/Mihir_Joshi)\
**Replies:** 4\
**Last updated:** [February 12, 2015, 4:08pm UTC](https://forum.ansible.com/t/ansible-autocompletion/17498 "2015-02-12T16:08:45Z")

</div>

Hello, I am new to Ansible and I am trying to walk through the code to learn and implement some cool stuff. First thing I noticed after installing ansible is the lack of autocomplete feature for the bash. It can get rea…

---

## [Ansible not pulling images from private Docker repository](https://forum.ansible.com/t/ansible-not-pulling-images-from-private-docker-repository/17499)

<div class="topic-metadata">

**Author:** [@Felix\_Glaske](https://forum.ansible.com/u/Felix_Glaske)\
**Replies:** 2\
**Last updated:** [February 11, 2015, 8:35pm UTC](https://forum.ansible.com/t/ansible-not-pulling-images-from-private-docker-repository/17499 "2015-02-11T20:35:14Z")

</div>

It seems this problem already hit some other people and it should already be solved based on this issue: https://github.com/ansible/ansible-modules-core/issues/188 I’m running the latest version 1.8.2 of Ansible and hav…

---

## [PowerShell module for Ansible Tower underway](https://forum.ansible.com/t/powershell-module-for-ansible-tower-underway/16410)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 9\
**Last updated:** [February 11, 2015, 12:46pm UTC](https://forum.ansible.com/t/powershell-module-for-ansible-tower-underway/16410 "2015-02-11T12:46:49Z")

</div>

Hi all, This is strictly not related to this group, but I wanted to share anyway: I’ve started development on a PowerShell module for interacting with Tower’s REST api. The Ansible team has done an amazing job of creat…

---

## [Reporting previous/next state](https://forum.ansible.com/t/reporting-previous-next-state/17488)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 7:08pm UTC](https://forum.ansible.com/t/reporting-previous-next-state/17488 "2015-02-10T19:08:09Z")

</div>

Hi, I've been asked to determine what is the current state of some setting and what it's going to be changed to. The reasoning is that, this being a legacy environment full of manual controls, people want to see with …

---

## [Override issue tracker url for galaxy roles?](https://forum.ansible.com/t/override-issue-tracker-url-for-galaxy-roles/17433)

<div class="topic-metadata">

**Author:** [@Monty\_Taylor](https://forum.ansible.com/u/Monty_Taylor)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 1:34pm UTC](https://forum.ansible.com/t/override-issue-tracker-url-for-galaxy-roles/17433 "2015-02-10T13:34:17Z")

</div>

Hi! Is there any way (perhaps magic value in the galaxy\_info dict in meta/main.yml) to tell galaxy where an issue tracker for a role is if that issue tracker is not in github? I’m looking at starting to publish roles up…

---

## [help building action plugin](https://forum.ansible.com/t/help-building-action-plugin/17462)

<div class="topic-metadata">

**Author:** [@J11](https://forum.ansible.com/u/J11)\
**Replies:** 4\
**Last updated:** [February 8, 2015, 8:36pm UTC](https://forum.ansible.com/t/help-building-action-plugin/17462 "2015-02-08T20:36:45Z")

</div>

All, I’m in the process of building an action plugin. I may be going about this all wrong in which case I welcome feedback on how to better my overall design. I have discovered the action plugin, although run on the ma…

---

## [service module Darwin support](https://forum.ansible.com/t/service-module-darwin-support/17468)

<div class="topic-metadata">

**Author:** [@Sam\_Pierson](https://forum.ansible.com/u/Sam_Pierson)\
**Replies:** 0\
**Last updated:** [February 8, 2015, 5:04pm UTC](https://forum.ansible.com/t/service-module-darwin-support/17468 "2015-02-08T17:04:18Z")

</div>

Has anyone tried enhancing the service module to support Darwin (Mac OS X)? I figure someone must have tried it and I’d rather not reinvent the wheel. Anyone have anything? Even a work-in-progress I can contribute to? …

---

## [Access to hostvars from Ansible callback](https://forum.ansible.com/t/access-to-hostvars-from-ansible-callback/17439)

<div class="topic-metadata">

**Author:** [@maxime.gerges](https://forum.ansible.com/u/maxime.gerges)\
**Replies:** 3\
**Last updated:** [February 5, 2015, 6:47am UTC](https://forum.ansible.com/t/access-to-hostvars-from-ansible-callback/17439 "2015-02-05T06:47:25Z")

</div>

Hello guys, I have a question regarding ansible callback\_plugins and hostvars in the runner\_ok() method. I can retrieve facts on a specific host from this method by using the ‘res’ argument provided. However I’d like …

---

## [Values with leading zeroes (file mode)](https://forum.ansible.com/t/values-with-leading-zeroes-file-mode/17412)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 6\
**Last updated:** [February 4, 2015, 4:37pm UTC](https://forum.ansible.com/t/values-with-leading-zeroes-file-mode/17412 "2015-02-04T16:37:19Z")

</div>

Hi, When specifying a variable for file/directory mode, if there is a zero in front of the numbers (e.g. 0775) then it gets treated as an octal. The workaround is to quote the number, then the file module will correc…

---

## [Further adventures in variable resolution.](https://forum.ansible.com/t/further-adventures-in-variable-resolution/17429)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 0\
**Last updated:** [February 3, 2015, 1:58am UTC](https://forum.ansible.com/t/further-adventures-in-variable-resolution/17429 "2015-02-03T01:58:04Z")

</div>

I’m looking for some guidance about variable resolution of passed in extra variables when used with include files. I’ve brought up this issue before and made a fix but it has languished in the backlog. The code in the r…

---

## [Swap support PR](https://forum.ansible.com/t/swap-support-pr/17419)

<div class="topic-metadata">

**Author:** [@Umur\_Kontaci](https://forum.ansible.com/u/Umur_Kontaci)\
**Replies:** 3\
**Last updated:** [February 2, 2015, 6:30pm UTC](https://forum.ansible.com/t/swap-support-pr/17419 "2015-02-02T18:30:29Z")

</div>

Hey everyone, I’ve just send a PR for a swap module and had some feedback and wanted to discuss this with a wider group. You can look at the PR at: https://github.com/ansible/ansible-modules-extras/pull/233 Brian (bco…

---

## [Syntax of "device\_name" for ec2 module](https://forum.ansible.com/t/syntax-of-device-name-for-ec2-module/17404)

<div class="topic-metadata">

**Author:** [@Jody\_McIntyre](https://forum.ansible.com/u/Jody_McIntyre)\
**Replies:** 2\
**Last updated:** [February 2, 2015, 4:58pm UTC](https://forum.ansible.com/t/syntax-of-device-name-for-ec2-module/17404 "2015-02-02T16:58:14Z")

</div>

Hi, I’ve been trying to change the size of my root partition when provisioning with the ec2 module. The documentation isn’t clear on what to do here, and I’m seeing some very strange results. I tried a bunch of possible…

---

## [\[Errno 11\] Resource temporarily unavailable when using ansible api](https://forum.ansible.com/t/errno-11-resource-temporarily-unavailable-when-using-ansible-api/17414)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 0\
**Last updated:** [February 2, 2015, 4:33am UTC](https://forum.ansible.com/t/errno-11-resource-temporarily-unavailable-when-using-ansible-api/17414 "2015-02-02T04:33:16Z")

</div>

I am too getting this error and could not find a way to fix it … I am using ubuntu 14.04, ansible 1.8.2 in virtual mode. And using the python api to call the playbook.run() Architechture is to listen to a mesage on a R…

---

## [Ansible-Playbook List All Variables: Plugin?](https://forum.ansible.com/t/ansible-playbook-list-all-variables-plugin/17405)

<div class="topic-metadata">

**Author:** [@Justin\_Lee](https://forum.ansible.com/u/Justin_Lee)\
**Replies:** 2\
**Last updated:** [January 31, 2015, 10:03pm UTC](https://forum.ansible.com/t/ansible-playbook-list-all-variables-plugin/17405 "2015-01-31T22:03:31Z")

</div>

Hi, I’m new to this (first time in code contribution). I’ve modified my ansible-playbook to include an option to list all variables in the same way it can list all tasks. So something like: ansible-playbook playbook.y…

---

## [issues with action plugin](https://forum.ansible.com/t/issues-with-action-plugin/17395)

<div class="topic-metadata">

**Author:** [@J11](https://forum.ansible.com/u/J11)\
**Replies:** 2\
**Last updated:** [January 30, 2015, 7:59pm UTC](https://forum.ansible.com/t/issues-with-action-plugin/17395 "2015-01-30T19:59:22Z")

</div>

All, Hoping someone can point me in the right direction. Created fairly simply action plugin (more or less copied from one of the action plugins bundled with Ansible) and can’t seem to use it. Playbook looks as follows…

---

## [PEP8](https://forum.ansible.com/t/pep8/13796)

<div class="topic-metadata">

**Author:** [@Christian\_Berendt](https://forum.ansible.com/u/Christian_Berendt)\
**Replies:** 3\
**Last updated:** [January 30, 2015, 7:24pm UTC](https://forum.ansible.com/t/pep8/13796 "2015-01-30T19:24:03Z")

</div>

What about PEP8 (http://www.python.org/dev/peps/pep-0008/)? There are a lot of style issues all over the sources. I would be willing to cleanup the sources. Christian.

---

## [Certificate validation errors connecting to Windows Servers with Self-signed certs](https://forum.ansible.com/t/certificate-validation-errors-connecting-to-windows-servers-with-self-signed-certs/17402)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 5:44pm UTC](https://forum.ansible.com/t/certificate-validation-errors-connecting-to-windows-servers-with-self-signed-certs/17402 "2015-01-30T17:44:08Z")

</div>

Since 2.7.9 python validates and rejects invalid or self-signed certs by default. The current setup script for to configure remoting for ansible creates a self signed cert for the Https connector and as a result connecti…

---

## [New Book on Ansible - Learning Ansible (Free review copies available)](https://forum.ansible.com/t/new-book-on-ansible-learning-ansible-free-review-copies-available/17349)

<div class="topic-metadata">

**Author:** [@Jay\_Raval](https://forum.ansible.com/u/Jay_Raval)\
**Replies:** 10\
**Last updated:** [January 29, 2015, 8:30pm UTC](https://forum.ansible.com/t/new-book-on-ansible-learning-ansible-free-review-copies-available/17349 "2015-01-29T20:30:26Z")

</div>

Hi Everyone, We are looking for reviewers for our newly published book. I’ll be happy to provide a free eBook copy to anyone interested in writing a review for this book on Amazon and/or Blog/Websites within 2 weeks aft…

---

## [Is the \_executor\_hook causing problems on apache2 ?](https://forum.ansible.com/t/is-the-executor-hook-causing-problems-on-apache2/17387)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 0\
**Last updated:** [January 28, 2015, 12:02am UTC](https://forum.ansible.com/t/is-the-executor-hook-causing-problems-on-apache2/17387 "2015-01-28T00:02:07Z")

</div>

I use apache2 to host my REST api’s on pecan framework. I use the python api to run a playbook. I dont know if it is a problem with the ansible executor hooks, but 3 out of 5 times the playbook execution slows down and a…

---

## [this module requires key=value arguments (\['\<\<INCLUDE\_ANSIBLE\_MODULE\_ARGS\>\>'\])](https://forum.ansible.com/t/this-module-requires-key-value-arguments-include-ansible-module-args/17361)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 8\
**Last updated:** [January 26, 2015, 2:30pm UTC](https://forum.ansible.com/t/this-module-requires-key-value-arguments-include-ansible-module-args/17361 "2015-01-26T14:30:13Z")

</div>

Dear \*, trying to create a new plugin. It’s gonna be a variation of the lineinfile module, so I copied the code from there and placed it into my local action plugins folder, as configured in my ansible.cfg I didn’t cha…

---

## [Ansible support for Consul.](https://forum.ansible.com/t/ansible-support-for-consul/17161)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 4\
**Last updated:** [January 24, 2015, 2:25am UTC](https://forum.ansible.com/t/ansible-support-for-consul/17161 "2015-01-24T02:25:28Z")

</div>

I’ve been working on support for interacting with Consul from within Ansible. Currently there is support for manipulating services, checks, acls and values in the kv store. There is also an inventory that gets built from…

---

## [ansible-core-modules tests](https://forum.ansible.com/t/ansible-core-modules-tests/17366)

<div class="topic-metadata">

**Author:** [@Bill\_Wanjohi1](https://forum.ansible.com/u/Bill_Wanjohi1)\
**Replies:** 1\
**Last updated:** [January 24, 2015, 1:07am UTC](https://forum.ansible.com/t/ansible-core-modules-tests/17366 "2015-01-24T01:07:29Z")

</div>

I opened an issue to discuss this back in September, but it was closed without anyone addressing the question: https://github.com/ansible/ansible-modules-core/issues/40 To paraphrase myself: I opened a pull request on …

---

## [Ansible and Softlayer](https://forum.ansible.com/t/ansible-and-softlayer/17365)

<div class="topic-metadata">

**Author:** [@Peter\_Mooshammer](https://forum.ansible.com/u/Peter_Mooshammer)\
**Replies:** 0\
**Last updated:** [January 24, 2015, 12:56am UTC](https://forum.ansible.com/t/ansible-and-softlayer/17365 "2015-01-24T00:56:51Z")

</div>

Hi there, trying to find more information on Softlayer and Ansible. There was a note the Softlayer is supported beginning 1.7. I assume that only covers the inventory script. Are there any modules planned in the future…

---

## [Ooops ! I just pushed my unencrypted vault/secets file to the Git repo...](https://forum.ansible.com/t/ooops-i-just-pushed-my-unencrypted-vault-secets-file-to-the-git-repo/17354)

<div class="topic-metadata">

**Author:** [@Maxime\_Levesque](https://forum.ansible.com/u/Maxime_Levesque)\
**Replies:** 2\
**Last updated:** [January 22, 2015, 4:35pm UTC](https://forum.ansible.com/t/ooops-i-just-pushed-my-unencrypted-vault-secets-file-to-the-git-repo/17354 "2015-01-22T16:35:39Z")

</div>

Hello everyone, I had opened this “feature suggestion” issue : https://github.com/ansible/ansible/issues/9990 And Toshio suggested I discuss it in the mailing list, so here I to : The problem : It is easy to add an u…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=75)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=77)
