# Ansible Developer

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

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

**Page:** 92

---

## [module subversion, export option](https://forum.ansible.com/t/module-subversion-export-option/14149)

<div class="topic-metadata">

**Author:** [@Baptiste\_Lafontaine](https://forum.ansible.com/u/Baptiste_Lafontaine)\
**Replies:** 0\
**Last updated:** [December 13, 2013, 8:57am UTC](https://forum.ansible.com/t/module-subversion-export-option/14149 "2013-12-13T08:57:14Z")

</div>

Hi, The subversion only offers to “checkout” (or update) the code. The pull request offers a “export” option that allows to export the code. It feels cleaner in production to not have the .svn directories and permits to…

---

## [elasticache\_facts module](https://forum.ansible.com/t/elasticache-facts-module/14141)

<div class="topic-metadata">

**Author:** [@Baptiste\_Lafontaine](https://forum.ansible.com/u/Baptiste_Lafontaine)\
**Replies:** 0\
**Last updated:** [December 12, 2013, 3:32pm UTC](https://forum.ansible.com/t/elasticache-facts-module/14141 "2013-12-12T15:32:18Z")

</div>

Hi, I’ve created a module elasticache\_facts which allow users to get facts such as endpoint address and port from AWS. I’ve created it upon the model of the module ec2\_facts Pull request done here: https://github.com/…

---

## [ssh\_alt - new version](https://forum.ansible.com/t/ssh-alt-new-version/14046)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 18\
**Last updated:** [December 11, 2013, 12:30am UTC](https://forum.ansible.com/t/ssh-alt-new-version/14046 "2013-12-11T00:30:40Z")

</div>

Hello, the new version of ssh\_alt branch can be found here : diff: https://github.com/jeromew/ansible/commit/23da88f45318fcdb8350bd7671c3d3f88bcab7c2 branch: https://github.com/jeromew/ansible/tree/ansible\_ssh\_alt te…

---

## [Bug in npm module](https://forum.ansible.com/t/bug-in-npm-module/14082)

<div class="topic-metadata">

**Author:** [@Brian\_Zambrano](https://forum.ansible.com/u/Brian_Zambrano)\
**Replies:** 3\
**Last updated:** [December 6, 2013, 6:19pm UTC](https://forum.ansible.com/t/bug-in-npm-module/14082 "2013-12-06T18:19:43Z")

</div>

I found a bug in the npm module…is the preferred route to submit a pull request or contact the module author? BZ

---

## [ANSIBLE\_LIBRARY vs library vs DEFAULT\_MODULE\_PATH](https://forum.ansible.com/t/ansible-library-vs-library-vs-default-module-path/14075)

<div class="topic-metadata">

**Author:** [@anatoly\_techtonik](https://forum.ansible.com/u/anatoly_techtonik)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 9:33pm UTC](https://forum.ansible.com/t/ansible-library-vs-library-vs-default-module-path/14075 "2013-12-05T21:33:17Z")

</div>

All these names are not descriptive. I wonder how hard is to deprecate all of those and replace them with ANSIBLE\_SHARED\_FILES? Is that name makes more sense to everybody else?

---

## [cache\_valid\_time doesn't work](https://forum.ansible.com/t/cache-valid-time-doesnt-work/14063)

<div class="topic-metadata">

**Author:** [@SLS](https://forum.ansible.com/u/SLS)\
**Replies:** 8\
**Last updated:** [December 5, 2013, 2:05am UTC](https://forum.ansible.com/t/cache-valid-time-doesnt-work/14063 "2013-12-05T02:05:12Z")

</div>

Hi there, I can’t get the cache\_valid\_time parameter to take. Below is the relevant section of my playbook. name: ensure apache installed apt: pkg={{ item }} state=present update\_cache=yes cache\_valid\_time=3600 with…

---

## [ssh performance - follow up](https://forum.ansible.com/t/ssh-performance-follow-up/14028)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 23\
**Last updated:** [December 1, 2013, 11:48pm UTC](https://forum.ansible.com/t/ssh-performance-follow-up/14028 "2013-12-01T23:48:15Z")

</div>

Hello, I mentioned on “ansible project” that I had difficulties with the performance of ansible on my “network”. In fact, I try to use ansible on a set of remote machines that are not hosted by the same provider. The s…

---

## [idea - cascading ansible](https://forum.ansible.com/t/idea-cascading-ansible/14033)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 3:51pm UTC](https://forum.ansible.com/t/idea-cascading-ansible/14033 "2013-11-29T15:51:42Z")

</div>

Hello, Just a thought for a future development and it maybe has already been discussed. It could be interesting if ansible had a module to : start a playbook on another machine (launch ansible on that machine with ar…

---

## [New host module: how it should behave.](https://forum.ansible.com/t/new-host-module-how-it-should-behave/14014)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 4\
**Last updated:** [November 27, 2013, 7:09pm UTC](https://forum.ansible.com/t/new-host-module-how-it-should-behave/14014 "2013-11-27T19:09:38Z")

</div>

Hi I refactored the host module and want to explain how it behaves and I am very interested in your opinions and feedback. You can find and test the pull request here https://github.com/ansible/ansible/pull/5065. I wa…

---

## [set\_fact and "variable variables"](https://forum.ansible.com/t/set-fact-and-variable-variables/13987)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 9:40pm UTC](https://forum.ansible.com/t/set-fact-and-variable-variables/13987 "2013-11-23T21:40:08Z")

</div>

Hello, I send this message to ansible-devel as I think it is an advanced subject that can lead to a devel discussion. The following play currently works as expected (or at least as I expected :wink: : hosts: localhos…

---

## [adding creates= and removes= on script:](https://forum.ansible.com/t/adding-creates-and-removes-on-script/13952)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 4:14pm UTC](https://forum.ansible.com/t/adding-creates-and-removes-on-script/13952 "2013-11-23T16:14:21Z")

</div>

migrating this thread from ansible project https://groups.google.com/forum/#!topic/ansible-project/R4qQQZmErXA Michael said: The “file exists” stuff should be handled by “execute module” rather than calling low level …

---

## [Lookup-plugins in general & lsearch in particular](https://forum.ansible.com/t/lookup-plugins-in-general-lsearch-in-particular/13941)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 6\
**Last updated:** [November 21, 2013, 8:48am UTC](https://forum.ansible.com/t/lookup-plugins-in-general-lsearch-in-particular/13941 "2013-11-21T08:48:13Z")

</div>

Hello, I have a pull-request for a linear-search (lsearch) in text files lookup-plugin pending \[1\] and Michael requests I discuss it on the -devel mailing list, so here I am. :wink: In general, I feel there can't rea…

---

## [AttributeError: 'module' object has no attribute 'ModuleReplacer' when trying to create a custom mod](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-modulereplacer-when-trying-to-create-a-custom-mod/13935)

<div class="topic-metadata">

**Author:** [@Lars\_Vonk](https://forum.ansible.com/u/Lars_Vonk)\
**Replies:** 4\
**Last updated:** [November 20, 2013, 2:05pm UTC](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-modulereplacer-when-trying-to-create-a-custom-mod/13935 "2013-11-20T14:05:10Z")

</div>

Hi, I am trying to create a custom module based on pyrax (rackspace) to create reverse dns entries. I followed the hacking guide but I am stuck testing the new module because of an AttributeError: ‘module’ object has no…

---

## [host module issues/thoughts](https://forum.ansible.com/t/host-module-issues-thoughts/13927)

<div class="topic-metadata">

**Author:** [@Christopher\_H\_Laco](https://forum.ansible.com/u/Christopher_H_Laco)\
**Replies:** 3\
**Last updated:** [November 19, 2013, 7:11pm UTC](https://forum.ansible.com/t/host-module-issues-thoughts/13927 "2013-11-19T19:11:06Z")

</div>

See this thread on github for the backstory: https://github.com/ansible/ansible/issues/4926 The short version is: under some circumstances, the module will make more changes than \[I\] expected to the /etc/hosts file. So…

---

## [unit tests as playbook in /test?](https://forum.ansible.com/t/unit-tests-as-playbook-in-test/13915)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [November 15, 2013, 10:24pm UTC](https://forum.ansible.com/t/unit-tests-as-playbook-in-test/13915 "2013-11-15T22:24:58Z")

</div>

Hi I did a PR (https://github.com/ansible/ansible/pull/4914) for 2 fixes in host module and wondered If and where I should put my test playbook. Is there any place in /test for such “test playbooks”? https://gist.githu…

---

## [get\_url (and maybe later uri): honor content-disposition](https://forum.ansible.com/t/get-url-and-maybe-later-uri-honor-content-disposition/13647)

<div class="topic-metadata">

**Author:** [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Replies:** 6\
**Last updated:** [November 15, 2013, 5:29pm UTC](https://forum.ansible.com/t/get-url-and-maybe-later-uri-honor-content-disposition/13647 "2013-11-15T17:29:53Z")

</div>

Hi, oh cool, a new list. The get\_url and uri modules don’t respect file names from content disposition headers. While creating a playbook for deploying Maven artifacts from our Nexus instance today I wished they did. …

---

## [Problems adding ebs\_optimized...](https://forum.ansible.com/t/problems-adding-ebs-optimized/13893)

<div class="topic-metadata">

**Author:** [@Jon\_Nials](https://forum.ansible.com/u/Jon_Nials)\
**Replies:** 1\
**Last updated:** [November 12, 2013, 9:18pm UTC](https://forum.ansible.com/t/problems-adding-ebs-optimized/13893 "2013-11-12T21:18:30Z")

</div>

I’m trying to add ebs optimized support to the ec2 module. My diff file for my naive first pass against devel is below. When I try and test this, I consistent get the following error: failed: \[localhost\] =\> {“failed”: t…

---

## [Module local action.](https://forum.ansible.com/t/module-local-action/13834)

<div class="topic-metadata">

**Author:** [@Hafizh\_Wahab](https://forum.ansible.com/u/Hafizh_Wahab)\
**Replies:** 4\
**Last updated:** [November 7, 2013, 6:42am UTC](https://forum.ansible.com/t/module-local-action/13834 "2013-11-07T06:42:21Z")

</div>

Hi, I’m trying to understand Ansible internal process flow, especially on how it performs the actions. What I dont understand is how it differentiates between a local action vs remote action. I’ve read the ‘copy’ modu…

---

## [file module f4b59fe285b436dbcbc3b83982408313c97a2e7a](https://forum.ansible.com/t/file-module-f4b59fe285b436dbcbc3b83982408313c97a2e7a/13832)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [November 4, 2013, 2:10am UTC](https://forum.ansible.com/t/file-module-f4b59fe285b436dbcbc3b83982408313c97a2e7a/13832 "2013-11-04T02:10:48Z")

</div>

Hi I came across a code block, which makes no sense to me (yet): It was introduced with this commit https://github.com/ansible/ansible/commit/f4b59fe285b436dbcbc3b83982408313c97a2e7a Line 187-197 if prev\_state i…

---

## [supervisorctl module](https://forum.ansible.com/t/supervisorctl-module/13824)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 3:01pm UTC](https://forum.ansible.com/t/supervisorctl-module/13824 "2013-11-01T15:01:57Z")

</div>

For those who use this module I was wondering if you could give some feedback on this open issue https://github.com/ansible/ansible/issues/4707 ? In general, I've been having a lot of problems with supervisor due to …

---

## [feature idea: remember the notified handlers in .retry files on fail/error](https://forum.ansible.com/t/feature-idea-remember-the-notified-handlers-in-retry-files-on-fail-error/13776)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 6\
**Last updated:** [November 1, 2013, 10:59am UTC](https://forum.ansible.com/t/feature-idea-remember-the-notified-handlers-in-retry-files-on-fail-error/13776 "2013-11-01T10:59:38Z")

</div>

if ansible fails, ansible creates a retry file. This is nice, but ansible forgets about notified handlers earlier in the play and which should have been executed at the end of the play. What about executing the handlers…

---

## [Some 1.4 development branch changes to the way modules share code (feature!)](https://forum.ansible.com/t/some-1-4-development-branch-changes-to-the-way-modules-share-code-feature/13774)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 8\
**Last updated:** [October 31, 2013, 9:44pm UTC](https://forum.ansible.com/t/some-1-4-development-branch-changes-to-the-way-modules-share-code-feature/13774 "2013-10-31T21:44:39Z")

</div>

Previously in Ansible when modules were transferred to remote systems a special string at the bottom of the file was replaced various string contents, those values coming from a file named module\_common.py and also from …

---

## [Should rax\_clb\_nodes exist independently?](https://forum.ansible.com/t/should-rax-clb-nodes-exist-independently/13595)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 11\
**Last updated:** [October 29, 2013, 12:41am UTC](https://forum.ansible.com/t/should-rax-clb-nodes-exist-independently/13595 "2013-10-29T00:41:41Z")

</div>

The ‘rax’ module was designed initially with the potential of supporting additional Rackspace public cloud products and supports a parameter ‘service’ that would be used to make this selection. It does however appear as…

---

## [authorized\_keys and unique](https://forum.ansible.com/t/authorized-keys-and-unique/13791)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 5:04pm UTC](https://forum.ansible.com/t/authorized-keys-and-unique/13791 "2013-10-28T17:04:51Z")

</div>

I noticed today that commit 346d46a appears to have the unintended consequence of making all keys in an authorized\_keys file unique, since they are now indexed in a dictionary rather than an array. This makes the “unique…

---

## [feature idea: modules forge plugin setup for non-core modules](https://forum.ansible.com/t/feature-idea-modules-forge-plugin-setup-for-non-core-modules/13777)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 5\
**Last updated:** [October 28, 2013, 1:12pm UTC](https://forum.ansible.com/t/feature-idea-modules-forge-plugin-setup-for-non-core-modules/13777 "2013-10-28T13:12:59Z")

</div>

Hi again I like ansible has a lot of modules in the core. On the other hand, the core becomes bigger and messier…maybe “we” should think about a way for a “plug-in” functionality for modules. So the core can stay clean…

---

## [Studying source code](https://forum.ansible.com/t/studying-source-code/13739)

<div class="topic-metadata">

**Author:** [@Janez\_Nemanic](https://forum.ansible.com/u/Janez_Nemanic)\
**Replies:** 3\
**Last updated:** [October 22, 2013, 2:35pm UTC](https://forum.ansible.com/t/studying-source-code/13739 "2013-10-22T14:35:44Z")

</div>

Hi, I would like to study Ansible’s source code because I would like to contribute to the project. Because of my lack of experiences I would need some advice from experienced contributors. Could you please advise me wha…

---

## [mysql\_user pure](https://forum.ansible.com/t/mysql-user-pure/13740)

<div class="topic-metadata">

**Author:** [@Petrus\_Rademeyer](https://forum.ansible.com/u/Petrus_Rademeyer)\
**Replies:** 2\
**Last updated:** [October 22, 2013, 1:56pm UTC](https://forum.ansible.com/t/mysql-user-pure/13740 "2013-10-22T13:56:12Z")

</div>

I’m reposting this on here from the github issue (https://github.com/ansible/ansible/issues/4615)

---

## [suggestions to make my master playbook simpler](https://forum.ansible.com/t/suggestions-to-make-my-master-playbook-simpler/13703)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 2\
**Last updated:** [October 17, 2013, 1:42pm UTC](https://forum.ansible.com/t/suggestions-to-make-my-master-playbook-simpler/13703 "2013-10-17T13:42:46Z")

</div>

Hi, I have a master playbook to deploy 10 different group servers per region but would like to make things simpler. As you can see the vars\_files section and handlers bellow is the same on all groups, the only things th…

---

## [bug on user module when relying on the default homedir](https://forum.ansible.com/t/bug-on-user-module-when-relying-on-the-default-homedir/13704)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [October 17, 2013, 12:16pm UTC](https://forum.ansible.com/t/bug-on-user-module-when-relying-on-the-default-homedir/13704 "2013-10-17T12:16:44Z")

</div>

Hello, just for information i found a bug on devel user module after a recent commit https://github.com/ansible/ansible/issues/4554 adding a home= in the task temporarily solves the issue

---

## [solved a performance problem in host pattern enumeration](https://forum.ansible.com/t/solved-a-performance-problem-in-host-pattern-enumeration/13656)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 2:00pm UTC](https://forum.ansible.com/t/solved-a-performance-problem-in-host-pattern-enumeration/13656 "2013-10-11T14:00:23Z")

</div>

Been running ansible 1.4-devel (a version from september 26, around fd101dd), I yesterday updated to latest (e87be94 22 hours ago 1.3.3 missing from changelog - Michael DeHaan (HEAD, ansible/devel, devel) and noticed a b…

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

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