# Ansible Developer

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

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

**Page:** 70

---

## [Best practise for development only Role](https://forum.ansible.com/t/best-practise-for-development-only-role/19090)

<div class="topic-metadata">

**Author:** [@Michael\_Parkin](https://forum.ansible.com/u/Michael_Parkin)\
**Replies:** 0\
**Last updated:** [August 23, 2015, 2:42pm UTC](https://forum.ansible.com/t/best-practise-for-development-only-role/19090 "2015-08-23T14:42:22Z")

</div>

Hello, I have an ansible role for installing “MailHog”, a piece of software that provides a GUI for caught mail from a webserver. This is incredibly useful on local development as it can guarantee that emails won’t acc…

---

## [Tagging EC2 resources](https://forum.ansible.com/t/tagging-ec2-resources/19087)

<div class="topic-metadata">

**Author:** [@Stanley\_Nguyen](https://forum.ansible.com/u/Stanley_Nguyen)\
**Replies:** 0\
**Last updated:** [August 22, 2015, 8:10am UTC](https://forum.ansible.com/t/tagging-ec2-resources/19087 "2015-08-22T08:10:37Z")

</div>

I’m having a very simple problem but I find it quite tough to achieve in Ansible. Basically I have a list of machine’s IP address with a description: \[{ ip: “192.168.10.10”, desc: “test1”}, { ip: “192.168.10.11”, desc: …

---

## [How to use policy\_document in iam\_policy module?](https://forum.ansible.com/t/how-to-use-policy-document-in-iam-policy-module/19071)

<div class="topic-metadata">

**Author:** [@user90](https://forum.ansible.com/u/user90)\
**Replies:** 3\
**Last updated:** [August 21, 2015, 9:53pm UTC](https://forum.ansible.com/t/how-to-use-policy-document-in-iam-policy-module/19071 "2015-08-21T21:53:50Z")

</div>

Hello, can you provide me example how to use policy\_document from iam\_policy module? policy\_document: “policy.json.j2” (In policy.json.j2 I store json, copied from AWS policy generator and want to save formatting for re…

---

## [Digital Ocean + Deis modules](https://forum.ansible.com/t/digital-ocean-deis-modules/19070)

<div class="topic-metadata">

**Author:** [@Remy\_Sanchez](https://forum.ansible.com/u/Remy_Sanchez)\
**Replies:** 0\
**Last updated:** [August 20, 2015, 4:38pm UTC](https://forum.ansible.com/t/digital-ocean-deis-modules/19070 "2015-08-20T16:38:26Z")

</div>

Hi, I’ve started two modules for my own use. https://gist.github.com/Xowap/15100acf2f466a1178a6 This one is a replacement for digital\_ocean\_domain. Besides the fact that I never really figured why there was a droplet …

---

## [a new variable in vars ansible\_init](https://forum.ansible.com/t/a-new-variable-in-vars-ansible-init/19042)

<div class="topic-metadata">

**Author:** [@user72](https://forum.ansible.com/u/user72)\
**Replies:** 4\
**Last updated:** [August 20, 2015, 7:39am UTC](https://forum.ansible.com/t/a-new-variable-in-vars-ansible-init/19042 "2015-08-20T07:39:03Z")

</div>

add a variable that takes the value of the initialization http://docs.ansible.com/ansible/playbooks\_variables.html “ansible\_init”: “systemd”, “ansible\_init”: “SysV”, “ansible\_init”: “OpenRC”, or “ansible\_init”: { …

---

## [missing state(absent) in service module](https://forum.ansible.com/t/missing-state-absent-in-service-module/19054)

<div class="topic-metadata">

**Author:** [@alxgu1](https://forum.ansible.com/u/alxgu1)\
**Replies:** 3\
**Last updated:** [August 20, 2015, 5:55am UTC](https://forum.ansible.com/t/missing-state-absent-in-service-module/19054 "2015-08-20T05:55:39Z")

</div>

Hi, any reason why the service module doesn’t have the state=absent? Some packages setup their service into runlevel 3 during the installation. Would a PullRequest be accepted, which add this functionality? state s…

---

## [AWS Kinesis module](https://forum.ansible.com/t/aws-kinesis-module/18970)

<div class="topic-metadata">

**Author:** [@Sarah\_Haskins](https://forum.ansible.com/u/Sarah_Haskins)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 6:19pm UTC](https://forum.ansible.com/t/aws-kinesis-module/18970 "2015-08-17T18:19:05Z")

</div>

I am in need of a module for AWS Kinesis. Would this be a desirable contribution?

---

## [New module (draft) for copying files locally.](https://forum.ansible.com/t/new-module-draft-for-copying-files-locally/18940)

<div class="topic-metadata">

**Author:** [@Alexander\_Taler](https://forum.ansible.com/u/Alexander_Taler)\
**Replies:** 8\
**Last updated:** [August 16, 2015, 1:01am UTC](https://forum.ansible.com/t/new-module-draft-for-copying-files-locally/18940 "2015-08-16T01:01:34Z")

</div>

Hello Ansible Devel I have developed a module for copying files locally on the host, while respecting the Ansible --check option and reporting on changes. I would be glad to submit it to Ansible extras modules if it'…

---

## [Unable to reference to local docker image](https://forum.ansible.com/t/unable-to-reference-to-local-docker-image/19008)

<div class="topic-metadata">

**Author:** [@Kamesh\_Sampath](https://forum.ansible.com/u/Kamesh_Sampath)\
**Replies:** 0\
**Last updated:** [August 13, 2015, 9:20am UTC](https://forum.ansible.com/t/unable-to-reference-to-local-docker-image/19008 "2015-08-13T09:20:18Z")

</div>

I am using Ansible to spin up my local docker container, the task defs are as follows: \` name: “Pull the Liferay App” shell: docker-compose pull lportal args: chdir: “{{ compose\_configs\_dir }}/{{ container\_name }}…

---

## [AWS KeyPair Error](https://forum.ansible.com/t/aws-keypair-error/18975)

<div class="topic-metadata">

**Author:** [@Monosij\_Dutta-Roy](https://forum.ansible.com/u/Monosij_Dutta-Roy)\
**Replies:** 3\
**Last updated:** [August 13, 2015, 4:01am UTC](https://forum.ansible.com/t/aws-keypair-error/18975 "2015-08-13T04:01:56Z")

</div>

I am getting the following error for AWS Keypair, generated at AWS and pem file downloaded, from boto 2.34, on Ubun 15.04. I have checked that key is for the region (us-east-1) that I am running the playbook for. Do no…

---

## [rabbitmq\_user multiple permissions](https://forum.ansible.com/t/rabbitmq-user-multiple-permissions/18996)

<div class="topic-metadata">

**Author:** [@Marian\_Rusu](https://forum.ansible.com/u/Marian_Rusu)\
**Replies:** 0\
**Last updated:** [August 11, 2015, 5:16pm UTC](https://forum.ansible.com/t/rabbitmq-user-multiple-permissions/18996 "2015-08-11T17:16:55Z")

</div>

Hi there, I came across rabbitmq\_user module and something that bothers me is being able to pass only one vhost permission per module call, and everytime I also have to pass the user’s tags. I did a fix/feature for th…

---

## [FreeBSD Jails support (cron, service, user, group)](https://forum.ansible.com/t/freebsd-jails-support-cron-service-user-group/18979)

<div class="topic-metadata">

**Author:** [@Evgeny\_Lyapin](https://forum.ansible.com/u/Evgeny_Lyapin)\
**Replies:** 2\
**Last updated:** [August 11, 2015, 3:34pm UTC](https://forum.ansible.com/t/freebsd-jails-support-cron-service-user-group/18979 "2015-08-11T15:34:41Z")

</div>

I would appreciate if Ansible development team support FreeBSD jails in system modules (cron, user, group, service). The idea is to add a parameter ‘wrapper’ exec command where necessary - jexec or just chroot, the secon…

---

## [locale\_gen: Managing locales on RedHat-based systems using deflocale](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981)

<div class="topic-metadata">

**Author:** [@Will\_F](https://forum.ansible.com/u/Will_F)\
**Replies:** 0\
**Last updated:** [August 10, 2015, 2:24pm UTC](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981 "2015-08-10T14:24:08Z")

</div>

Ansible’s ‘locale\_gen’ module is useful on Debian-based systems but doesn’t work on modern RedHat-based systems. It relies on the locale-gen utility but that isn’t available on RedHat. However, a similar tool called defl…

---

## [Ansible Docker module not picking up variables](https://forum.ansible.com/t/ansible-docker-module-not-picking-up-variables/18974)

<div class="topic-metadata">

**Author:** [@Kamesh\_Sampath](https://forum.ansible.com/u/Kamesh_Sampath)\
**Replies:** 1\
**Last updated:** [August 8, 2015, 8:03pm UTC](https://forum.ansible.com/t/ansible-docker-module-not-picking-up-variables/18974 "2015-08-08T20:03:42Z")

</div>

I am a newbie with ansible, I am trying to spin up a docker container with the following command \` name: Swarm node is running docker: docker\_api\_version: 1.18 name: swarm-node image: swarm command: join --addr={…

---

## [duplicate parameter was found in the argument string](https://forum.ansible.com/t/duplicate-parameter-was-found-in-the-argument-string/18972)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 1\
**Last updated:** [August 7, 2015, 11:07pm UTC](https://forum.ansible.com/t/duplicate-parameter-was-found-in-the-argument-string/18972 "2015-08-07T23:07:10Z")

</div>

Stumble upon what I believe might be regression. Playbook looks like this: hosts: nagios\_server vars: backuppc\_client: username: “rsyncbackuppc” shell: “/bin/bash” home: “/var/lib/rsyncbackup” comment: “Backuppc…

---

## [crontabs outside /var/spool/crontabs with SysV cron](https://forum.ansible.com/t/crontabs-outside-var-spool-crontabs-with-sysv-cron/18969)

<div class="topic-metadata">

**Author:** [@Nate\_Coraor](https://forum.ansible.com/u/Nate_Coraor)\
**Replies:** 4\
**Last updated:** [August 7, 2015, 6:18pm UTC](https://forum.ansible.com/t/crontabs-outside-var-spool-crontabs-with-sysv-cron/18969 "2015-08-07T18:18:56Z")

</div>

SysV cron (as found on e.g. Solaris and derivatives) works a bit differently than vixie/ISC cron in regards to crontabs other than a user’s self-modifiable crontab. Rather than reading /etc/cron.d/\* and merging them into…

---

## [Adding facts module](https://forum.ansible.com/t/adding-facts-module/18963)

<div class="topic-metadata">

**Author:** [@Marcin\_Stolarek](https://forum.ansible.com/u/Marcin_Stolarek)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 3:29pm UTC](https://forum.ansible.com/t/adding-facts-module/18963 "2015-08-06T15:29:40Z")

</div>

Hi, At our site we found interesting to have a facts module providing information about network interfaces configuration available via DHCP. This can be used to write a static configuration basing on current DHCP (we us…

---

## [We need WinRM connection options (rehash)](https://forum.ansible.com/t/we-need-winrm-connection-options-rehash/18901)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [August 6, 2015, 1:54pm UTC](https://forum.ansible.com/t/we-need-winrm-connection-options-rehash/18901 "2015-08-06T13:54:35Z")

</div>

Group, I think we need to start discussing what to do with the various WinRM connection options again. Current state: We allow Basic and Kerberos-authenticated connections to the ssl port only (5986 by default) The h…

---

## [path filters for windows](https://forum.ansible.com/t/path-filters-for-windows/18954)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 5:54pm UTC](https://forum.ansible.com/t/path-filters-for-windows/18954 "2015-08-05T17:54:01Z")

</div>

Anyone have any objection to me adding a few filters for windows paths? looks pretty straightforward to do, just import ntpath then use the ntpath versions of the os.path methods: I’m thinking just add the following (a…

---

## [maximum ssh connections limit in ansible](https://forum.ansible.com/t/maximum-ssh-connections-limit-in-ansible/18947)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 1\
**Last updated:** [August 5, 2015, 2:04pm UTC](https://forum.ansible.com/t/maximum-ssh-connections-limit-in-ansible/18947 "2015-08-05T14:04:43Z")

</div>

I want to connect more no of connections from one node to multiple hosts.So is there any limit of ssh connections ? and what is the maximum no of ssh connections from one node to multiple hosts? If it exists how to incr…

---

## [with\_items but with single module call](https://forum.ansible.com/t/with-items-but-with-single-module-call/18946)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 6\
**Last updated:** [August 5, 2015, 11:10am UTC](https://forum.ansible.com/t/with-items-but-with-single-module-call/18946 "2015-08-05T11:10:55Z")

</div>

Hi, I’m pretty new to Python but I’m taking a stab at creating some Oracle modules. So I’m trying to create a grants module, and I’d like to be able to use with\_items the same way that the yum module does (load all ite…

---

## [Include directory](https://forum.ansible.com/t/include-directory/18518)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 6\
**Last updated:** [August 3, 2015, 11:57am UTC](https://forum.ansible.com/t/include-directory/18518 "2015-08-03T11:57:21Z")

</div>

Hi, I created a small action module that include files under a directory as an array. Take this as an example Directory structure users/ user1.yml user2.yml user3.yml Ansible code name: Set fact for user site …

---

## [How to test the remote execution?](https://forum.ansible.com/t/how-to-test-the-remote-execution/18922)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 6:20am UTC](https://forum.ansible.com/t/how-to-test-the-remote-execution/18922 "2015-08-03T06:20:40Z")

</div>

How do you test remote execution of a module? Simple example. I wrote an integration test for the hostname module. Running the test (as root) on my test VM works. But that’s a local test. I want to test the remote exec…

---

## [module contribution to -extras](https://forum.ansible.com/t/module-contribution-to-extras/18917)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [August 2, 2015, 2:30pm UTC](https://forum.ansible.com/t/module-contribution-to-extras/18917 "2015-08-02T14:30:07Z")

</div>

Hi folks, I’m not very learned in the process of seeing modules added to -extras so I figured I’d ask how those sorts of things are voted on and merged into -extras. Along those lines, I have a module I recently develo…

---

## [C.DEFAULT\_DEBUG](https://forum.ansible.com/t/c-default-debug/18913)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 2\
**Last updated:** [August 1, 2015, 10:53pm UTC](https://forum.ansible.com/t/c-default-debug/18913 "2015-08-01T22:53:53Z")

</div>

I see C.DEFAULT\_DEBUG in the code how do I turn this on? Only find it in 2 locations lib/ansible/utils/debug.py lib/ansible/utils/display.py So no code on where it gets set? Introspection? ansible-playbook: error: n…

---

## [\-K, --ask-sudo-pass deprecated but --become doesn't functioning properly?](https://forum.ansible.com/t/k-ask-sudo-pass-deprecated-but-become-doesnt-functioning-properly/18907)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 7\
**Last updated:** [July 31, 2015, 10:33pm UTC](https://forum.ansible.com/t/k-ask-sudo-pass-deprecated-but-become-doesnt-functioning-properly/18907 "2015-07-31T22:33:55Z")

</div>

This is related to #11808 Making the move from -K to --become and running into many problems. Since the first day of running the git devel branch I haven’t had this many problems so I feel like the problems are “person…

---

## [vmware modules\_utils missing](https://forum.ansible.com/t/vmware-modules-utils-missing/18885)

<div class="topic-metadata">

**Author:** [@Joseph\_Callen](https://forum.ansible.com/u/Joseph_Callen)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 3:22pm UTC](https://forum.ansible.com/t/vmware-modules-utils-missing/18885 "2015-07-29T15:22:25Z")

</div>

Hello, We are about to submit PRs for the VMware modules and noticed that the vmware modules\_utils didn’t get moved over during the switch from v1 to v2. If there is something that needs to be done please let us know. T…

---

## [module naming conventions?](https://forum.ansible.com/t/module-naming-conventions/18878)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 11:36pm UTC](https://forum.ansible.com/t/module-naming-conventions/18878 "2015-07-28T23:36:23Z")

</div>

Hi folks, I’m looking for guidance on how one might name modules that potentially have long names based on a deep API hierarchy. For example, consider an API hierarchy that looks like this management \> traffic group \> …

---

## [Failed to connect to debian 8: Incompatible ssh peer (no acceptable kex algorithm),](https://forum.ansible.com/t/failed-to-connect-to-debian-8-incompatible-ssh-peer-no-acceptable-kex-algorithm/18858)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 4\
**Last updated:** [July 28, 2015, 3:53am UTC](https://forum.ansible.com/t/failed-to-connect-to-debian-8-incompatible-ssh-peer-no-acceptable-kex-algorithm/18858 "2015-07-28T03:53:41Z")

</div>

Hi, My Ansible version is 1.9, it works for debian 7, centos 6 and centos 7, but I have got errors to ping debian 8 “No handlers could be found for logger “paramiko.transport” FAILED =\> FAILED: Incompatible ssh peer (no…

---

## [ee835ff  does not fix #11746](https://forum.ansible.com/t/ee835ff-does-not-fix-11746/18867)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 4\
**Last updated:** [July 27, 2015, 9:05pm UTC](https://forum.ansible.com/t/ee835ff-does-not-fix-11746/18867 "2015-07-27T21:05:26Z")

</div>

ee835ff does not fixed #11746 (posting here because the issue was closed) Here is the play, pretty must the same as the play in #11746 name: deploy ssl keys and certificates copy: \> src={{ item }} dest=/etc/ssl/pri…

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

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