# Ansible Developer

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

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

**Page:** 48

---

## [current devel branch does not work on windows](https://forum.ansible.com/t/current-devel-branch-does-not-work-on-windows/19233)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 11\
**Last updated:** [March 21, 2017, 1:14pm UTC](https://forum.ansible.com/t/current-devel-branch-does-not-work-on-windows/19233 "2017-03-21T13:14:15Z")

</div>

The last working commit I can find which works on windows is ca e2e9319f06b058098cdf4272689766abb95b80f2 (https://github.com/ansible/ansible/commit/e2e9319f06b058098cdf4272689766abb95b80f2) note that I haven’t tried all …

---

## [check if the previous fields input is given by the user](https://forum.ansible.com/t/check-if-the-previous-fields-input-is-given-by-the-user/24013)

<div class="topic-metadata">

**Author:** [@Abdul\_Hafeezuddin\_Mo](https://forum.ansible.com/u/Abdul_Hafeezuddin_Mo)\
**Replies:** 1\
**Last updated:** [March 20, 2017, 4:31pm UTC](https://forum.ansible.com/t/check-if-the-previous-fields-input-is-given-by-the-user/24013 "2017-03-20T16:31:04Z")

</div>

Hi, I’m writing a custom module. I wanted to set some fields to “required”: True, depending upon the previous field i.e if user specified previous field then next field should be set to required:True please see this be…

---

## [logging actual user instead of effective user in ansible logging](https://forum.ansible.com/t/logging-actual-user-instead-of-effective-user-in-ansible-logging/24003)

<div class="topic-metadata">

**Author:** [@Arthur\_Reyes](https://forum.ansible.com/u/Arthur_Reyes)\
**Replies:** 0\
**Last updated:** [March 17, 2017, 6:47pm UTC](https://forum.ansible.com/t/logging-actual-user-instead-of-effective-user-in-ansible-logging/24003 "2017-03-17T18:47:19Z")

</div>

Is there an existing toggle to change the logged uid from the effective user (whoami) to the actual user? (who am i). 2017-03-17 12:53:13,960 p=27204 u=ansible | PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Multiple SCSI Adapters - vmware\_guest or vsphere\_guest](https://forum.ansible.com/t/multiple-scsi-adapters-vmware-guest-or-vsphere-guest/23982)

<div class="topic-metadata">

**Author:** [@Adam\_Kile](https://forum.ansible.com/u/Adam_Kile)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 6:22pm UTC](https://forum.ansible.com/t/multiple-scsi-adapters-vmware-guest-or-vsphere-guest/23982 "2017-03-15T18:22:37Z")

</div>

We’ve started using Ansible to automate some VM builds within some of our environments. For one of our builds, we have a VM which has about 20 disks. When using vmware\_guest, if we add all 20 disks, the task bombs with: …

---

## [filters; documenting expected input and output types?](https://forum.ansible.com/t/filters-documenting-expected-input-and-output-types/23979)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 2:43pm UTC](https://forum.ansible.com/t/filters-documenting-expected-input-and-output-types/23979 "2017-03-15T14:43:54Z")

</div>

I’ve been using a lot of filters recently and wondered if anyone would find it useful if the documentation for filters showed what data types they expect and emit? I’m happy to have a go at a PR. For example, something…

---

## [Add cookie handling to the open\_url method in the urls lib](https://forum.ansible.com/t/add-cookie-handling-to-the-open-url-method-in-the-urls-lib/23974)

<div class="topic-metadata">

**Author:** [@Craig\_Smith](https://forum.ansible.com/u/Craig_Smith)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 5:19am UTC](https://forum.ansible.com/t/add-cookie-handling-to-the-open-url-method-in-the-urls-lib/23974 "2017-03-15T05:19:38Z")

</div>

Hi, I am trying to avoid using a third party http libraries in a module I am building for a system that requires cookie handling. In open\_url’s current implementation I receive the following return code and message: ur…

---

## [Tower jobs failing after upgrade - SCM update failed](https://forum.ansible.com/t/tower-jobs-failing-after-upgrade-scm-update-failed/23967)

<div class="topic-metadata">

**Author:** [@Nicholas\_Chrysandrea](https://forum.ansible.com/u/Nicholas_Chrysandrea)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 2:48pm UTC](https://forum.ansible.com/t/tower-jobs-failing-after-upgrade-scm-update-failed/23967 "2017-03-14T14:48:15Z")

</div>

Hi, We are running ansible 2.2.1.0 and upgraded tower from 3.0.2 to 3.1.1 After the tower upgrade, when we run a job template, the job fails because the with “SCM Update failed for Ops with ID 46720” The issue I reali…

---

## [tmpfs support for docker\_container](https://forum.ansible.com/t/tmpfs-support-for-docker-container/23966)

<div class="topic-metadata">

**Author:** [@Cedric\_Melange](https://forum.ansible.com/u/Cedric_Melange)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 2:01pm UTC](https://forum.ansible.com/t/tmpfs-support-for-docker-container/23966 "2017-03-14T14:01:47Z")

</div>

I added tmpfs support for the docker\_container module. tmpfs mounts temporary writable folders into a container with read-only root file system, which might be needed to run certain applications. (attachments)docker\_co…

---

## [ec2\_vol potential PR - could use some input (aws, boto, ec2\_vol)](https://forum.ansible.com/t/ec2-vol-potential-pr-could-use-some-input-aws-boto-ec2-vol/23950)

<div class="topic-metadata">

**Author:** [@Matthew\_Coltman](https://forum.ansible.com/u/Matthew_Coltman)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 1:56pm UTC](https://forum.ansible.com/t/ec2-vol-potential-pr-could-use-some-input-aws-boto-ec2-vol/23950 "2017-03-14T13:56:23Z")

</div>

(re-posting to the correct list this time :slight\_smile: ) Hey all, This is my first time attempting to contribute here and I’m mainly after a bit of a sanity check. This is the issue I’m looking at: https://github.co…

---

## [\[GSoC idea\] ansible plugin integrating NetJSON DeviceConfiguration](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23960)

<div class="topic-metadata">

**Author:** [@Federico\_Capoano](https://forum.ansible.com/u/Federico_Capoano)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 9:03am UTC](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23960 "2017-03-14T09:03:29Z")

</div>

Hi everyone, OpenWISP has been accepted as a mentoring organization for the Google Summer of Code 2017. We have an interesting project idea that may make it easier to manage the configuration of routers and embedded de…

---

## [private module\_utils](https://forum.ansible.com/t/private-module-utils/23440)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 2\
**Last updated:** [March 13, 2017, 10:23pm UTC](https://forum.ansible.com/t/private-module-utils/23440 "2017-03-13T22:23:38Z")

</div>

For hacking on new modules that will import libraries that are also being hacked on, there doesn’t appear to be a way currently to import. Digging around recently, I saw mentions that with the ziploader addition (which …

---

## [meta: refresh\_inventory to support conditions](https://forum.ansible.com/t/meta-refresh-inventory-to-support-conditions/23892)

<div class="topic-metadata">

**Author:** [@George\_Yanev](https://forum.ansible.com/u/George_Yanev)\
**Replies:** 2\
**Last updated:** [March 12, 2017, 12:10am UTC](https://forum.ansible.com/t/meta-refresh-inventory-to-support-conditions/23892 "2017-03-12T00:10:35Z")

</div>

Hi All, We want to remove some duplicate code which is available in our custom Inventory as well as in Ansible Playbook. meta: refresh\_inventory is what we need but it lacks conditional support. Is there a specific rea…

---

## [Need help](https://forum.ansible.com/t/need-help/23938)

<div class="topic-metadata">

**Author:** [@shekharkethireddy](https://forum.ansible.com/u/shekharkethireddy)\
**Replies:** 0\
**Last updated:** [March 11, 2017, 5:12pm UTC](https://forum.ansible.com/t/need-help/23938 "2017-03-11T17:12:19Z")

</div>

please help on this repo https://github.com/rajashekhar1121/vagrant-ansible/tree/master

---

## [accessing vars from lookup](https://forum.ansible.com/t/accessing-vars-from-lookup/23917)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 7:59pm UTC](https://forum.ansible.com/t/accessing-vars-from-lookup/23917 "2017-03-08T19:59:50Z")

</div>

Hello! I hope this is the correct mailing-list for this question . . . I’m writing a custom lookup function and would like to access group\_vars from it. They seem to be passed to the run method of the LookupModule class …

---

## [/usr/sbin/semodule:  Could not connect to policy handler](https://forum.ansible.com/t/usr-sbin-semodule-could-not-connect-to-policy-handler/23912)

<div class="topic-metadata">

**Author:** [@Andre\_Meeuwesen\_Busi](https://forum.ansible.com/u/Andre_Meeuwesen_Busi)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 3:33pm UTC](https://forum.ansible.com/t/usr-sbin-semodule-could-not-connect-to-policy-handler/23912 "2017-03-08T15:33:39Z")

</div>

Hallo folks, I am Andre, a newby on Ansible. Working en Living in the Netherlands. Linux sysadmin for a long time, but no selinux and ansible master. I want to import a selinux .pp file with ansible name: import nag…

---

## [Since upgrade to Ansible 2.x we cannot import custom filter from another custom filter](https://forum.ansible.com/t/since-upgrade-to-ansible-2-x-we-cannot-import-custom-filter-from-another-custom-filter/23905)

<div class="topic-metadata">

**Author:** [@John\_Wadleigh](https://forum.ansible.com/u/John_Wadleigh)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 8:34am UTC](https://forum.ansible.com/t/since-upgrade-to-ansible-2-x-we-cannot-import-custom-filter-from-another-custom-filter/23905 "2017-03-08T08:34:05Z")

</div>

ISSUE TYPE Bug Report COMPONENT NAME ansible-playbook ANSIBLE VERSION ansible-playbook --version ansible-playbook 2.2.1.0 config file = /automation/ansible/playbooks/ansible.cfg configured module search path = \['libra…

---

## [Ansible and Jenkins integration](https://forum.ansible.com/t/ansible-and-jenkins-integration/23859)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 2\
**Last updated:** [March 7, 2017, 6:32am UTC](https://forum.ansible.com/t/ansible-and-jenkins-integration/23859 "2017-03-07T06:32:48Z")

</div>

Hi to all! I would like to integrate Ansible and Jenkins using ansible plugin from Jenkins. Is it possible to run Ansible commands on remote host from Jenkins, or the idea of Ansible plugin for Jenkins is that both of …

---

## [Using block or include file with an until loop](https://forum.ansible.com/t/using-block-or-include-file-with-an-until-loop/23895)

<div class="topic-metadata">

**Author:** [@Brad\_Sturgis](https://forum.ansible.com/u/Brad_Sturgis)\
**Replies:** 0\
**Last updated:** [March 6, 2017, 3:38pm UTC](https://forum.ansible.com/t/using-block-or-include-file-with-an-until-loop/23895 "2017-03-06T15:38:58Z")

</div>

Is this feature under development ? I have seen multiple posts about this issue. I would like to run a block of task until a condition is true. I have tried using until: mycheck.rc == 0 for both a block and running one …

---

## [preferred way of handing cloud volume attchment in Ansible module](https://forum.ansible.com/t/preferred-way-of-handing-cloud-volume-attchment-in-ansible-module/23891)

<div class="topic-metadata">

**Author:** [@Tomas\_Karasek](https://forum.ansible.com/u/Tomas_Karasek)\
**Replies:** 0\
**Last updated:** [March 6, 2017, 1:00pm UTC](https://forum.ansible.com/t/preferred-way-of-handing-cloud-volume-attchment-in-ansible-module/23891 "2017-03-06T13:00:10Z")

</div>

Hi, I am about to write a new cloud volume module for Packet Host, and I was researching how the volume attachment should be handled. I assume a simple scenario: you have a server running in some cloud provider, and yo…

---

## [Ansible Core is in Freeze for 2.3](https://forum.ansible.com/t/ansible-core-is-in-freeze-for-2-3/23888)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 0\
**Last updated:** [March 5, 2017, 5:48pm UTC](https://forum.ansible.com/t/ansible-core-is-in-freeze-for-2-3/23888 "2017-03-05T17:48:40Z")

</div>

As you all know, the next version of the open source Ansible project (version 2.3) is currently in development. We are now in feature freeze for all modules and Core Engine work for the 2.3 release. Bug fixes only will g…

---

## [question about introducing a dependency in a module](https://forum.ansible.com/t/question-about-introducing-a-dependency-in-a-module/23881)

<div class="topic-metadata">

**Author:** [@nihlaeth](https://forum.ansible.com/u/nihlaeth)\
**Replies:** 2\
**Last updated:** [March 4, 2017, 9:17am UTC](https://forum.ansible.com/t/question-about-introducing-a-dependency-in-a-module/23881 "2017-03-04T09:17:48Z")

</div>

Hello everyone! I’m working on a pull request for the slackpkg module, and I found myself needing to compare version strings. I used packaging.version.parse() for this purpose, thinking that this wouldn’t be a problem s…

---

## [Pull Request - stuck](https://forum.ansible.com/t/pull-request-stuck/23738)

<div class="topic-metadata">

**Author:** [@johnny.sheppard.isod](https://forum.ansible.com/u/johnny.sheppard.isod)\
**Replies:** 1\
**Last updated:** [March 3, 2017, 5:47pm UTC](https://forum.ansible.com/t/pull-request-stuck/23738 "2017-03-03T17:47:36Z")

</div>

Hi, I have a pull request (https://github.com/ansible/ansible/pull/20926) which seems to have been approved by other contributors, but seems to be stuck “waiting\_on: maintainer”. It appears (from a quick look around git…

---

## [Windows Working Group IRC meetings](https://forum.ansible.com/t/windows-working-group-irc-meetings/23846)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 0\
**Last updated:** [February 28, 2017, 7:52pm UTC](https://forum.ansible.com/t/windows-working-group-irc-meetings/23846 "2017-02-28T19:52:11Z")

</div>

We’re pleased to announce that the Ansible Windows Working Group will begin biweekly IRC meetings in the Freenode #ansible-meeting channel on March 13/14, 2017 (depending on your time zone). This will be a regular develo…

---

## [Action Plugins and Async Support](https://forum.ansible.com/t/action-plugins-and-async-support/23223)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 1\
**Last updated:** [February 28, 2017, 4:41pm UTC](https://forum.ansible.com/t/action-plugins-and-async-support/23223 "2017-02-28T16:41:59Z")

</div>

I have two questions about action\_plugins: I wrote a custom ansible module that by default has async support. I wrote an action plugin for it like below. Now I get error - async mode is not supported for this module. A…

---

## [Error: Failure trying to run: chroot /var/cache/pbuilder/build/24081/. mount -t proc proc /proc](https://forum.ansible.com/t/error-failure-trying-to-run-chroot-var-cache-pbuilder-build-24081-mount-t-proc-proc-proc/23836)

<div class="topic-metadata">

**Author:** [@Dave\_Kasberg](https://forum.ansible.com/u/Dave_Kasberg)\
**Replies:** 1\
**Last updated:** [February 28, 2017, 6:09am UTC](https://forum.ansible.com/t/error-failure-trying-to-run-chroot-var-cache-pbuilder-build-24081-mount-t-proc-proc-proc/23836 "2017-02-28T06:09:08Z")

</div>

When doing a ‘make deb’, more specifically ‘make DEB\_DIST=trusty deb’ I get the error shown in the subject line. Does anyone know what may be causing this? Snippet of the output from the make. See the lines highlighted …

---

## [Syntax Error while loading YAML.](https://forum.ansible.com/t/syntax-error-while-loading-yaml/23838)

<div class="topic-metadata">

**Author:** [@Pankaj\_Navneet](https://forum.ansible.com/u/Pankaj_Navneet)\
**Replies:** 0\
**Last updated:** [February 28, 2017, 5:59am UTC](https://forum.ansible.com/t/syntax-error-while-loading-yaml/23838 "2017-02-28T05:59:39Z")

</div>

Hi , I have written a YAML to install on my AWS Slave server, but i am getting below error while running the playbook, ERROR! Syntax Error while loading YAML. The error appears to have been in ‘/etc/ansible/install\_ng…

---

## [Python can't find a common python script that is in module\_utils when running modules that use it](https://forum.ansible.com/t/python-cant-find-a-common-python-script-that-is-in-module-utils-when-running-modules-that-use-it/23814)

<div class="topic-metadata">

**Author:** [@Dave\_Kasberg](https://forum.ansible.com/u/Dave_Kasberg)\
**Replies:** 3\
**Last updated:** [February 28, 2017, 3:58am UTC](https://forum.ansible.com/t/python-cant-find-a-common-python-script-that-is-in-module-utils-when-running-modules-that-use-it/23814 "2017-02-28T03:58:45Z")

</div>

I’m developing several new network modules for Ansible 2.3. I have placed the common functions that are shared among these modules in a python script and put it in ./module\_utils/cnos/cnos.py. “cnos” is our operating sys…

---

## [ansible subprocess32 feature](https://forum.ansible.com/t/ansible-subprocess32-feature/23829)

<div class="topic-metadata">

**Author:** [@claudiomastrapasqua](https://forum.ansible.com/u/claudiomastrapasqua)\
**Replies:** 0\
**Last updated:** [February 27, 2017, 3:30pm UTC](https://forum.ansible.com/t/ansible-subprocess32-feature/23829 "2017-02-27T15:30:15Z")

</div>

Hello, is there any news on development/improvment side about ansible subprocess32 like described some years ago here: https://github.com/ansible/ansible/pull/9545 By now i think there’s something like “Starts the com…

---

## [Ansible 2.3 devel - ansible-playbook command failing with error for ansible command](https://forum.ansible.com/t/ansible-2-3-devel-ansible-playbook-command-failing-with-error-for-ansible-command/23809)

<div class="topic-metadata">

**Author:** [@Dwarika\_Prasad](https://forum.ansible.com/u/Dwarika_Prasad)\
**Replies:** 2\
**Last updated:** [February 27, 2017, 6:04am UTC](https://forum.ansible.com/t/ansible-2-3-devel-ansible-playbook-command-failing-with-error-for-ansible-command/23809 "2017-02-27T06:04:41Z")

</div>

Hi, I just upgraded to ansible 2.3 , taking the code from git. Now I am not able to run the same command which was working earlier with ansible 2.2. Please find below the error - stock\]$ ansible-playbook -i inventory.…

---

## [Why « Add compatibility with docker-py v2.0 » commit isn't in v2.2.1.0 release?](https://forum.ansible.com/t/why-add-compatibility-with-docker-py-v2-0-commit-isnt-in-v2-2-1-0-release/23821)

<div class="topic-metadata">

**Author:** [@Stephane\_Klein1](https://forum.ansible.com/u/Stephane_Klein1)\
**Replies:** 0\
**Last updated:** [February 26, 2017, 1:21pm UTC](https://forum.ansible.com/t/why-add-compatibility-with-docker-py-v2-0-commit-isnt-in-v2-2-1-0-release/23821 "2017-02-26T13:21:37Z")

</div>

Hi, do you know if this commit https://github.com/ansible/ansible/commit/e2a1ce2916e9b87fe1ad4a1011c04ef8d2faf046 present in devel branch will be merged in next stable branch? I don’t understand: this commit date is …

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

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