# Ansible Developer

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

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

**Page:** 74

---

## [How to use dict keys as items?](https://forum.ansible.com/t/how-to-use-dict-keys-as-items/18264)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 9:42pm UTC](https://forum.ansible.com/t/how-to-use-dict-keys-as-items/18264 "2015-05-19T21:42:44Z")

</div>

I have a dict: hosts: web01: int\_ip: 192.168.1.1 ext\_ip: 1.2.3.4 web02: int\_ip: 192.168.1.2 ext\_ip: 1.2.3.5 I am using a template that I supply items to with “with\_items”, and I reference the data as “item”. If I…

---

## [Enhance \`--private-key\` argument to support multiple key files ?](https://forum.ansible.com/t/enhance-private-key-argument-to-support-multiple-key-files/14180)

<div class="topic-metadata">

**Author:** [@Gilles\_Cornu](https://forum.ansible.com/u/Gilles_Cornu)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 2:22pm UTC](https://forum.ansible.com/t/enhance-private-key-argument-to-support-multiple-key-files/14180 "2015-05-19T14:22:53Z")

</div>

In preamble, I know that Ansible already deals very well with multiple SSH identities the following ways: SSH agent ansible\_ssh\_private\_key\_file optional parameter in inventory file Now, my goal and my question: Vagr…

---

## [New NetworkManager module PR#482: What are the next steps to getting it merged?](https://forum.ansible.com/t/new-networkmanager-module-pr-482-what-are-the-next-steps-to-getting-it-merged/18230)

<div class="topic-metadata">

**Author:** [@chlong](https://forum.ansible.com/u/chlong)\
**Replies:** 3\
**Last updated:** [May 18, 2015, 6:19am UTC](https://forum.ansible.com/t/new-networkmanager-module-pr-482-what-are-the-next-steps-to-getting-it-merged/18230 "2015-05-18T06:19:42Z")

</div>

Hi All. I’ve submitted my first PR for a new module and it has been tagged with ‘feature\_pull\_request’ ‘new\_module’ ‘P3’ and has a green tick. What’s the next step in the process for that PR to get merged? Cheers Chri…

---

## [Further analysis of Extras PRs, and a new draft of Extras policy proposal](https://forum.ansible.com/t/further-analysis-of-extras-prs-and-a-new-draft-of-extras-policy-proposal/18247)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 1\
**Last updated:** [May 17, 2015, 11:41pm UTC](https://forum.ansible.com/t/further-analysis-of-extras-prs-and-a-new-draft-of-extras-policy-proposal/18247 "2015-05-17T23:41:19Z")

</div>

Last week, I went through and added Github owner data to every module in Extras, and then I went through and tagged "owner\_pr" to every PR in which the requestor was also the module owner. There were a very few (5, I …

---

## [New to Ansible Development](https://forum.ansible.com/t/new-to-ansible-development/18237)

<div class="topic-metadata">

**Author:** [@Ken\_Mitchell](https://forum.ansible.com/u/Ken_Mitchell)\
**Replies:** 1\
**Last updated:** [May 15, 2015, 3:51pm UTC](https://forum.ansible.com/t/new-to-ansible-development/18237 "2015-05-15T15:51:49Z")

</div>

I have created some custom modules, but I want to get my feet wet contributing to Ansible. Considering working on some ansible-modules-core bugfixes. I’ve read CONTRIBUTING.md and README.md, and of course the docs. Shoul…

---

## [Initial analysis of Extras PRs, and next steps](https://forum.ansible.com/t/initial-analysis-of-extras-prs-and-next-steps/18223)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 4\
**Last updated:** [May 14, 2015, 3:56am UTC](https://forum.ansible.com/t/initial-analysis-of-extras-prs-and-next-steps/18223 "2015-05-14T03:56:54Z")

</div>

OK, so I created a label called "owner\_pr" for all PRs in Extras that were submitted by the module owners. I then went through and found all open PRs against extant modules that were submitted by the original authors…

---

## [New iptables module questions](https://forum.ansible.com/t/new-iptables-module-questions/18099)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 6\
**Last updated:** [May 13, 2015, 5:16pm UTC](https://forum.ansible.com/t/new-iptables-module-questions/18099 "2015-05-13T17:16:28Z")

</div>

I know there have been quite a few requests for an iptables module which were usually closed by Michael (and others) saying that iptables should be controlled using a template module and similar suggestions. I found that…

---

## [Call Templar or Template from a Custom Plugin](https://forum.ansible.com/t/call-templar-or-template-from-a-custom-plugin/18204)

<div class="topic-metadata">

**Author:** [@Franklin\_Wise](https://forum.ansible.com/u/Franklin_Wise)\
**Replies:** 1\
**Last updated:** [May 12, 2015, 11:58pm UTC](https://forum.ansible.com/t/call-templar-or-template-from-a-custom-plugin/18204 "2015-05-12T23:58:54Z")

</div>

I’m writing a custom plugin and everything works great, except I’d like to use the built in Template task. However, if I’m unable to reference the template library correctly. I’ve tried: from ansible.plugins.action imp…

---

## [Using statsd for playbooks](https://forum.ansible.com/t/using-statsd-for-playbooks/18178)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 7\
**Last updated:** [May 8, 2015, 1:29pm UTC](https://forum.ansible.com/t/using-statsd-for-playbooks/18178 "2015-05-08T13:29:24Z")

</div>

Hi all, I was wondering if anyone had considered statsd integration with Ansible and if so, the best way to go about it. For example, it'd be cool to use statsd to record how many times a playbook is run or how long a …

---

## [Windows: Do not re-use ansible\_ssh\_user (etc) variable names for WinRM connections](https://forum.ansible.com/t/windows-do-not-re-use-ansible-ssh-user-etc-variable-names-for-winrm-connections/18082)

<div class="topic-metadata">

**Author:** [@Lars\_Sommer](https://forum.ansible.com/u/Lars_Sommer)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 1:03pm UTC](https://forum.ansible.com/t/windows-do-not-re-use-ansible-ssh-user-etc-variable-names-for-winrm-connections/18082 "2015-05-08T13:03:33Z")

</div>

Hello, I am feeling some pain with Windows WinRM connections re-using a variable name that’s A.) inaccurate and B.) shared with SSH connections for linux. Reference docs: http://docs.ansible.com/intro\_windows.html Re-…

---

## [mount module creates fstab entry even if it cannot mount a volume #1252](https://forum.ansible.com/t/mount-module-creates-fstab-entry-even-if-it-cannot-mount-a-volume-1252/18177)

<div class="topic-metadata">

**Author:** [@blackreed9](https://forum.ansible.com/u/blackreed9)\
**Replies:** 4\
**Last updated:** [May 8, 2015, 12:06pm UTC](https://forum.ansible.com/t/mount-module-creates-fstab-entry-even-if-it-cannot-mount-a-volume-1252/18177 "2015-05-08T12:06:07Z")

</div>

I’m just getting started with Ansible and I wanted to dip my toe in on a couple of easier bugs. https://github.com/ansible/ansible-modules-core/issues/1252 This request is looking to change the ‘mount’ process to remov…

---

## [Extras triage proposal](https://forum.ansible.com/t/extras-triage-proposal/18041)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 20\
**Last updated:** [May 7, 2015, 4:30am UTC](https://forum.ansible.com/t/extras-triage-proposal/18041 "2015-05-07T04:30:51Z")

</div>

Hi all. Starting to think about ways to open up the contribution process a little bit, while maintaining a high level of code quality. The purpose of splitting out modules originally into Core and Extras was to create…

---

## [Fixing mysql\_user privs using columns - #1120](https://forum.ansible.com/t/fixing-mysql-user-privs-using-columns-1120/18172)

<div class="topic-metadata">

**Author:** [@Bryan\_Fleming](https://forum.ansible.com/u/Bryan_Fleming)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 9:57pm UTC](https://forum.ansible.com/t/fixing-mysql-user-privs-using-columns-1120/18172 "2015-05-06T21:57:44Z")

</div>

Hey all, Just joined the group, did a search for mysql\_user and didn’t find anything with what I’m trying to fix. Trying to help out with a bug/feature that would be nice to have when setting permissions which is privs…

---

## [How to resolve relative paths given as arguments in custom modules?](https://forum.ansible.com/t/how-to-resolve-relative-paths-given-as-arguments-in-custom-modules/18159)

<div class="topic-metadata">

**Author:** [@Eyal\_Roth](https://forum.ansible.com/u/Eyal_Roth)\
**Replies:** 3\
**Last updated:** [May 6, 2015, 2:28pm UTC](https://forum.ansible.com/t/how-to-resolve-relative-paths-given-as-arguments-in-custom-modules/18159 "2015-05-06T14:28:52Z")

</div>

I’m referring a question into here after opening an issue on github. I’ll copy my question from the issue: Say I’m writing a new module, and I want to have an argument which points to a file (which I’d like to read or w…

---

## [PR for ec2.py not using full set of AWS credential mechanisms since bc0c169](https://forum.ansible.com/t/pr-for-ec2-py-not-using-full-set-of-aws-credential-mechanisms-since-bc0c169/18148)

<div class="topic-metadata">

**Author:** [@andy2](https://forum.ansible.com/u/andy2)\
**Replies:** 0\
**Last updated:** [May 2, 2015, 4:16pm UTC](https://forum.ansible.com/t/pr-for-ec2-py-not-using-full-set-of-aws-credential-mechanisms-since-bc0c169/18148 "2015-05-02T16:16:18Z")

</div>

Hi, I’ve just submitted PR #1243 to ansible-modules-core This fixes an issue introduced with the update to only match group names in this VPC. The connection to boto.vpc in that commit only references aws\_access\_key a…

---

## [setuptools automatic script creation](https://forum.ansible.com/t/setuptools-automatic-script-creation/17988)

<div class="topic-metadata">

**Author:** [@Loren\_Carvalho](https://forum.ansible.com/u/Loren_Carvalho)\
**Replies:** 8\
**Last updated:** [May 2, 2015, 3:03am UTC](https://forum.ansible.com/t/setuptools-automatic-script-creation/17988 "2015-05-02T03:03:57Z")

</div>

Yeah, this old chestnut. So I was working on packaging Ansible for distribution @ my job and I was reminded about this PR I submitted a while back: Leveraging setuptools automatic script creation by lorencarvalho · Pul…

---

## [unreachable stats from module](https://forum.ansible.com/t/unreachable-stats-from-module/18131)

<div class="topic-metadata">

**Author:** [@maxime.gerges31](https://forum.ansible.com/u/maxime.gerges31)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 7:15pm UTC](https://forum.ansible.com/t/unreachable-stats-from-module/18131 "2015-05-01T19:15:46Z")

</div>

Hello, I’m currently developing a module used to connect to network devices using Exscript and Ansible as local connection. I’d like to know if ansible module is able to tell the playbook stats if the remote device is …

---

## [Rendering a template from a module?](https://forum.ansible.com/t/rendering-a-template-from-a-module/18103)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 9\
**Last updated:** [May 1, 2015, 6:15pm UTC](https://forum.ansible.com/t/rendering-a-template-from-a-module/18103 "2015-05-01T18:15:25Z")

</div>

I’m beefing up our DataDog module and want to create a module that adds monitor configs to /etc/dd-agent/conf.d. Essentially I’m trying to create friendly macro for: vars: dd\_monog\_arg\_1: xyz dd\_monog\_arg\_2: abc tem…

---

## [Windows PR - web platform installer](https://forum.ansible.com/t/windows-pr-web-platform-installer/18144)

<div class="topic-metadata">

**Author:** [@Peter\_Mounce](https://forum.ansible.com/u/Peter_Mounce)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 5:09pm UTC](https://forum.ansible.com/t/windows-pr-web-platform-installer/18144 "2015-04-30T17:09:08Z")

</div>

Later versions of chocolatey don’t implement custom sources like ruby or webpi. I needed web platform installer, so created win\_webpicmd in extras repo. PR is https://github.com/ansible/ansible-modules-extras/pull/438. I…

---

## [FYI: chocolatey changes](https://forum.ansible.com/t/fyi-chocolatey-changes/18101)

<div class="topic-metadata">

**Author:** [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 5:06pm UTC](https://forum.ansible.com/t/fyi-chocolatey-changes/18101 "2015-04-30T17:06:59Z")

</div>

There have been some changes in the latest version(s?) of chocolatey that break the win\_chocolatey module: It now prompts for confirmation of install/uninstall, The output is different. I have some local hacks t…

---

## [Developing python modules that include custom modules](https://forum.ansible.com/t/developing-python-modules-that-include-custom-modules/18119)

<div class="topic-metadata">

**Author:** [@Pavel\_Georgiev](https://forum.ansible.com/u/Pavel_Georgiev)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 11:43pm UTC](https://forum.ansible.com/t/developing-python-modules-that-include-custom-modules/18119 "2015-04-28T23:43:26Z")

</div>

Hello, I’m trying to create a python ansible module (using AnsibleModule), but I would like to reuse code that I already have in another python module without copy-pasting it in my ansible module. If I simply ‘import’ m…

---

## [V2 todo doc](https://forum.ansible.com/t/v2-todo-doc/18117)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 9:07pm UTC](https://forum.ansible.com/t/v2-todo-doc/18117 "2015-04-28T21:07:30Z")

</div>

Hi all, as mentioned a couple of weeks back here, we’re sharing our internal “V2 Todo” list. We’re keeping this on Google Docs for now, but have made it publically viewable: https://docs.google.com/document/d/1OAGI4rXOG…

---

## [Declare local file argument for module](https://forum.ansible.com/t/declare-local-file-argument-for-module/18090)

<div class="topic-metadata">

**Author:** [@Michail\_Alexakis](https://forum.ansible.com/u/Michail_Alexakis)\
**Replies:** 4\
**Last updated:** [April 27, 2015, 5:21pm UTC](https://forum.ansible.com/t/declare-local-file-argument-for-module/18090 "2015-04-27T17:21:01Z")

</div>

Hello list, I was trying to make my first steps writing an Ansible module (in Python). The main documentation is pretty clear, so i moved very smoothly using the AnsibleModule helper class. So far, i have been using o…

---

## [setuptools automatic script creation](https://forum.ansible.com/t/setuptools-automatic-script-creation/18091)

<div class="topic-metadata">

**Author:** [@Jason\_DeTiberus](https://forum.ansible.com/u/Jason_DeTiberus)\
**Replies:** 0\
**Last updated:** [April 27, 2015, 1:35am UTC](https://forum.ansible.com/t/setuptools-automatic-script-creation/18091 "2015-04-27T01:35:18Z")

</div>

As someone who is currently building an installer based on ansible, this would definitely make things cleaner for the wrapper interface.

---

## [Mocking ansible in python 3?](https://forum.ansible.com/t/mocking-ansible-in-python-3/18017)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 5\
**Last updated:** [April 21, 2015, 9:30pm UTC](https://forum.ansible.com/t/mocking-ansible-in-python-3/18017 "2015-04-21T21:30:38Z")

</div>

Hello, I read \[why not to upgrade to Python 3? #1409\]#1409). I want write code as python 3-compitable. But when I use my code and try to see python 3.x problem’s I see: Traceback (most recent call last): File "test\_…

---

## [GitHub workflow basics](https://forum.ansible.com/t/github-workflow-basics/18026)

<div class="topic-metadata">

**Author:** [@Tony\_Yarusso](https://forum.ansible.com/u/Tony_Yarusso)\
**Replies:** 2\
**Last updated:** [April 21, 2015, 1:14am UTC](https://forum.ansible.com/t/github-workflow-basics/18026 "2015-04-21T01:14:54Z")

</div>

Hi, I’m trying to get a handle on how GitHub is used. Do people normally create a separate branch of every issue they want to work on, or is there some way to specify which individual commits to include in a pull request…

---

## [ansible-su-pass doesn't work with vault](https://forum.ansible.com/t/ansible-su-pass-doesnt-work-with-vault/18019)

<div class="topic-metadata">

**Author:** [@Shanmukh](https://forum.ansible.com/u/Shanmukh)\
**Replies:** 2\
**Last updated:** [April 20, 2015, 2:23pm UTC](https://forum.ansible.com/t/ansible-su-pass-doesnt-work-with-vault/18019 "2015-04-20T14:23:29Z")

</div>

Hi, I am relatively new with Ansible. This is my requirement: I have a list of some thousand instances which i need to connect as ‘su’ user and run a playbook for these instances. For each instance I need to enter the p…

---

## [Accessing Previously Set Facts in a Module](https://forum.ansible.com/t/accessing-previously-set-facts-in-a-module/17934)

<div class="topic-metadata">

**Author:** [@Julian\_Berman](https://forum.ansible.com/u/Julian_Berman)\
**Replies:** 9\
**Last updated:** [April 17, 2015, 2:59pm UTC](https://forum.ansible.com/t/accessing-previously-set-facts-in-a-module/17934 "2015-04-17T14:59:33Z")

</div>

I apologize for asking this because I see a number of previous threads, but none of them hit exactly this point, or the answers don’t appear to have worked for me yet so I’m trying to figure out if I’m just completely mi…

---

## [Ansible Vault - Crypto JS implementation](https://forum.ansible.com/t/ansible-vault-crypto-js-implementation/18002)

<div class="topic-metadata">

**Author:** [@Jan\_Koprowski](https://forum.ansible.com/u/Jan_Koprowski)\
**Replies:** 0\
**Last updated:** [April 17, 2015, 9:07am UTC](https://forum.ansible.com/t/ansible-vault-crypto-js-implementation/18002 "2015-04-17T09:07:58Z")

</div>

Hi, Reviewing vaulted files is really painful process. I’ve tried to implement some Chrome, Gerrit focused solution. Idea behind it is have Chrome plugin encrypting selected content using configured password. Unfortu…

---

## [module\_utils/ec2.py Do we need the AWS\_REGION list](https://forum.ansible.com/t/module-utils-ec2-py-do-we-need-the-aws-region-list/17989)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 1\
**Last updated:** [April 16, 2015, 4:24pm UTC](https://forum.ansible.com/t/module-utils-ec2-py-do-we-need-the-aws-region-list/17989 "2015-04-16T16:24:10Z")

</div>

Fedora Infrastructure is using openstack with the ec2 compat layer and thus the region was being set to something local rather than the official aws regions. It looks like boto allows this via the BOTO\_ENDPOINTS envi…

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

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