# Ansible Developer

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

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

**Page:** 61

---

## [Custom Module: Adding module for 'atomic' command for Atomic Host Platforms](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967)

<div class="topic-metadata">

**Author:** [@Saravanan\_KR](https://forum.ansible.com/u/Saravanan_KR)\
**Replies:** 0\
**Last updated:** [March 23, 2016, 12:24pm UTC](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967 "2016-03-23T12:24:14Z")

</div>

Hello, I am using Atomic Host Platforms and found a important utility missing - ‘atomic’ command. As you might be aware, the Atomic Host is a restricted platform to run only containers and atomic command provides ways t…

---

## [AWS modules and --diff](https://forum.ansible.com/t/aws-modules-and-diff/20834)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 3\
**Last updated:** [March 22, 2016, 5:31pm UTC](https://forum.ansible.com/t/aws-modules-and-diff/20834 "2016-03-22T17:31:06Z")

</div>

A couple of AWS modules don't do anything useful with --diff, and it'd be great if they did -- ec2\_group and ec2\_elb\_lb are the two in particular that we use a lot. I didn't see a feature request ticket for this; shoul…

---

## [outputting result of boto call](https://forum.ansible.com/t/outputting-result-of-boto-call/20910)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 2\
**Last updated:** [March 22, 2016, 5:29pm UTC](https://forum.ansible.com/t/outputting-result-of-boto-call/20910 "2016-03-22T17:29:17Z")

</div>

Writing my first module, first python, first use of boto. Running my module via test-module, almost works, but to troubleshoot I need to see what a boto call is returning. My boto call below. How can I “print” gacg wit…

---

## [Running Ansible playbooks as www-data](https://forum.ansible.com/t/running-ansible-playbooks-as-www-data/20948)

<div class="topic-metadata">

**Author:** [@Ryan\_Gray](https://forum.ansible.com/u/Ryan_Gray)\
**Replies:** 2\
**Last updated:** [March 22, 2016, 11:33am UTC](https://forum.ansible.com/t/running-ansible-playbooks-as-www-data/20948 "2016-03-22T11:33:51Z")

</div>

Greetings, I’m writing some web based system management utilities. Having the application fire ansible playbooks seems perfect and a natural direction to go. PHP-Ansible (https://github.com/maschmann/php-ansible) works …

---

## [Module to determine home directory for a named user](https://forum.ansible.com/t/module-to-determine-home-directory-for-a-named-user/20924)

<div class="topic-metadata">

**Author:** [@Gordon\_Mckeown](https://forum.ansible.com/u/Gordon_Mckeown)\
**Replies:** 2\
**Last updated:** [March 18, 2016, 9:05pm UTC](https://forum.ansible.com/t/module-to-determine-home-directory-for-a-named-user/20924 "2016-03-18T21:05:14Z")

</div>

Hi all, Have started playing around with Ansible over the last couple of days, and as part of my playbook to set up a new server I wanted to copy files to the home directories of some specific users. I couldn’t find an …

---

## [Add my module to ansible facts](https://forum.ansible.com/t/add-my-module-to-ansible-facts/20903)

<div class="topic-metadata">

**Author:** [@Aarat\_Nathwani](https://forum.ansible.com/u/Aarat_Nathwani)\
**Replies:** 1\
**Last updated:** [March 17, 2016, 12:48pm UTC](https://forum.ansible.com/t/add-my-module-to-ansible-facts/20903 "2016-03-17T12:48:51Z")

</div>

Hi, This is my first post and sorry if I sound silly or don’t know the protocols I have created a small module which checks if the server needs reboot and returns reboot\_required as true or false. How do I contribute i…

---

## [how to share custom plugins with the community](https://forum.ansible.com/t/how-to-share-custom-plugins-with-the-community/20851)

<div class="topic-metadata">

**Author:** [@John\_Buxton](https://forum.ansible.com/u/John_Buxton)\
**Replies:** 16\
**Last updated:** [March 16, 2016, 2:31pm UTC](https://forum.ansible.com/t/how-to-share-custom-plugins-with-the-community/20851 "2016-03-16T14:31:42Z")

</div>

Hello, I’ve written a simple action plugin to import csv file data on the management machine into a variable in a playbook. I’d like to be able to share this with the community but it seems that Ansible Galaxy is only …

---

## [How should we handle module PRs that reach "shipit" and are then rejected?](https://forum.ansible.com/t/how-should-we-handle-module-prs-that-reach-shipit-and-are-then-rejected/20864)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 6\
**Last updated:** [March 15, 2016, 5:15pm UTC](https://forum.ansible.com/t/how-should-we-handle-module-prs-that-reach-shipit-and-are-then-rejected/20864 "2016-03-15T17:15:56Z")

</div>

In our current process, PRs submitted by Maintainers go directly to "shipit" state, because we assume that Maintainers know their own modules best, and we give them broad leeway to maintain those modules as they see f…

---

## [Handling Windows Local Admin Passwords in Ansible?](https://forum.ansible.com/t/handling-windows-local-admin-passwords-in-ansible/19801)

<div class="topic-metadata">

**Author:** [@Joel\_Thompson](https://forum.ansible.com/u/Joel_Thompson)\
**Replies:** 5\
**Last updated:** [March 15, 2016, 4:38pm UTC](https://forum.ansible.com/t/handling-windows-local-admin-passwords-in-ansible/19801 "2016-03-15T16:38:50Z")

</div>

Hi Everyone, I wanted to hear your thoughts about some of the pain points I’ve seen around handling Windows local admin passwords in Ansible. My primary use case is with AWS, though many of these concepts would apply be…

---

## [Enable Private networking through ansible in digital neworking](https://forum.ansible.com/t/enable-private-networking-through-ansible-in-digital-neworking/20873)

<div class="topic-metadata">

**Author:** [@Murugan\_Pandian](https://forum.ansible.com/u/Murugan_Pandian)\
**Replies:** 0\
**Last updated:** [March 15, 2016, 12:20pm UTC](https://forum.ansible.com/t/enable-private-networking-through-ansible-in-digital-neworking/20873 "2016-03-15T12:20:45Z")

</div>

Hi, Private networking is not working through ansible in digital networking. I have already raised this issue in github. https://github.com/ansible/ansible/issues/14919. the link for the github issue. Let me know the…

---

## [Start tomcat](https://forum.ansible.com/t/start-tomcat/20855)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 12\
**Last updated:** [March 14, 2016, 4:06pm UTC](https://forum.ansible.com/t/start-tomcat/20855 "2016-03-14T16:06:45Z")

</div>

Hi folks, Is anybody has an idea how can i resolve that error message? TASK \[tomcat : copy mmc.war to webapps\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[webserver1\] TASK \[tomcat : Set Java\_opts for tomcat\] \*\*\*\*\*\*…

---

## [The pexpect python module is required for Ansible 2.0](https://forum.ansible.com/t/the-pexpect-python-module-is-required-for-ansible-2-0/20847)

<div class="topic-metadata">

**Author:** [@Debabrat\_panda](https://forum.ansible.com/u/Debabrat_panda)\
**Replies:** 1\
**Last updated:** [March 11, 2016, 9:14pm UTC](https://forum.ansible.com/t/the-pexpect-python-module-is-required-for-ansible-2-0/20847 "2016-03-11T21:14:48Z")

</div>

Hi There, I am using ‘expect’ module in my ymal. Before using this, I install ‘pip install pexpect’. And, ran the ansible-playbook command and got this error. FAILED! =\> {“changed”: false, “failed”: true, “invocation…

---

## [ansible-playbook exits if host list empty, even if later plays could still run](https://forum.ansible.com/t/ansible-playbook-exits-if-host-list-empty-even-if-later-plays-could-still-run/16214)

<div class="topic-metadata">

**Author:** [@varhus](https://forum.ansible.com/u/varhus)\
**Replies:** 6\
**Last updated:** [March 11, 2016, 7:58pm UTC](https://forum.ansible.com/t/ansible-playbook-exits-if-host-list-empty-even-if-later-plays-could-still-run/16214 "2016-03-11T19:58:30Z")

</div>

Given the following inventory: \` \[common:children\] groupA groupB \[groupA\] hostA \[groupB\] hostB \` And the following playbook (site.yml): \` (attachments)0001-playbook-should-continue-to-the-next-play-even-if-th…

---

## [overhaul of unarchive module](https://forum.ansible.com/t/overhaul-of-unarchive-module/19899)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin](https://forum.ansible.com/u/Dylan_Martin)\
**Replies:** 12\
**Last updated:** [March 11, 2016, 7:05pm UTC](https://forum.ansible.com/t/overhaul-of-unarchive-module/19899 "2016-03-11T19:05:25Z")

</div>

Hi all, I’m the original author of the unarchive module and I think I need to give it an overhaul. I wanted to mention it before I got started in case anyone had comments/ideas. I’ve been having the same conversation in …

---

## [Arista eos network modules](https://forum.ansible.com/t/arista-eos-network-modules/20836)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 5\
**Last updated:** [March 11, 2016, 5:21pm UTC](https://forum.ansible.com/t/arista-eos-network-modules/20836 "2016-03-11T17:21:31Z")

</div>

Do the eos network modules (2.1) accurately return the ‘changed’ status in check\_mode? In reading the code, it appears as if the value of ‘changed’ has more to do with providing a valid config to push. The result of this…

---

## [F5 datagroup module](https://forum.ansible.com/t/f5-datagroup-module/18807)

<div class="topic-metadata">

**Author:** [@julien\_delaroque](https://forum.ansible.com/u/julien_delaroque)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 12:44pm UTC](https://forum.ansible.com/t/f5-datagroup-module/18807 "2016-03-11T12:44:21Z")

</div>

hello, I create a new module to manage the F5 string DataGroup and additions / deletions members how to publish this version? regards

---

## [fetch\_url, need to get the webpage content on urllib2.HTTPError exception.](https://forum.ansible.com/t/fetch-url-need-to-get-the-webpage-content-on-urllib2-httperror-exception/20749)

<div class="topic-metadata">

**Author:** [@Olivier\_GROSJEANNE](https://forum.ansible.com/u/Olivier_GROSJEANNE)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 6:47am UTC](https://forum.ansible.com/t/fetch-url-need-to-get-the-webpage-content-on-urllib2-httperror-exception/20749 "2016-03-11T06:47:54Z")

</div>

Hi there, I wrote modules to manage Dimension Data Cloud Platform. https://github.com/job-so/ansible.CaaS These modules are working well, and already tested by different users for different use cases. Before proposing…

---

## [Error message](https://forum.ansible.com/t/error-message/20838)

<div class="topic-metadata">

**Author:** [@fgbane](https://forum.ansible.com/u/fgbane)\
**Replies:** 0\
**Last updated:** [March 11, 2016, 2:53am UTC](https://forum.ansible.com/t/error-message/20838 "2016-03-11T02:53:50Z")

</div>

Hi folks, I am running this Ansible which is suppose to run a script located on the specific directory but someway or somehow I am having error: name: Run API gateway command: chdir=/opt/mule/api-gateway-standalone-2…

---

## [delegate\_to:127.0.0.1 not working when hosts different than localhost](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20832)

<div class="topic-metadata">

**Author:** [@alejandro.gandara](https://forum.ansible.com/u/alejandro.gandara)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 8:00pm UTC](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20832 "2016-03-10T20:00:03Z")

</div>

Hi, I’m facing an issue after upgrading to ansible 2.0.1.0 when waiting for ssh to come up. This task should be executed as local but It is using ssh to connect to the server and been executed from there instead. Does …

---

## [Ansible installation using pip broken?](https://forum.ansible.com/t/ansible-installation-using-pip-broken/20673)

<div class="topic-metadata">

**Author:** [@angel](https://forum.ansible.com/u/angel)\
**Replies:** 3\
**Last updated:** [March 9, 2016, 9:08pm UTC](https://forum.ansible.com/t/ansible-installation-using-pip-broken/20673 "2016-03-09T21:08:16Z")

</div>

Hi there, I am trying to install Ansible within a Docker container (plain Ubuntu 14.04) to be used as a test environment. The Python version is managed by pyenv, and I am using pip to install Ansible. This is the outpu…

---

## [Cannot build 2.0.1.0 with dpkg-buildpackage](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [March 9, 2016, 7:21am UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783 "2016-03-09T07:21:26Z")

</div>

On Linux samsung-ubuntu 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86\_64 GNU/Linux With commit bb6cadefa2d68ed2a668fba14dc027947e043ae5 I copied packaging/debian under sources root folder and removed…

---

## [Develop Ansible plugin, are there any best practices or recommended notes to read ?](https://forum.ansible.com/t/develop-ansible-plugin-are-there-any-best-practices-or-recommended-notes-to-read/20795)

<div class="topic-metadata">

**Author:** [@Leoswaldo\_Macias\_Man](https://forum.ansible.com/u/Leoswaldo_Macias_Man)\
**Replies:** 3\
**Last updated:** [March 8, 2016, 5:10pm UTC](https://forum.ansible.com/t/develop-ansible-plugin-are-there-any-best-practices-or-recommended-notes-to-read/20795 "2016-03-08T17:10:43Z")

</div>

Hi there I found this group in http://docs.ansible.com/ansible/modules\_core.html, so I’m not pretty sure if its ok to write questions like mine here, but anyway here it goes (in case its not, is there any other channel …

---

## [writing a lookup for random strings](https://forum.ansible.com/t/writing-a-lookup-for-random-strings/20796)

<div class="topic-metadata">

**Author:** [@ivica.kolenkas](https://forum.ansible.com/u/ivica.kolenkas)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 7:45pm UTC](https://forum.ansible.com/t/writing-a-lookup-for-random-strings/20796 "2016-03-07T19:45:30Z")

</div>

Hello, I am interested in contributing code and I wanted to write a module which would generate a random\_string module as described in this pull request: https://github.com/ansible/ansible-modules-extras/pull/1799 Sive…

---

## [strategy\_plugins setting in a configuration file](https://forum.ansible.com/t/strategy-plugins-setting-in-a-configuration-file/20770)

<div class="topic-metadata">

**Author:** [@yagami\_kishin](https://forum.ansible.com/u/yagami_kishin)\
**Replies:** 2\
**Last updated:** [March 5, 2016, 1:08pm UTC](https://forum.ansible.com/t/strategy-plugins-setting-in-a-configuration-file/20770 "2016-03-05T13:08:44Z")

</div>

Hi, I recently noticed that there is no ‘strategy\_plugins’ setting in a configuration file. Other plugins, such as an action plugin, have settings like action\_plugins to adjust plugin locations. So I am not sure why a s…

---

## [delegate\_to in loop: only connecting to first host in list](https://forum.ansible.com/t/delegate-to-in-loop-only-connecting-to-first-host-in-list/20220)

<div class="topic-metadata">

**Author:** [@alvlin.uy](https://forum.ansible.com/u/alvlin.uy)\
**Replies:** 2\
**Last updated:** [March 4, 2016, 9:33pm UTC](https://forum.ansible.com/t/delegate-to-in-loop-only-connecting-to-first-host-in-list/20220 "2016-03-04T21:33:54Z")

</div>

Hi (again!) Found another unexpected issue with my code. I’m trying to automate the deployment of an application which consists of some java processes in Linux servers, and then a GUI client running on Windows. So, I’m…

---

## [Community Working Group meeting, 04 March 2016](https://forum.ansible.com/t/community-working-group-meeting-04-march-2016/20778)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron2](https://forum.ansible.com/u/Robyn_Bergeron2)\
**Replies:** 0\
**Last updated:** [March 4, 2016, 9:31pm UTC](https://forum.ansible.com/t/community-working-group-meeting-04-march-2016/20778 "2016-03-04T21:31:29Z")

</div>

In today’s edition of the Community working group IRC meeting, we discussed some options / improvements to the Proposals Process Proposal (available to view / comment at https://github.com/ansible/ansible/pull/14802 ). T…

---

## [Proposal: Have a process for proposals, and document it.](https://forum.ansible.com/t/proposal-have-a-process-for-proposals-and-document-it/20777)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron1](https://forum.ansible.com/u/Robyn_Bergeron1)\
**Replies:** 0\
**Last updated:** [March 4, 2016, 5:21pm UTC](https://forum.ansible.com/t/proposal-have-a-process-for-proposals-and-document-it/20777 "2016-03-04T17:21:23Z")

</div>

Greetings: A proposal for how the proposals process could work, and should be documented, has been submitted for viewing and feedback from the Ansible community. https://github.com/ansible/ansible/pull/14802 PLEASE DO…

---

## [How to figure out in callback plugin if Ansible runs in check-mode?](https://forum.ansible.com/t/how-to-figure-out-in-callback-plugin-if-ansible-runs-in-check-mode/20771)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 3\
**Last updated:** [March 4, 2016, 4:44pm UTC](https://forum.ansible.com/t/how-to-figure-out-in-callback-plugin-if-ansible-runs-in-check-mode/20771 "2016-03-04T16:44:23Z")

</div>

In other plugin types there is something like self.\_play\_context.check\_mode available. I can’t figure out how to check this in a callback plugin though. All callback plugins which ship with Ansible 2 do not prevent any e…

---

## [Version 2 failed to find files in templates](https://forum.ansible.com/t/version-2-failed-to-find-files-in-templates/20744)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 3\
**Last updated:** [March 4, 2016, 12:16am UTC](https://forum.ansible.com/t/version-2-failed-to-find-files-in-templates/20744 "2016-03-04T00:16:02Z")

</div>

Hi, I understand that version 2 has more restricted rules to check the syntax, but I am puzzled by following template error: name: test template template: src=test.j2 dest=/tmp/test.txt fatal: \[testv2\]: FAILED! =\> {…

---

## [Hostvars in lookup for delegated task](https://forum.ansible.com/t/hostvars-in-lookup-for-delegated-task/20734)

<div class="topic-metadata">

**Author:** [@alvlin.uy](https://forum.ansible.com/u/alvlin.uy)\
**Replies:** 4\
**Last updated:** [March 3, 2016, 2:54pm UTC](https://forum.ansible.com/t/hostvars-in-lookup-for-delegated-task/20734 "2016-03-03T14:54:22Z")

</div>

Hi, I wrote a lookup plugin to get some data from the already-existing ansible variables, so it needs access to “groups” and “hostvars” to find the right combination of data to return. In particular, my lookup plugin re…

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

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