# Ansible Developer

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

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

**Page:** 88

---

## [Plugin and Role for Server Density available for review](https://forum.ansible.com/t/plugin-and-role-for-server-density-available-for-review/15111)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas](https://forum.ansible.com/u/Jurgen_Haas)\
**Replies:** 0\
**Last updated:** [April 29, 2014, 9:18am UTC](https://forum.ansible.com/t/plugin-and-role-for-server-density-available-for-review/15111 "2014-04-29T09:18:45Z")

</div>

Over the past weeks I have developed a plugin for Server Density, a monitoring solution for inventories and services. This plugin is able to synchronize your Ansible inventory with your Server Density account and also ma…

---

## ["hostname" Module Does Not Work on RHEL 7](https://forum.ansible.com/t/hostname-module-does-not-work-on-rhel-7/15101)

<div class="topic-metadata">

**Author:** [@Dustin\_C\_Hatch](https://forum.ansible.com/u/Dustin_C_Hatch)\
**Replies:** 1\
**Last updated:** [April 28, 2014, 9:19pm UTC](https://forum.ansible.com/t/hostname-module-does-not-work-on-rhel-7/15101 "2014-04-28T21:19:42Z")

</div>

I've got some RHEL 7 machines already that need to be managed by Ansible. So far, the only problem I've found is that the "hostname" module fails to permanently set the hostname of the machine. This is because the HOS…

---

## [ec2\_vol repeatability](https://forum.ansible.com/t/ec2-vol-repeatability/15092)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 4\
**Last updated:** [April 27, 2014, 10:59pm UTC](https://forum.ansible.com/t/ec2-vol-repeatability/15092 "2014-04-27T22:59:24Z")

</div>

I just ran across the following in the module code while looking to see if it would do exactly this: # Note: this module needs to be made idempotent. Possible solution is to use resource tags with the volumes. # if sta…

---

## [module\_common has GPL notice](https://forum.ansible.com/t/module-common-has-gpl-notice/15084)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 1\
**Last updated:** [April 24, 2014, 2:28pm UTC](https://forum.ansible.com/t/module-common-has-gpl-notice/15084 "2014-04-24T14:28:10Z")

</div>

soo, I though this should be BSD licensed (i remember agreeing to allow for my code to be changed in license) but it shows a GPL license notice: lib/ansible/module\_common.py

---

## [module\_docs\_fragments gpl?](https://forum.ansible.com/t/module-docs-fragments-gpl/15083)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 2\
**Last updated:** [April 24, 2014, 2:25pm UTC](https://forum.ansible.com/t/module-docs-fragments-gpl/15083 "2014-04-24T14:25:56Z")

</div>

I’ve just notices that the existing 3 doc fragment files are GPL, I thought that any reusable module common code was BSD to allow for 3rd party modules to reuse these w/o license restrictions.

---

## [apt: upgrade=\[safe|full|dist\] seems to ignore "default\_release" parameter](https://forum.ansible.com/t/apt-upgrade-safe-full-dist-seems-to-ignore-default-release-parameter/15064)

<div class="topic-metadata">

**Author:** [@Ralph](https://forum.ansible.com/u/Ralph)\
**Replies:** 1\
**Last updated:** [April 22, 2014, 10:17pm UTC](https://forum.ansible.com/t/apt-upgrade-safe-full-dist-seems-to-ignore-default-release-parameter/15064 "2014-04-22T22:17:47Z")

</div>

Hello everybody! Here’s the thing! I add the Wheezy Backports repo to a newly provisioned VPS and want to do a safe-upgrade before doing anything else. My corresponding lines in the playbook look like this: name: Add…

---

## [Function get\_group\_variables() not working?](https://forum.ansible.com/t/function-get-group-variables-not-working/15040)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas](https://forum.ansible.com/u/Jurgen_Haas)\
**Replies:** 6\
**Last updated:** [April 22, 2014, 7:03pm UTC](https://forum.ansible.com/t/function-get-group-variables-not-working/15040 "2014-04-22T19:03:28Z")

</div>

It looks like the function get\_group\_variables() isn’t working. Here is some example code: from ansible import inventory inventory\_manager = inventory.Inventory(options.inventory) hv = inventory\_manager.get\_variables(…

---

## [Digest for ansible-devel@googlegroups.com - 1 update in 1 topic](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/15029)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 1\
**Last updated:** [April 15, 2014, 10:49pm UTC](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/15029 "2014-04-15T22:49:24Z")

</div>

This is not a question for the development list - please could you ask it on the ansible-project list which has many more readers and therefore contributors. When pasting output, run the ansible-playbook with -vvv. And …

---

## [Docker Inventory Module + Configuration](https://forum.ansible.com/t/docker-inventory-module-configuration/15027)

<div class="topic-metadata">

**Author:** [@Paul\_Durivage](https://forum.ansible.com/u/Paul_Durivage)\
**Replies:** 1\
**Last updated:** [April 15, 2014, 10:28pm UTC](https://forum.ansible.com/t/docker-inventory-module-configuration/15027 "2014-04-15T22:28:19Z")

</div>

Hey guys, I’m in the process of wrapping up on a Docker inventory plugin, but before I open a pull request, I wanted to check about something. Here’s a link for those interested: https://github.com/angstwad/ansible/tre…

---

## [Create a RDS mysql user using mysql\_user module](https://forum.ansible.com/t/create-a-rds-mysql-user-using-mysql-user-module/15000)

<div class="topic-metadata">

**Author:** [@prateek\_gupta](https://forum.ansible.com/u/prateek_gupta)\
**Replies:** 3\
**Last updated:** [April 15, 2014, 9:45pm UTC](https://forum.ansible.com/t/create-a-rds-mysql-user-using-mysql-user-module/15000 "2014-04-15T21:45:45Z")

</div>

Im trying to create a mysql user for the following #creating a sql user hosts: localhost tasks: #- name: test mysql\_user: host=abcde.us-west-2.rds.amazonaws.com login\_user=klm login\_password=msr123 name=sally passw…

---

## [No host limitation of ansible-pull](https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996)

<div class="topic-metadata">

**Author:** [@Chang-Ching\_Yeh](https://forum.ansible.com/u/Chang-Ching_Yeh)\
**Replies:** 1\
**Last updated:** [April 15, 2014, 9:44pm UTC](https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996 "2014-04-15T21:44:57Z")

</div>

Hi everyone, I wrote a play and put it on a private repository. I try to execute it through ansible-pull -U http://gitlab.mydomain.com/jim/ansible-books.git -i hosts unittest\_automation.yml But I got an error return:…

---

## [mysql\_user module doesnt work for RDS](https://forum.ansible.com/t/mysql-user-module-doesnt-work-for-rds/15017)

<div class="topic-metadata">

**Author:** [@prateek\_gupta](https://forum.ansible.com/u/prateek_gupta)\
**Replies:** 0\
**Last updated:** [April 15, 2014, 11:21am UTC](https://forum.ansible.com/t/mysql-user-module-doesnt-work-for-rds/15017 "2014-04-15T11:21:15Z")

</div>

hi this my following code and output but the user is not getting created in the RDS

---

## [Creating a GCE instance from a snapshot](https://forum.ansible.com/t/creating-a-gce-instance-from-a-snapshot/14871)

<div class="topic-metadata">

**Author:** [@Chris\_Conway](https://forum.ansible.com/u/Chris_Conway)\
**Replies:** 4\
**Last updated:** [April 14, 2014, 1:44am UTC](https://forum.ansible.com/t/creating-a-gce-instance-from-a-snapshot/14871 "2014-04-14T01:44:49Z")

</div>

I’m trying to figure out how to create a GCE image with a persistent boot disk from a snapshot. At the API level, this is just: a POST to /disks with snapshotSource set, and a POST to /instances with a reference to the n…

---

## [Potential bug/solution with Inventory.groups\_list()](https://forum.ansible.com/t/potential-bug-solution-with-inventory-groups-list/14994)

<div class="topic-metadata">

**Author:** [@Taylor\_Barstow](https://forum.ansible.com/u/Taylor_Barstow)\
**Replies:** 4\
**Last updated:** [April 13, 2014, 11:48pm UTC](https://forum.ansible.com/t/potential-bug-solution-with-inventory-groups-list/14994 "2014-04-13T23:48:48Z")

</div>

Hello list! I think I have found a bug which causes the magic “groups” variable to contain duplicate host names (same name multiple times in a single group), when using an inventory directory (-i dirname). I read the c…

---

## [VPC subnets ec2\_elb\_lb](https://forum.ansible.com/t/vpc-subnets-ec2-elb-lb/14981)

<div class="topic-metadata">

**Author:** [@Michael\_Buzzetti](https://forum.ansible.com/u/Michael_Buzzetti)\
**Replies:** 0\
**Last updated:** [April 9, 2014, 3:56pm UTC](https://forum.ansible.com/t/vpc-subnets-ec2-elb-lb/14981 "2014-04-09T15:56:01Z")

</div>

I noticed that there was no support for VPC subnets in ec2\_elb\_lb. It has been talked about before when security groups where added. I added this support in the following pull request. https://github.com/ansible/ansib…

---

## [Optimizing inventory parsing: vars\_plugins need some love](https://forum.ansible.com/t/optimizing-inventory-parsing-vars-plugins-need-some-love/14746)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 7\
**Last updated:** [April 9, 2014, 1:30pm UTC](https://forum.ansible.com/t/optimizing-inventory-parsing-vars-plugins-need-some-love/14746 "2014-04-09T13:30:25Z")

</div>

Hi, I have been diving into the Inventory the last couple of days, and for part of that I wrote a script to dump my - mostly dir/ini based - inventory into a json set that follows the api for dynamic inventory. This mad…

---

## [global role hooks](https://forum.ansible.com/t/global-role-hooks/14955)

<div class="topic-metadata">

**Author:** [@dmitry.a.burmistrov](https://forum.ansible.com/u/dmitry.a.burmistrov)\
**Replies:** 1\
**Last updated:** [April 7, 2014, 4:18pm UTC](https://forum.ansible.com/t/global-role-hooks/14955 "2014-04-07T16:18:12Z")

</div>

I have role, I run playbook. It finished successfully, and I want to make some post-role action (like set some flags in other system, put file or etc). In this case the behavior is predictable (I have task in playbook). …

---

## [bash\_completion issues and some ideas](https://forum.ansible.com/t/bash-completion-issues-and-some-ideas/14945)

<div class="topic-metadata">

**Author:** [@dmitry.a.burmistrov](https://forum.ansible.com/u/dmitry.a.burmistrov)\
**Replies:** 10\
**Last updated:** [April 7, 2014, 4:17pm UTC](https://forum.ansible.com/t/bash-completion-issues-and-some-ideas/14945 "2014-04-07T16:17:23Z")

</div>

Hello Ansible team! I’m having great time with Ansible and I want make my experience (and Ansible) better. My story is related with administrating over 500 nodes with legacy and hacks, so I can’t do everything “The rig…

---

## [feature request: host\_key\_checking offered as 'ansible\_host\_key\_checking' option](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935)

<div class="topic-metadata">

**Author:** [@Gallagher\_Polyn](https://forum.ansible.com/u/Gallagher_Polyn)\
**Replies:** 3\
**Last updated:** [April 4, 2014, 5:40pm UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935 "2014-04-04T17:40:45Z")

</div>

Enabling host\_key\_checking as ‘ansible\_host\_key\_checking’, like several other remote user config options (e.g., ansible\_ssh\_user) could simplify development workflows when MITM attacks are not of concern. For example, a …

---

## [generate ascii graph of topology based on inventory](https://forum.ansible.com/t/generate-ascii-graph-of-topology-based-on-inventory/14669)

<div class="topic-metadata">

**Author:** [@Trevor\_Hartman](https://forum.ansible.com/u/Trevor_Hartman)\
**Replies:** 32\
**Last updated:** [April 4, 2014, 7:07am UTC](https://forum.ansible.com/t/generate-ascii-graph-of-topology-based-on-inventory/14669 "2014-04-04T07:07:04Z")

</div>

I think it’d be useful/interesting to generate an ascii graph of topology based on the configured inventory. Assuming this doesn’t exist already, if I contributed this feature, what are the chances it’d be accepted?

---

## [Add vars\_prompt: to pause module](https://forum.ansible.com/t/add-vars-prompt-to-pause-module/13556)

<div class="topic-metadata">

**Author:** [@Javier\_Candeira](https://forum.ansible.com/u/Javier_Candeira)\
**Replies:** 5\
**Last updated:** [April 3, 2014, 10:23pm UTC](https://forum.ansible.com/t/add-vars-prompt-to-pause-module/13556 "2014-04-03T22:23:44Z")

</div>

I was about to open an issue that the prompt to vars\_prompt did not interpolate my variables. Then, after doing a couple more tests, I realised it is because vars\_prompt runs very early, before even setup does. There…

---

## [Improved bash modules support](https://forum.ansible.com/t/improved-bash-modules-support/14886)

<div class="topic-metadata">

**Author:** [@Guy\_Sabourin](https://forum.ansible.com/u/Guy_Sabourin)\
**Replies:** 6\
**Last updated:** [April 3, 2014, 4:58pm UTC](https://forum.ansible.com/t/improved-bash-modules-support/14886 "2014-04-03T16:58:42Z")

</div>

In order to appeal to sysadmins that really want modules in bash instead of python, I made some local changes to ansible to improve bash support. Because these changes are working out well I’d like to share them with the…

---

## [Openstack modules](https://forum.ansible.com/t/openstack-modules/14573)

<div class="topic-metadata">

**Author:** [@Koert\_van\_der\_Veer](https://forum.ansible.com/u/Koert_van_der_Veer)\
**Replies:** 16\
**Last updated:** [April 3, 2014, 1:16pm UTC](https://forum.ansible.com/t/openstack-modules/14573 "2014-04-03T13:16:14Z")

</div>

I’d like to overhaul the openstack modules, fixing bugs, adding features and making them easier to use. Before I do so, however, I’d like to discuss my proposed changes so they don’t conflict with existing roadmaps (if a…

---

## [GPG support in ansible-vault](https://forum.ansible.com/t/gpg-support-in-ansible-vault/14806)

<div class="topic-metadata">

**Author:** [@Sam\_Wilson](https://forum.ansible.com/u/Sam_Wilson)\
**Replies:** 6\
**Last updated:** [April 2, 2014, 8:35pm UTC](https://forum.ansible.com/t/gpg-support-in-ansible-vault/14806 "2014-04-02T20:35:18Z")

</div>

Hi list! After seeing the 1.5 release of ansible-vault I immediately wanted it to support GPG so that we can avoid sharing a pre-shared key amongst admins and instead use the existing GPG keys. As such I have spent a f…

---

## [Distro specific integration tests](https://forum.ansible.com/t/distro-specific-integration-tests/14926)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 1\
**Last updated:** [April 2, 2014, 8:21pm UTC](https://forum.ansible.com/t/distro-specific-integration-tests/14926 "2014-04-02T20:21:48Z")

</div>

Hi, I was going to put together some tests for the new debconf module. These will be Debian/Ubuntu specific. Should I put them in the non-destructive integration tests and make them skip if the distro isn’t Debian base…

---

## [\#6796 - fix for mysql\_db import and dumps.](https://forum.ansible.com/t/6796-fix-for-mysql-db-import-and-dumps/14911)

<div class="topic-metadata">

**Author:** [@Chao\_Luan](https://forum.ansible.com/u/Chao_Luan)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 10:55pm UTC](https://forum.ansible.com/t/6796-fix-for-mysql-db-import-and-dumps/14911 "2014-04-01T22:55:49Z")

</div>

Hi, Ran into an issue with the latest 1.5.3 ansible release where the mysql\_db module was failing for database dumps and imports. After some head scratching, I found that the password was being quoted twice if I was us…

---

## [Very Basic Module](https://forum.ansible.com/t/very-basic-module/14891)

<div class="topic-metadata">

**Author:** [@Craig\_Mason-Jones](https://forum.ansible.com/u/Craig_Mason-Jones)\
**Replies:** 2\
**Last updated:** [March 29, 2014, 3:55pm UTC](https://forum.ansible.com/t/very-basic-module/14891 "2014-03-29T15:55:56Z")

</div>

Hi all, I’m a module developer newbie, so have started trying to write a very small module that will decrypt a file onto a target machine. I began by copying the ‘copy’ module: #!/usr/bin/python -- coding: utf-8 -- im…

---

## [Determining unreachable vs error when using the raw module](https://forum.ansible.com/t/determining-unreachable-vs-error-when-using-the-raw-module/14868)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating](https://forum.ansible.com/u/Jesse_Keating)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 11:53pm UTC](https://forum.ansible.com/t/determining-unreachable-vs-error-when-using-the-raw-module/14868 "2014-03-26T23:53:33Z")

</div>

In our environment, we try to be tolerant of systems in our inventory that are unreachable, as with an inventory of our size we constantly have new ones going MIA. In our deployments we really care about errors on the ho…

---

## [Gulp module appetite](https://forum.ansible.com/t/gulp-module-appetite/14865)

<div class="topic-metadata">

**Author:** [@Joe\_M](https://forum.ansible.com/u/Joe_M)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 11:43pm UTC](https://forum.ansible.com/t/gulp-module-appetite/14865 "2014-03-26T23:43:11Z")

</div>

I’m curious what the ansible’s and the community’s for a module that is used for executing gulp tasks when deploying a web project. Interested to hear everyone’s opinions and thoughts.

---

## [\[RFC\] Addition of 'interpolate' mode to hash\_behaviour](https://forum.ansible.com/t/rfc-addition-of-interpolate-mode-to-hash-behaviour/14866)

<div class="topic-metadata">

**Author:** [@David\_McBride](https://forum.ansible.com/u/David_McBride)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 11:37pm UTC](https://forum.ansible.com/t/rfc-addition-of-interpolate-mode-to-hash-behaviour/14866 "2014-03-26T23:37:56Z")

</div>

Hi, I've implemented an additional 'interpolate' mode to augment the existing 'replace' and 'merge' modes of hash\_behaviour in Ansible. - Motivation An issue that affects our local adoption of Ansible is that it does…

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

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