# Ansible Developer

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

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

**Page:** 79

---

## [We made a mistake and are sorry](https://forum.ansible.com/t/we-made-a-mistake-and-are-sorry/17069)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 8:03pm UTC](https://forum.ansible.com/t/we-made-a-mistake-and-are-sorry/17069 "2014-12-16T20:03:51Z")

</div>

Healthy discussion is one of the most important factors in the success of any open source community. At Ansible, we work hard to ensure that all of the conversations that happen in our community spaces are respectful, po…

---

## [Inventory management tool (pull proposal)](https://forum.ansible.com/t/inventory-management-tool-pull-proposal/17064)

<div class="topic-metadata">

**Author:** [@Pawel\_Rozlach](https://forum.ansible.com/u/Pawel_Rozlach)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 8:39pm UTC](https://forum.ansible.com/t/inventory-management-tool-pull-proposal/17064 "2014-12-15T20:39:47Z")

</div>

Hi, in order to streamline inventory management at Brainly we have developed a dynamic inventory plugin: https://github.com/brainly/inventory\_tool The basic idea is that if you want to automate things like DNS or have…

---

## [DNS zone serial module](https://forum.ansible.com/t/dns-zone-serial-module/17065)

<div class="topic-metadata">

**Author:** [@Pawel\_Rozlach](https://forum.ansible.com/u/Pawel_Rozlach)\
**Replies:** 0\
**Last updated:** [December 15, 2014, 4:22pm UTC](https://forum.ansible.com/t/dns-zone-serial-module/17065 "2014-12-15T16:22:03Z")

</div>

Hi, while automating dns we have created a simple plugin to automatically bump DNS zone serial numbers. Could you please take a look and if you think that it may be useful. Preparing a proper pull request will not be a …

---

## [Accessing hostvars from within module](https://forum.ansible.com/t/accessing-hostvars-from-within-module/16560)

<div class="topic-metadata">

**Author:** [@Patrick\_Ogenstad](https://forum.ansible.com/u/Patrick_Ogenstad)\
**Replies:** 3\
**Last updated:** [December 15, 2014, 4:09pm UTC](https://forum.ansible.com/t/accessing-hostvars-from-within-module/16560 "2014-12-15T16:09:55Z")

</div>

I’ve read that it’s possible to access hostvars directly in a module if the connection is set to local. However I’m unable to find any clues as to how this is done. Could someone let me know if it’s in fact possible to …

---

## [Concatenate text and variable resulting in new variable](https://forum.ansible.com/t/concatenate-text-and-variable-resulting-in-new-variable/17008)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 3\
**Last updated:** [December 15, 2014, 2:43pm UTC](https://forum.ansible.com/t/concatenate-text-and-variable-resulting-in-new-variable/17008 "2014-12-15T14:43:59Z")

</div>

some\_var: "text\_{{ some\_other\_var }}" This should work in either a group\_var/ or host\_var/ file

---

## [PostgreSQL Backup and Restore module](https://forum.ansible.com/t/postgresql-backup-and-restore-module/17038)

<div class="topic-metadata">

**Author:** [@Bibhas\_Debnath](https://forum.ansible.com/u/Bibhas_Debnath)\
**Replies:** 3\
**Last updated:** [December 15, 2014, 11:42am UTC](https://forum.ansible.com/t/postgresql-backup-and-restore-module/17038 "2014-12-15T11:42:42Z")

</div>

While working on setting up our database with Ansible I felt the need of these 2 modules. As suggested by @abadger1 I want to discuss if anybody thinks it’s worth it. For now I’m just using command module to run pg\_dump …

---

## [Added support for Docker's 'restart\_policy' (PR 504)](https://forum.ansible.com/t/added-support-for-dockers-restart-policy-pr-504/17046)

<div class="topic-metadata">

**Author:** [@Viktor\_Petersson](https://forum.ansible.com/u/Viktor_Petersson)\
**Replies:** 1\
**Last updated:** [December 15, 2014, 11:41am UTC](https://forum.ansible.com/t/added-support-for-dockers-restart-policy-pr-504/17046 "2014-12-15T11:41:33Z")

</div>

Hey guys, I really like ‘restart\_policy’ in Docker (introduced in 1.2). Unfortunately, this feature is not supported in Ansible at this point. To solve this, I decided to block some time today to hack together this supp…

---

## [RFC: handling errors easier](https://forum.ansible.com/t/rfc-handling-errors-easier/17057)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 1\
**Last updated:** [December 15, 2014, 11:39am UTC](https://forum.ansible.com/t/rfc-handling-errors-easier/17057 "2014-12-15T11:39:19Z")

</div>

Hi I am missing a way to handling errors easily in Ansible. What do you think about implementing an error handling mechanism for failed task. One solution which would fit my needs: tasks: command: /bin/false notify…

---

## [New Module Proposal: AWS Elastic Beanstalk](https://forum.ansible.com/t/new-module-proposal-aws-elastic-beanstalk/17050)

<div class="topic-metadata">

**Author:** [@Jonathan\_Davila](https://forum.ansible.com/u/Jonathan_Davila)\
**Replies:** 0\
**Last updated:** [December 14, 2014, 7:36pm UTC](https://forum.ansible.com/t/new-module-proposal-aws-elastic-beanstalk/17050 "2014-12-14T19:36:35Z")

</div>

Would there be anything against creating an Elastic Beanstalk Module? In short the module would be developed to create, update, delete, restart, and or rebuild EBS setups.

---

## [Digital Ocean v2 module](https://forum.ansible.com/t/digital-ocean-v2-module/16167)

<div class="topic-metadata">

**Author:** [@Ryan\_VanGundy](https://forum.ansible.com/u/Ryan_VanGundy)\
**Replies:** 10\
**Last updated:** [December 14, 2014, 12:30am UTC](https://forum.ansible.com/t/digital-ocean-v2-module/16167 "2014-12-14T00:30:48Z")

</div>

I’ve finally gotten around to implementing a working version of the digital ocean v2 module. Currently, only the droplet API works–I’m now moving on to SSH keys and domains. Since this is my first module and I’m new to P…

---

## [Is Ansible really parallel?](https://forum.ansible.com/t/is-ansible-really-parallel/17042)

<div class="topic-metadata">

**Author:** [@Jonathan\_Mainguy](https://forum.ansible.com/u/Jonathan_Mainguy)\
**Replies:** 4\
**Last updated:** [December 13, 2014, 11:14pm UTC](https://forum.ansible.com/t/is-ansible-really-parallel/17042 "2014-12-13T23:14:58Z")

</div>

Disable cowsay. Or install cowsay to fix this.

---

## [Present VS Absent. Order of tasks is different when creating or deleting. Conditionals workaround?](https://forum.ansible.com/t/present-vs-absent-order-of-tasks-is-different-when-creating-or-deleting-conditionals-workaround/17024)

<div class="topic-metadata">

**Author:** [@polfilm](https://forum.ansible.com/u/polfilm)\
**Replies:** 1\
**Last updated:** [December 12, 2014, 12:10am UTC](https://forum.ansible.com/t/present-vs-absent-order-of-tasks-is-different-when-creating-or-deleting-conditionals-workaround/17024 "2014-12-12T00:10:17Z")

</div>

Hi, I hope someone here could shed some light on this. Below is a super simplified example using EC2 elements but this could happen with other elements obviously. \` master\_state: present Create Subnet state: {{ mast…

---

## [s3 module timeout](https://forum.ansible.com/t/s3-module-timeout/17034)

<div class="topic-metadata">

**Author:** [@rads](https://forum.ansible.com/u/rads)\
**Replies:** 1\
**Last updated:** [December 11, 2014, 11:58pm UTC](https://forum.ansible.com/t/s3-module-timeout/17034 "2014-12-11T23:58:52Z")

</div>

Anyone else getting timeouts with the s3 module during GETs? I’d say it times out for me 10% of the time while running on aws instances. failed: \[10.3.4.135\] =\> {"failed": true, "parsed": false} SUDO-SUCCESS-smbvbxjgzdn…

---

## [stop Tomcat instances](https://forum.ansible.com/t/stop-tomcat-instances/17029)

<div class="topic-metadata">

**Author:** [@Sharon\_Bernstein](https://forum.ansible.com/u/Sharon_Bernstein)\
**Replies:** 5\
**Last updated:** [December 11, 2014, 11:57pm UTC](https://forum.ansible.com/t/stop-tomcat-instances/17029 "2014-12-11T23:57:38Z")

</div>

Hello. im unable to stop Tomcat instances with Ansible. in the shell, i just need to type /etc/init.d/tomcat7\_stop instance01 i found this .yml file and it’s written name: stop tomcat service: name=tomcat state=sto…

---

## [I'd like to extend the async poller to retry on connection interruptions](https://forum.ansible.com/t/id-like-to-extend-the-async-poller-to-retry-on-connection-interruptions/17010)

<div class="topic-metadata">

**Author:** [@Dan\_Lui](https://forum.ansible.com/u/Dan_Lui)\
**Replies:** 1\
**Last updated:** [December 11, 2014, 11:57pm UTC](https://forum.ansible.com/t/id-like-to-extend-the-async-poller-to-retry-on-connection-interruptions/17010 "2014-12-11T23:57:03Z")

</div>

HI, I’m new. Hopefully I’m in the right place. I’m trying to update the poller so that it can handle long running jobs over flaky connections. So far, I’ve found that the playbook class method \_async\_poll which calls p…

---

## [os.environ\['ANSIBLE\_CONFIG'\] doesnt work while specifying different ansible config file location](https://forum.ansible.com/t/os-environ-ansible-config-doesnt-work-while-specifying-different-ansible-config-file-location/16994)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 8\
**Last updated:** [December 11, 2014, 11:53pm UTC](https://forum.ansible.com/t/os-environ-ansible-config-doesnt-work-while-specifying-different-ansible-config-file-location/16994 "2014-12-11T23:53:19Z")

</div>

Hi , I am using ansible python api(being called from a pecan application running in a apache2 server) i am trying to set os.environ\[‘ANSIBLE\_CONFIG’\] = “/etc/differentlocation/ansible.cfg” but it doesnt work . i need …

---

## [subclassing ActionModule classes](https://forum.ansible.com/t/subclassing-actionmodule-classes/16905)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 8\
**Last updated:** [December 11, 2014, 11:50pm UTC](https://forum.ansible.com/t/subclassing-actionmodule-classes/16905 "2014-12-11T23:50:59Z")

</div>

Hello I’m working on versions of file copy and template for windows. I’ve push a ‘first pass’ PR here https://github.com/ansible/ansible/pull/9611 and here https://github.com/ansible/ansible-modules-core/pull/384 but t…

---

## [AWS VPC - subnets, routers, sg's and acl's](https://forum.ansible.com/t/aws-vpc-subnets-routers-sgs-and-acls/16935)

<div class="topic-metadata">

**Author:** [@polfilm](https://forum.ansible.com/u/polfilm)\
**Replies:** 7\
**Last updated:** [December 9, 2014, 9:38am UTC](https://forum.ansible.com/t/aws-vpc-subnets-routers-sgs-and-acls/16935 "2014-12-09T09:38:45Z")

</div>

Hi All, Love Ansible. I have few questions as I’m creating a VPC with 800 subnets: Does anyone know if there is a way to get list of routers without having to parse them with shell aws describe? Would I have to const…

---

## [I'd like to extend the htpasswd module to support libpam-pwdfile](https://forum.ansible.com/t/id-like-to-extend-the-htpasswd-module-to-support-libpam-pwdfile/16981)

<div class="topic-metadata">

**Author:** [@Alex\_King](https://forum.ansible.com/u/Alex_King)\
**Replies:** 2\
**Last updated:** [December 8, 2014, 9:19pm UTC](https://forum.ansible.com/t/id-like-to-extend-the-htpasswd-module-to-support-libpam-pwdfile/16981 "2014-12-08T21:19:56Z")

</div>

I need to manage a password file with encrypted passwords in a style similar to htpasswd files. The files are read by libpam-pwdfile, which allows pam authentication against arbitrary passwd-style files. This could be m…

---

## [Extend ec2\_facts or new module?](https://forum.ansible.com/t/extend-ec2-facts-or-new-module/16982)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 1\
**Last updated:** [December 8, 2014, 5:19pm UTC](https://forum.ansible.com/t/extend-ec2-facts-or-new-module/16982 "2014-12-08T17:19:48Z")

</div>

I am going to write some code to take advantage of the ec2-get-password function (http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-GetPassword.html). In my eyes, this is an ec2 fact. It is a…

---

## [with\_allocate: distribute some list of items into a list of "slots"](https://forum.ansible.com/t/with-allocate-distribute-some-list-of-items-into-a-list-of-slots/16979)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 1\
**Last updated:** [December 6, 2014, 6:15pm UTC](https://forum.ansible.com/t/with-allocate-distribute-some-list-of-items-into-a-list-of-slots/16979 "2014-12-06T18:15:15Z")

</div>

https://github.com/ansible/ansible/pull/9735

---

## [Add a all\_vars flag to debug module](https://forum.ansible.com/t/add-a-all-vars-flag-to-debug-module/16978)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [December 6, 2014, 1:59am UTC](https://forum.ansible.com/t/add-a-all-vars-flag-to-debug-module/16978 "2014-12-06T01:59:57Z")

</div>

Against – that’s a very huge amount of data and will only get bigger. Though it’s easy enough to make a template to dump all of hostvars and such if you want.

---

## [How to pass data to my callback](https://forum.ansible.com/t/how-to-pass-data-to-my-callback/16944)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 4:55am UTC](https://forum.ansible.com/t/how-to-pass-data-to-my-callback/16944 "2014-12-04T04:55:12Z")

</div>

Hi All, My application accepts a request and gives back a job id(my\_custom\_job\_id) so that i can process it in background. The user would then keep polling this my\_custom\_job\_id using a REST Api which queries the databa…

---

## [Git accept\_hostkey submodule fix proposal](https://forum.ansible.com/t/git-accept-hostkey-submodule-fix-proposal/16941)

<div class="topic-metadata">

**Author:** [@J\_Dav](https://forum.ansible.com/u/J_Dav)\
**Replies:** 3\
**Last updated:** [December 3, 2014, 4:31pm UTC](https://forum.ansible.com/t/git-accept-hostkey-submodule-fix-proposal/16941 "2014-12-03T16:31:02Z")

</div>

So working on fixing a little issue where accept\_hostkey in the git module doesn’t take into account submodule remotes with different urls. Thus ansible hangs waiting for user to accept the hostkey so it fails when recur…

---

## [adding Extra modules through Galaxy instead of bundled in a release](https://forum.ansible.com/t/adding-extra-modules-through-galaxy-instead-of-bundled-in-a-release/16907)

<div class="topic-metadata">

**Author:** [@ramon](https://forum.ansible.com/u/ramon)\
**Replies:** 5\
**Last updated:** [December 3, 2014, 4:28pm UTC](https://forum.ansible.com/t/adding-extra-modules-through-galaxy-instead-of-bundled-in-a-release/16907 "2014-12-03T16:28:02Z")

</div>

Hey All, The past weeks I’ve been working on a module which might be added to the Ansible ‘extra’ modules. I found the process a bit frustrating on some points, so I thought I’d share that here. I hope you don’t mind …

---

## [with\_ and empty item lists and the copy module in particular](https://forum.ansible.com/t/with-and-empty-item-lists-and-the-copy-module-in-particular/16936)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 10:43am UTC](https://forum.ansible.com/t/with-and-empty-item-lists-and-the-copy-module-in-particular/16936 "2014-12-02T10:43:34Z")

</div>

I found an odd behaviour with with\_first\_found, roles and the copy module that I document here https://github.com/willthames/copy\_with\_null\_items/commit/fd924a7045748cdb193f7cf27d5a03915c2a4458 (basically if no file is…

---

## [\[authorized\_key\] refactoring pull request, how can I help the reviewer?](https://forum.ansible.com/t/authorized-key-refactoring-pull-request-how-can-i-help-the-reviewer/16923)

<div class="topic-metadata">

**Author:** [@Fabrice\_Bernhard](https://forum.ansible.com/u/Fabrice_Bernhard)\
**Replies:** 5\
**Last updated:** [December 1, 2014, 10:17pm UTC](https://forum.ansible.com/t/authorized-key-refactoring-pull-request-how-can-i-help-the-reviewer/16923 "2014-12-01T22:17:54Z")

</div>

Hi, along my discussions on adding possibility to handle multiple keys using the authorized\_key module, I realised the functionality was hidden in the code, but since it was supported without being documented I felt the…

---

## [Ansible release process feedback](https://forum.ansible.com/t/ansible-release-process-feedback/16925)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 3\
**Last updated:** [December 1, 2014, 9:30pm UTC](https://forum.ansible.com/t/ansible-release-process-feedback/16925 "2014-12-01T21:30:17Z")

</div>

Hi I just want to start a constructive feedback about the latest Ansible release process. The last 3 major releases, our user experience was not quite well and we rolled back. It makes use feel scary about upgrading t…

---

## [Conditional include at playbook level would be great](https://forum.ansible.com/t/conditional-include-at-playbook-level-would-be-great/16920)

<div class="topic-metadata">

**Author:** [@edrozenberg](https://forum.ansible.com/u/edrozenberg)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 8:53pm UTC](https://forum.ansible.com/t/conditional-include-at-playbook-level-would-be-great/16920 "2014-12-01T20:53:06Z")

</div>

Certain roles/tasks need to be implemented very differently based on the OS. For example configuring tftpd on Mac vs Linux is done differently: launchctl command on Mac package install/service control on Linux For th…

---

## [Adding 2 new AWS VPC related modules](https://forum.ansible.com/t/adding-2-new-aws-vpc-related-modules/16916)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 0\
**Last updated:** [November 28, 2014, 10:15pm UTC](https://forum.ansible.com/t/adding-2-new-aws-vpc-related-modules/16916 "2014-11-28T22:15:01Z")

</div>

First adds support for managing VPC peering connections ( https://github.com/ansible/ansible-modules-core/pull/367 ), the second adds support for managing VPC network ACLs ( https://github.com/ansible/ansible-modules-cor…

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

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