# Ansible Developer

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

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

**Page:** 66

---

## [Remove .ansible\_async directory after a play has finished](https://forum.ansible.com/t/remove-ansible-async-directory-after-a-play-has-finished/19898)

<div class="topic-metadata">

**Author:** [@Phill\_Tomlinson](https://forum.ansible.com/u/Phill_Tomlinson)\
**Replies:** 0\
**Last updated:** [November 30, 2015, 2:22pm UTC](https://forum.ansible.com/t/remove-ansible-async-directory-after-a-play-has-finished/19898 "2015-11-30T14:22:43Z")

</div>

I currently have a number of async tasks that create a number of temporary files under ~/.ansible\_async on each remote host. I would like to delete these whenever a play ends. I know there is the async\_status module “cle…

---

## [Getting started with Ansible development](https://forum.ansible.com/t/getting-started-with-ansible-development/19891)

<div class="topic-metadata">

**Author:** [@Rajath\_Agasthya](https://forum.ansible.com/u/Rajath_Agasthya)\
**Replies:** 0\
**Last updated:** [November 30, 2015, 6:27am UTC](https://forum.ansible.com/t/getting-started-with-ansible-development/19891 "2015-11-30T06:27:25Z")

</div>

Hello, I’m a Python programmer and would love to contribute to Ansible! I took a look at the Github issues with ‘easyfix’ tag and couldn’t quite find a simple issue to fix. If you know of any beginner-level bugs, I’d lo…

---

## [V2 plugin migration guide](https://forum.ansible.com/t/v2-plugin-migration-guide/19889)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 1\
**Last updated:** [November 29, 2015, 11:31pm UTC](https://forum.ansible.com/t/v2-plugin-migration-guide/19889 "2015-11-29T23:31:06Z")

</div>

Hi, Trying to get my callback plugins working in v2 and I recall some talk a long time ago about some documentation to help with migration of v1 plugins. Is this a thing? Many thanks Jon

---

## [Getting started with development.](https://forum.ansible.com/t/getting-started-with-development/19888)

<div class="topic-metadata">

**Author:** [@Erik\_Nadel](https://forum.ansible.com/u/Erik_Nadel)\
**Replies:** 0\
**Last updated:** [November 29, 2015, 9:45pm UTC](https://forum.ansible.com/t/getting-started-with-development/19888 "2015-11-29T21:45:53Z")

</div>

Hello, first post here and hopefully more to come. I’ve been trying to get started with contributing to ansible and work on issues. I started with just getting integration tests running, but I keep running into an issue…

---

## [AWS sts in stable-1.9?](https://forum.ansible.com/t/aws-sts-in-stable-1-9/19876)

<div class="topic-metadata">

**Author:** [@Fei\_He](https://forum.ansible.com/u/Fei_He)\
**Replies:** 2\
**Last updated:** [November 28, 2015, 4:22am UTC](https://forum.ansible.com/t/aws-sts-in-stable-1-9/19876 "2015-11-28T04:22:16Z")

</div>

Hey guys, I found there is a commit about AWS sts support in dev branch of ansible-core-modules, and that probably will be release in v2. So I am curious is that possible we can have it in v1.9 as well, so I just create…

---

## [Finally relaxing unneccessary permission requirements](https://forum.ansible.com/t/finally-relaxing-unneccessary-permission-requirements/19862)

<div class="topic-metadata">

**Author:** [@Markus\_Suonto](https://forum.ansible.com/u/Markus_Suonto)\
**Replies:** 0\
**Last updated:** [November 26, 2015, 11:08am UTC](https://forum.ansible.com/t/finally-relaxing-unneccessary-permission-requirements/19862 "2015-11-26T11:08:10Z")

</div>

I took a look at this PR: https://github.com/ansible/ansible/commit/c0c56c723a98de43d060a3034aa7bde10ac6b59f And I completely agree that the \_set\_tenant\_id function in core module quantum\_network should be rewritten in…

---

## [play\_hosts with serial includes only the hosts of the current batch](https://forum.ansible.com/t/play-hosts-with-serial-includes-only-the-hosts-of-the-current-batch/19036)

<div class="topic-metadata">

**Author:** [@Ivaylo\_Bratoev](https://forum.ansible.com/u/Ivaylo_Bratoev)\
**Replies:** 6\
**Last updated:** [November 26, 2015, 6:20am UTC](https://forum.ansible.com/t/play-hosts-with-serial-includes-only-the-hosts-of-the-current-batch/19036 "2015-11-26T06:20:03Z")

</div>

When running a playbook with serial the play\_hosts variable includes the hosts just of the current batch. I think this is unexpected and can lead to various issues, especially with the cases where play\_hosts is generally…

---

## [Ansible module do idempotent management of Jenkins jobs.](https://forum.ansible.com/t/ansible-module-do-idempotent-management-of-jenkins-jobs/19858)

<div class="topic-metadata">

**Author:** [@WhileLoop1](https://forum.ansible.com/u/WhileLoop1)\
**Replies:** 2\
**Last updated:** [November 25, 2015, 9:53pm UTC](https://forum.ansible.com/t/ansible-module-do-idempotent-management-of-jenkins-jobs/19858 "2015-11-25T21:53:16Z")

</div>

Hi everyone. I have started working on a Ansible module to do idempotent creates, updates, or deletes on Jenkins jobs using the ‘jenkinsapi’ python library. Is this something you would find useful? Please take a quick lo…

---

## [VPC network ACL functionality](https://forum.ansible.com/t/vpc-network-acl-functionality/14733)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 5\
**Last updated:** [November 24, 2015, 10:46pm UTC](https://forum.ansible.com/t/vpc-network-acl-functionality/14733 "2015-11-24T22:46:31Z")

</div>

Unless I’m misreading the code, there is no module to manage VPC ACL groups, and the ec2\_group module only manages security groups. I could either add the ACL functionality to the ec2\_group module, but these issues woul…

---

## [next branch: question about boto3\_conn (from lib/ansible/module\_utils/ec2.py) and STS](https://forum.ansible.com/t/next-branch-question-about-boto3-conn-from-lib-ansible-module-utils-ec2-py-and-sts/19835)

<div class="topic-metadata">

**Author:** [@Clement\_Laforet](https://forum.ansible.com/u/Clement_Laforet)\
**Replies:** 3\
**Last updated:** [November 24, 2015, 7:47pm UTC](https://forum.ansible.com/t/next-branch-question-about-boto3-conn-from-lib-ansible-module-utils-ec2-py-and-sts/19835 "2015-11-24T19:47:23Z")

</div>

Hi, I’m currently writing an EMR module for ansible at $WORK (sorry no plan for now to open source it) and I’m trying to use boto3, and I have to admit I’m confused with logic behind boto3\_conn(). I have to use a role …

---

## [ansible 2.0.0, ansible.cfg, and changing the control\_path](https://forum.ansible.com/t/ansible-2-0-0-ansible-cfg-and-changing-the-control-path/19713)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 5\
**Last updated:** [November 22, 2015, 8:57pm UTC](https://forum.ansible.com/t/ansible-2-0-0-ansible-cfg-and-changing-the-control-path/19713 "2015-11-22T20:57:20Z")

</div>

I have a long path name to my home directory and some fairly long hostnames so I’m hitting the 108 character limit on the control\_path As a test I changed control\_path in the ansible.cfg control\_path = /var/tmp/.ansibl…

---

## [how to implement a multi-tenant configuration solution in ansible](https://forum.ansible.com/t/how-to-implement-a-multi-tenant-configuration-solution-in-ansible/19588)

<div class="topic-metadata">

**Author:** [@Francisco\_Martinez1](https://forum.ansible.com/u/Francisco_Martinez1)\
**Replies:** 2\
**Last updated:** [November 22, 2015, 4:17pm UTC](https://forum.ansible.com/t/how-to-implement-a-multi-tenant-configuration-solution-in-ansible/19588 "2015-11-22T16:17:53Z")

</div>

Hello! One common pattern I’ve seen in many applications is multitenancy. Basically, I’m configuring an application that has some of its configuration values which are different based on the country. The way I’ve manage…

---

## [Too late in the day to split iam module?](https://forum.ansible.com/t/too-late-in-the-day-to-split-iam-module/19509)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 6\
**Last updated:** [November 22, 2015, 9:18am UTC](https://forum.ansible.com/t/too-late-in-the-day-to-split-iam-module/19509 "2015-11-22T09:18:11Z")

</div>

I was just wondering peoples thoughts on splitting out the functionality in the iam module before 2.0 ships. Rather than just iam we could have… iam\_user iam\_role iam\_access\_key iam\_group It just seems to make more…

---

## [Windows module\_utils, module API](https://forum.ansible.com/t/windows-module-utils-module-api/19507)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 4\
**Last updated:** [November 20, 2015, 10:32pm UTC](https://forum.ansible.com/t/windows-module-utils-module-api/19507 "2015-11-20T22:32:24Z")

</div>

Soliciting opinions about building a real Powershell Ansible module API, rather than continuing to bolt on ad-hoc stuff to module\_utils/powershell.ps1… Well-intentioned PRs like https://github.com/ansible/ansible/pull/1…

---

## [arg passed with module\_args that has whitespace, is interpreted as key value](https://forum.ansible.com/t/arg-passed-with-module-args-that-has-whitespace-is-interpreted-as-key-value/19816)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [November 20, 2015, 5:02pm UTC](https://forum.ansible.com/t/arg-passed-with-module-args-that-has-whitespace-is-interpreted-as-key-value/19816 "2015-11-20T17:02:45Z")

</div>

Hi, I wish pass arguments to the lineinfile module, but a space in my line arg is being seen as a key / value separator module\_args=‘dest=%s regexp=%s insertafter=%s line=%s’ % (dest, regexp, insertafter, line) “msg”:…

---

## [Ansible 2.0 Beta 3 is available for testing](https://forum.ansible.com/t/ansible-2-0-beta-3-is-available-for-testing/19777)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc](https://forum.ansible.com/u/Michel_Blanc)\
**Replies:** 2\
**Last updated:** [November 20, 2015, 6:10am UTC](https://forum.ansible.com/t/ansible-2-0-beta-3-is-available-for-testing/19777 "2015-11-20T06:10:01Z")

</div>

Hi List/James, If you discover any errors related to this beta release, or if you see regressions from playbooks which work on 1.9.x and prior, please open a Github issue and be sure to mention which version you're t…

---

## [Route53 module Evaluate Target Health option?](https://forum.ansible.com/t/route53-module-evaluate-target-health-option/18945)

<div class="topic-metadata">

**Author:** [@Geoff\_Webster](https://forum.ansible.com/u/Geoff_Webster)\
**Replies:** 1\
**Last updated:** [November 18, 2015, 6:09pm UTC](https://forum.ansible.com/t/route53-module-evaluate-target-health-option/18945 "2015-11-18T18:09:23Z")

</div>

Has anyone added support for the Evaluate Target Health option in Route53 to the Route53 module? Looks like it is a configuration option in Boto so I assume it would be fairly easy to add support for it, but I haven’t do…

---

## [The with\_items iterator doesnt stop on failures](https://forum.ansible.com/t/the-with-items-iterator-doesnt-stop-on-failures/18009)

<div class="topic-metadata">

**Author:** [@spankthespam](https://forum.ansible.com/u/spankthespam)\
**Replies:** 3\
**Last updated:** [November 16, 2015, 11:07pm UTC](https://forum.ansible.com/t/the-with-items-iterator-doesnt-stop-on-failures/18009 "2015-11-16T23:07:58Z")

</div>

Hi, I’ve found a situation where task iteration over items using ‘with\_items’ will iterate over entire list, despite the fact that one or more iterations can fail, what causes issues when the iterations are dependant on…

---

## [Anyway of specifying host in ansible.runner?](https://forum.ansible.com/t/anyway-of-specifying-host-in-ansible-runner/19774)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [November 16, 2015, 6:15pm UTC](https://forum.ansible.com/t/anyway-of-specifying-host-in-ansible-runner/19774 "2015-11-16T18:15:42Z")

</div>

The inventory style is not working to well for what I want to do. I am building my own scripts on top of the ansible API, and I need to work with one host at a time, so that I can present configuration values and prompt…

---

## [Windows: The future of powershell.ps1](https://forum.ansible.com/t/windows-the-future-of-powershell-ps1/19735)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [November 16, 2015, 4:49pm UTC](https://forum.ansible.com/t/windows-the-future-of-powershell-ps1/19735 "2015-11-16T16:49:02Z")

</div>

Hi all, We’re seeing some patterns where multiple modules might share very similar code (UserSearch is an example of a function which pretty much every module dealing with permissions needs). Currently these are impleme…

---

## [Short circuiting in conditionals?](https://forum.ansible.com/t/short-circuiting-in-conditionals/19719)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [November 13, 2015, 11:10pm UTC](https://forum.ansible.com/t/short-circuiting-in-conditionals/19719 "2015-11-13T23:10:53Z")

</div>

Simple task. name: Rotate log as this user and group (14.04 or newer) lineinfile: \> dest=“/etc/logrotate.conf” regexp=“^su root syslog” insertbefore=“BOF” line=“su root syslog\\n” state=“present” when: “‘{{ ansib…

---

## [How to detect an ansible version](https://forum.ansible.com/t/how-to-detect-an-ansible-version/19200)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 4\
**Last updated:** [November 13, 2015, 7:41pm UTC](https://forum.ansible.com/t/how-to-detect-an-ansible-version/19200 "2015-11-13T19:41:20Z")

</div>

Hello, I am a perfectionist. I want write ansible-playbooks that have backward compatibility. For example if I use ansible \< 1.5.1 http://docs.ansible.com/ansible/get\_url\_module.html I use it without validate\_certs but…

---

## [\[windows\] Exit-Json fails / hangs](https://forum.ansible.com/t/windows-exit-json-fails-hangs/19692)

<div class="topic-metadata">

**Author:** [@David\_O\_Brien](https://forum.ansible.com/u/David_O_Brien)\
**Replies:** 9\
**Last updated:** [November 10, 2015, 5:54pm UTC](https://forum.ansible.com/t/windows-exit-json-fails-hangs/19692 "2015-11-10T17:54:45Z")

</div>

Hi, currently developing / updating my setup.ps1 PR for custom facts. \` $result = New-Object psobject @{ ansible\_facts = New-Object psobject changed = $false } Function Set-Attr($obj, $name, $value) { If the pro…

---

## [Question about where new modules go](https://forum.ansible.com/t/question-about-where-new-modules-go/19709)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 6\
**Last updated:** [November 9, 2015, 10:13pm UTC](https://forum.ansible.com/t/question-about-where-new-modules-go/19709 "2015-11-09T22:13:32Z")

</div>

I’d like to get clarification about where new modules should go. I noticed on a recent submission of an openstack module that the submitter was asked to submit to core instead of extras. This goes against my understand…

---

## [regexp bug](https://forum.ansible.com/t/regexp-bug/19706)

<div class="topic-metadata">

**Author:** [@Edward\_Ned\_Harvey](https://forum.ansible.com/u/Edward_Ned_Harvey)\
**Replies:** 0\
**Last updated:** [November 7, 2015, 2:34am UTC](https://forum.ansible.com/t/regexp-bug/19706 "2015-11-07T02:34:24Z")

</div>

I am not sure if this is an ansible core bug, or a module bug, or even a python bug, so I’m not sure exactly how to report the bug. But I’m quite certain it’s a bug. I want to comment out all lines in a file, that aren’…

---

## [Ansible 2.0: Synchronize module is hanging](https://forum.ansible.com/t/ansible-2-0-synchronize-module-is-hanging/19532)

<div class="topic-metadata">

**Author:** [@Corwin\_Brown](https://forum.ansible.com/u/Corwin_Brown)\
**Replies:** 1\
**Last updated:** [November 5, 2015, 9:25pm UTC](https://forum.ansible.com/t/ansible-2-0-synchronize-module-is-hanging/19532 "2015-11-05T21:25:24Z")

</div>

Hey gang, I’ve been having some issues with the synchronize module in v2. Here’s the code that calls it: \` name: Install to Publish Directory synchronize: src: “{{ tmp\_dir }}/” dest: “{{ publish\_directory }}/{{ in…

---

## [Templates don't get --check'ed right in v2](https://forum.ansible.com/t/templates-dont-get-checked-right-in-v2/19697)

<div class="topic-metadata">

**Author:** [@Logan\_McNaughton](https://forum.ansible.com/u/Logan_McNaughton)\
**Replies:** 9\
**Last updated:** [November 5, 2015, 8:43pm UTC](https://forum.ansible.com/t/templates-dont-get-checked-right-in-v2/19697 "2015-11-05T20:43:51Z")

</div>

I am testing out Ansible 2 (checkout from Git). And it doesn’t seem to be comparing templates properly. When I run a playbook with a template in 1.9.4, using --check --diff, it’ll show me the differences. When I run the …

---

## [New module for managing hadoop clusters with Apache Ambari](https://forum.ansible.com/t/new-module-for-managing-hadoop-clusters-with-apache-ambari/19691)

<div class="topic-metadata">

**Author:** [@Mark\_Bittmann](https://forum.ansible.com/u/Mark_Bittmann)\
**Replies:** 2\
**Last updated:** [November 5, 2015, 1:28pm UTC](https://forum.ansible.com/t/new-module-for-managing-hadoop-clusters-with-apache-ambari/19691 "2015-11-05T13:28:14Z")

</div>

We recently released a custom module that we use to manage our hadoop infrastructure with Ambari. There isn’t anything else out there like this, and it has really simplified our codebase. I would love to work with the co…

---

## [AWS Route53 Additions](https://forum.ansible.com/t/aws-route53-additions/19675)

<div class="topic-metadata">

**Author:** [@K\_Cheng](https://forum.ansible.com/u/K_Cheng)\
**Replies:** 2\
**Last updated:** [November 4, 2015, 6:46am UTC](https://forum.ansible.com/t/aws-route53-additions/19675 "2015-11-04T06:46:41Z")

</div>

Hey guys, I would like to add in some list features such as list\_resource\_record\_sets(\*\*kwargs) which is available in boto3 to provide a list of all available record sets in a given route53 zone. I’m happy to give this…

---

## [read host from another inventory file](https://forum.ansible.com/t/read-host-from-another-inventory-file/19678)

<div class="topic-metadata">

**Author:** [@Agan\_Vikry](https://forum.ansible.com/u/Agan_Vikry)\
**Replies:** 2\
**Last updated:** [November 4, 2015, 3:06am UTC](https://forum.ansible.com/t/read-host-from-another-inventory-file/19678 "2015-11-04T03:06:33Z")

</div>

I have two inventory files, staging and production. staging contents: \[server\] 192.168.56.101 #server 1 192.168.56.103 #server 2 production contents: \[server\] 192.168.56.108 #server test

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

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