# Ansible Developer

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

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

**Page:** 56

---

## [Support for adding security groups in AWS](https://forum.ansible.com/t/support-for-adding-security-groups-in-aws/22176)

<div class="topic-metadata">

**Author:** [@jduv](https://forum.ansible.com/u/jduv)\
**Replies:** 0\
**Last updated:** [August 1, 2016, 4:24am UTC](https://forum.ansible.com/t/support-for-adding-security-groups-in-aws/22176 "2016-08-01T04:24:38Z")

</div>

Hi all, I’m considering either a new module or modifications to an existing module for assigning a security group to an AWS instance given a VPC. This looks like a bug that was filed quite a while ago: https://github.co…

---

## [new module for ansible-modules-extras - chage](https://forum.ansible.com/t/new-module-for-ansible-modules-extras-chage/22171)

<div class="topic-metadata">

**Author:** [@John\_Buxton](https://forum.ansible.com/u/John_Buxton)\
**Replies:** 0\
**Last updated:** [July 30, 2016, 1:16pm UTC](https://forum.ansible.com/t/new-module-for-ansible-modules-extras-chage/22171 "2016-07-30T13:16:15Z")

</div>

Hello, I have a module which I would like to contribute to ansible-modules-extras. I would also be happy to play a role in supporting this module in the future. The Ansible community information page suggests it’s best…

---

## [Ansible Contributor Summit (27 July) - Information and remote participation details](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22094)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron2](https://forum.ansible.com/u/Robyn_Bergeron2)\
**Replies:** 3\
**Last updated:** [July 29, 2016, 8:22pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22094 "2016-07-29T20:22:03Z")

</div>

Greetings! In case you haven’t heard: The Ansible Contributor Summit will be happening this coming Wednesday, 27 July, the day before AnsibleFest in San Francisco. Similar to our last Contributor Summit, we’ll be having…

---

## [Issue while running ansible-playbook.](https://forum.ansible.com/t/issue-while-running-ansible-playbook/22133)

<div class="topic-metadata">

**Author:** [@navdeep\_uniyal](https://forum.ansible.com/u/navdeep_uniyal)\
**Replies:** 1\
**Last updated:** [July 29, 2016, 11:40am UTC](https://forum.ansible.com/t/issue-while-running-ansible-playbook/22133 "2016-07-29T11:40:02Z")

</div>

I am very new to ansible and have been trying to deploy a VM on openstack testbed using ansible. I am getting the error: “fatal: \[localhost\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “python-novaclient is req…

---

## [\[PR\]\[ansible-modules-extras\]\[shippable\] shippable containers seem to be missing python2.4](https://forum.ansible.com/t/pr-ansible-modules-extras-shippable-shippable-containers-seem-to-be-missing-python2-4/22138)

<div class="topic-metadata">

**Author:** [@boukili.olivier](https://forum.ansible.com/u/boukili.olivier)\
**Replies:** 1\
**Last updated:** [July 28, 2016, 5:03am UTC](https://forum.ansible.com/t/pr-ansible-modules-extras-shippable-shippable-containers-seem-to-be-missing-python2-4/22138 "2016-07-28T05:03:29Z")

</div>

Hi, I’ve got an ansible-modules-extras PR whose shippable builds always fail due to python2.4 not being installed on those shippable containers (builds fine on travis-ci’s): python2.4 -m compileall -fq -x ‘cloud/|monit…

---

## [Ansible module to run window service](https://forum.ansible.com/t/ansible-module-to-run-window-service/22102)

<div class="topic-metadata">

**Author:** [@HY1](https://forum.ansible.com/u/HY1)\
**Replies:** 5\
**Last updated:** [July 27, 2016, 11:46pm UTC](https://forum.ansible.com/t/ansible-module-to-run-window-service/22102 "2016-07-27T23:46:42Z")

</div>

Hello, I’m very new to Ansible. I noticed that there is a win\_service module to create window service but none to run a window service. I have a powershell script to do that. Is it better to create a new module or integ…

---

## [Improving default output](https://forum.ansible.com/t/improving-default-output/22123)

<div class="topic-metadata">

**Author:** [@James\_Pic](https://forum.ansible.com/u/James_Pic)\
**Replies:** 1\
**Last updated:** [July 26, 2016, 1:54pm UTC](https://forum.ansible.com/t/improving-default-output/22123 "2016-07-26T13:54:32Z")

</div>

Hi all ! When supporting openshift-ansible, users share pastes like (ie. on IRC):: TASK: \[openshift\_serviceaccounts | Grant the user access to the privileged scc\] \*\*\* changed: \[li1491-86.members.linode.com\] =\> (item=\[…

---

## [Ansile Return Value](https://forum.ansible.com/t/ansile-return-value/22106)

<div class="topic-metadata">

**Author:** [@Kevin-Ian\_Giermann](https://forum.ansible.com/u/Kevin-Ian_Giermann)\
**Replies:** 0\
**Last updated:** [July 25, 2016, 6:24am UTC](https://forum.ansible.com/t/ansile-return-value/22106 "2016-07-25T06:24:45Z")

</div>

Hey guys, i’ve got a question. So we are currently using Ansible in conjunction with OpenStack. i’ve written a playbook (to deploy new server via OpenStack) where i use the module “os\_server” where i use “auto\_ip: yes…

---

## [vSphere guest support for Guest Customizations.](https://forum.ansible.com/t/vsphere-guest-support-for-guest-customizations/22060)

<div class="topic-metadata">

**Author:** [@John\_Smith1](https://forum.ansible.com/u/John_Smith1)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 2:59pm UTC](https://forum.ansible.com/t/vsphere-guest-support-for-guest-customizations/22060 "2016-07-22T14:59:55Z")

</div>

Hello, is there any chance that the vSphere\_guest module will add support for Guest Customization? For instance in vCenter for Windows VMs we can create different customization profiles that allow us to setup the hostna…

---

## [How to write Ansible modules](https://forum.ansible.com/t/how-to-write-ansible-modules/21742)

<div class="topic-metadata">

**Author:** [@Mark\_Maglana](https://forum.ansible.com/u/Mark_Maglana)\
**Replies:** 5\
**Last updated:** [July 22, 2016, 1:25pm UTC](https://forum.ansible.com/t/how-to-write-ansible-modules/21742 "2016-07-22T13:25:08Z")

</div>

I'd like to share my notes on writing modules: http://www.relaxdiego.com/2016/06/writing-ansible-modules-with-tests.html Hoping to get some feedback on it.

---

## [callback plugin Task obj changes](https://forum.ansible.com/t/callback-plugin-task-obj-changes/21833)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 4:11am UTC](https://forum.ansible.com/t/callback-plugin-task-obj-changes/21833 "2016-07-22T04:11:43Z")

</div>

With 2.0, in my callback plugin, I could access the task\_vars like: def v2\_playbook\_on\_task\_start(self, task, is\_conditional): task\_vars = task.get\_vars() feature = task\_vars.get('feature',None) if feature is not None: …

---

## [\[Regression\] Implicit localhost with --limit not working in 2.x](https://forum.ansible.com/t/regression-implicit-localhost-with-limit-not-working-in-2-x/22082)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic1](https://forum.ansible.com/u/Strahinja_Kustudic1)\
**Replies:** 0\
**Last updated:** [July 21, 2016, 9:52pm UTC](https://forum.ansible.com/t/regression-implicit-localhost-with-limit-not-working-in-2-x/22082 "2016-07-21T21:52:34Z")

</div>

It is a very common thing in rolling updates playbooks to run a few tasks on localhost (on the control machine) e.g. to set maintenance in monitoring, to prepare something, etc. So a playbook like this is very common: \` …

---

## [OpenSwitch Ansible user with non-bash access](https://forum.ansible.com/t/openswitch-ansible-user-with-non-bash-access/22063)

<div class="topic-metadata">

**Author:** [@Ganesh\_Ragavan](https://forum.ansible.com/u/Ganesh_Ragavan)\
**Replies:** 1\
**Last updated:** [July 21, 2016, 12:10am UTC](https://forum.ansible.com/t/openswitch-ansible-user-with-non-bash-access/22063 "2016-07-21T00:10:11Z")

</div>

Hi, We have been using Ansible playbooks to configure OpenSwitch using the ops\_template module. For this we have been using admin account that has access to the bash prompt in the OpenSwitch and it has been working fine…

---

## [\[feat req\] Improving set\_fact scoping and lifetime](https://forum.ansible.com/t/feat-req-improving-set-fact-scoping-and-lifetime/22065)

<div class="topic-metadata">

**Author:** [@Danny\_Kimsey](https://forum.ansible.com/u/Danny_Kimsey)\
**Replies:** 0\
**Last updated:** [July 20, 2016, 7:01pm UTC](https://forum.ansible.com/t/feat-req-improving-set-fact-scoping-and-lifetime/22065 "2016-07-20T19:01:04Z")

</div>

tl;dr Add a scope parameter to set\_fact module, improving usability. The current behavior of set\_fact is to create a run-time only variable, in 2.x with private\_role\_vars this variable is scoped(\*) to the role it is def…

---

## [replace a word in a file with o/p of command](https://forum.ansible.com/t/replace-a-word-in-a-file-with-o-p-of-command/21733)

<div class="topic-metadata">

**Author:** [@pallaveet](https://forum.ansible.com/u/pallaveet)\
**Replies:** 2\
**Last updated:** [July 19, 2016, 5:58pm UTC](https://forum.ansible.com/t/replace-a-word-in-a-file-with-o-p-of-command/21733 "2016-07-19T17:58:35Z")

</div>

Hi, I have a file in which i need to replace worrd with hostname of my machine. I am trying below code and getting error. Pls let me know ho can i do this … i am new to ansible name: hostame shell: hostname regi…

---

## [Lost item in hash when call it in include task file....](https://forum.ansible.com/t/lost-item-in-hash-when-call-it-in-include-task-file/22047)

<div class="topic-metadata">

**Author:** [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Replies:** 0\
**Last updated:** [July 19, 2016, 12:36pm UTC](https://forum.ansible.com/t/lost-item-in-hash-when-call-it-in-include-task-file/22047 "2016-07-19T12:36:06Z")

</div>

Hi, I lost all hash variable & data when i call hash var in include file (with\_items only)… Exemple: host\_vars : mysql\_instances: port: ‘XXXX’ mysql\_databases: database: “XXXX” encoding: “utf8” mysql\_user: name:…

---

## [Include none python files to module](https://forum.ansible.com/t/include-none-python-files-to-module/22029)

<div class="topic-metadata">

**Author:** [@Simon\_Lindgren](https://forum.ansible.com/u/Simon_Lindgren)\
**Replies:** 0\
**Last updated:** [July 15, 2016, 1:07pm UTC](https://forum.ansible.com/t/include-none-python-files-to-module/22029 "2016-07-15T13:07:12Z")

</div>

I’m writing my own module to ansible and part of the code can’t be in python as the software i’m working against does not have a python api. It does support groovy so I included a groovy script but in the module director…

---

## [Core mount module Solaris support](https://forum.ansible.com/t/core-mount-module-solaris-support/22020)

<div class="topic-metadata">

**Author:** [@Clint\_Allen](https://forum.ansible.com/u/Clint_Allen)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 7:45pm UTC](https://forum.ansible.com/t/core-mount-module-solaris-support/22020 "2016-07-14T19:45:17Z")

</div>

I have added Solaris support to the core mount module: https://github.com/clallen/ansible-modules-core/blob/devel/system/mount.py I have used it in my own playbooks and ran the module test. I would like to submit a pul…

---

## [OpenSSL (Private Keys, CSR, Certificates) management - Request for feedbacks](https://forum.ansible.com/t/openssl-private-keys-csr-certificates-management-request-for-feedbacks/21605)

<div class="topic-metadata">

**Author:** [@Yanis\_Guenane](https://forum.ansible.com/u/Yanis_Guenane)\
**Replies:** 1\
**Last updated:** [July 14, 2016, 2:33pm UTC](https://forum.ansible.com/t/openssl-private-keys-csr-certificates-management-request-for-feedbacks/21605 "2016-07-14T14:33:53Z")

</div>

Hello the Ansible Community, After looking into ansible-modules-core\[1\] and ansible-modules-extras\[2\], I’ve seen no current modules for managing OpenSSL private keys, certificate signing requests and certificates. He…

---

## [Executing similar task on group of servers with different parameter](https://forum.ansible.com/t/executing-similar-task-on-group-of-servers-with-different-parameter/22016)

<div class="topic-metadata">

**Author:** [@Gurumurti\_Maharana](https://forum.ansible.com/u/Gurumurti_Maharana)\
**Replies:** 2\
**Last updated:** [July 14, 2016, 2:18pm UTC](https://forum.ansible.com/t/executing-similar-task-on-group-of-servers-with-different-parameter/22016 "2016-07-14T14:18:54Z")

</div>

Hi All , I need to execute same task parallelly of multiple hosts with different arguments based on host machine. for example: I want to install specific webservice service with id web1 , web2 web3 etc. I have create…

---

## [callback plugin api; are there changes between v2.0 and v.2.1.1?](https://forum.ansible.com/t/callback-plugin-api-are-there-changes-between-v2-0-and-v-2-1-1/21830)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [July 13, 2016, 2:01pm UTC](https://forum.ansible.com/t/callback-plugin-api-are-there-changes-between-v2-0-and-v-2-1-1/21830 "2016-07-13T14:01:58Z")

</div>

Hi, I’ve been testing with ansible 2.1.1 rc1 this week and have hit a problem with my custom callback plugin (that gets kerberos tickets for connecting to windows hosts). The callback code is here: https://github.com/j…

---

## [Enhancing win\_msi capabilities](https://forum.ansible.com/t/enhancing-win-msi-capabilities/21997)

<div class="topic-metadata">

**Author:** [@Shachaf\_Goldstein](https://forum.ansible.com/u/Shachaf_Goldstein)\
**Replies:** 1\
**Last updated:** [July 12, 2016, 10:24pm UTC](https://forum.ansible.com/t/enhancing-win-msi-capabilities/21997 "2016-07-12T22:24:32Z")

</div>

Hey, I started to use ansible to deploy an msi packaged software on our windows servers. While doing so, I came up with some ideas on how to improve the win\_msi module. Allowing the option to insert a registry key a…

---

## [Invitation to the Second Ansible Contributor Summit](https://forum.ansible.com/t/invitation-to-the-second-ansible-contributor-summit/21950)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 2:48pm UTC](https://forum.ansible.com/t/invitation-to-the-second-ansible-contributor-summit/21950 "2016-07-07T14:48:41Z")

</div>

We will be holding our second Ansible Contributor Summit on the day before AnsibleFest San Francisco (https://www.ansible.com/ansiblefest), and you are invited to participate! The Summit will take place at 335 Powell …

---

## [How to use display.vvv in an Ansible module?](https://forum.ansible.com/t/how-to-use-display-vvv-in-an-ansible-module/21732)

<div class="topic-metadata">

**Author:** [@Hiroaki\_Nakamura](https://forum.ansible.com/u/Hiroaki_Nakamura)\
**Replies:** 3\
**Last updated:** [July 7, 2016, 12:40pm UTC](https://forum.ansible.com/t/how-to-use-display-vvv-in-an-ansible-module/21732 "2016-07-07T12:40:15Z")

</div>

Hi all, I'm creating the lxd\_container module and would like to use display.vvv for debug prints. https://github.com/ansible/ansible-modules-extras/pull/2208 I copied code in some module, but nothing was printed. Co…

---

## [Action plugin: Delegate task to different host](https://forum.ansible.com/t/action-plugin-delegate-task-to-different-host/21916)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 1\
**Last updated:** [July 4, 2016, 1:48pm UTC](https://forum.ansible.com/t/action-plugin-delegate-task-to-different-host/21916 "2016-07-04T13:48:49Z")

</div>

Holla! I have an action plugin that will run some modules on the target host per self.\_execute\_module(…) Now I want one single module to be delegated to a different host.\* The name of this host is a parameter of my cus…

---

## [How to run multiple playbooks in parallel? Async and poll don't seem to support "Include playbook"](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21912)

<div class="topic-metadata">

**Author:** [@Shruti\_Kembhavi](https://forum.ansible.com/u/Shruti_Kembhavi)\
**Replies:** 1\
**Last updated:** [July 4, 2016, 8:09am UTC](https://forum.ansible.com/t/how-to-run-multiple-playbooks-in-parallel-async-and-poll-dont-seem-to-support-include-playbook/21912 "2016-07-04T08:09:25Z")

</div>

How to run multiple playbooks in parallel? Async and poll don’t seem to support “Include playbook” I want to do something like include: …/abc.yml async: 500 poll: 0 tags: \[abc\] include: …/xyz.yml async: 500 …

---

## [emacs inventory-generic-mode](https://forum.ansible.com/t/emacs-inventory-generic-mode/21702)

<div class="topic-metadata">

**Author:** [@Tim\_Chambers](https://forum.ansible.com/u/Tim_Chambers)\
**Replies:** 8\
**Last updated:** [June 30, 2016, 7:42pm UTC](https://forum.ansible.com/t/emacs-inventory-generic-mode/21702 "2016-06-30T19:42:44Z")

</div>

I got inspired by ini-generic-mode today. (define-generic-mode inventory-generic-mode '(?#) nil '((“^\\(\\\[.\\\]\\)" 1 font-lock-constant-face) ("^\\(\[^=\\n\\r\]\\)=\\(\[^\\n\\r\]\\)$" (1 font-lock-function-name-face) (2 font-loc…

---

## [About Inventory](https://forum.ansible.com/t/about-inventory/21886)

<div class="topic-metadata">

**Author:** [@user12](https://forum.ansible.com/u/user12)\
**Replies:** 2\
**Last updated:** [June 29, 2016, 10:37am UTC](https://forum.ansible.com/t/about-inventory/21886 "2016-06-29T10:37:40Z")

</div>

I’am a beginning user of Ansible,One problem has been bothering me： whether all host must be add into a single file with “hosts”? if i have a lots of host,It will lead to very large files,How to divide into multiple fil…

---

## [\[RFC\] - Migrating ansible's paramiko SSH client to asynchronous parallel SSH client](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672)

<div class="topic-metadata">

**Author:** [@Dan9](https://forum.ansible.com/u/Dan9)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 11:17pm UTC](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672 "2016-06-28T23:17:05Z")

</div>

Hello dev list, Many thanks for your efforts on ansible, very useful tool. Have a new feature I’d like to work on that would like to float by you for comments and if it sounds like a good feature to implement before su…

---

## [how can i use delegate\_to with special connection plugin](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872)

<div class="topic-metadata">

**Author:** [@Fans\_Miea](https://forum.ansible.com/u/Fans_Miea)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 7:48am UTC](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872 "2016-06-28T07:48:29Z")

</div>

i rewrite the connection plugin, and i can use it with name: check version shell: sudo -u admin rpm -q tair | grep -v {{ version }} but when i use it like name: check version shell: sudo -u admin rpm -q tair | gre…

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

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