# Ansible Developer

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

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

**Page:** 68

---

## [Roles Variables not being Parsed - Playbook vars being applied](https://forum.ansible.com/t/roles-variables-not-being-parsed-playbook-vars-being-applied/19502)

<div class="topic-metadata">

**Author:** [@Chris\_Kerr](https://forum.ansible.com/u/Chris_Kerr)\
**Replies:** 1\
**Last updated:** [October 14, 2015, 9:31am UTC](https://forum.ansible.com/t/roles-variables-not-being-parsed-playbook-vars-being-applied/19502 "2015-10-14T09:31:22Z")

</div>

Hi everyone - Looking for some guidance on what i am missing in relation to calling a role during a playbook. The issue i am having is this: I run the playbook fine it carries out the pre\_tasks as expected, however whe…

---

## [Call for volunteers for testing the taiga\_issue extra module](https://forum.ansible.com/t/call-for-volunteers-for-testing-the-taiga-issue-extra-module/19426)

<div class="topic-metadata">

**Author:** [@Alejandro\_Guirao\_Rod](https://forum.ansible.com/u/Alejandro_Guirao_Rod)\
**Replies:** 1\
**Last updated:** [October 14, 2015, 6:52am UTC](https://forum.ansible.com/t/call-for-volunteers-for-testing-the-taiga-issue-extra-module/19426 "2015-10-14T06:52:38Z")

</div>

Hi fellow ansiblers, I have submitted a PR for a taiga\_issue extra module and now it is at the point when I need volunteers testing it and approving / discovering issues. I have tried to make it easier and in the issue…

---

## [regex\_replace unexpected results](https://forum.ansible.com/t/regex-replace-unexpected-results/19501)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu](https://forum.ansible.com/u/Steve_Kieu)\
**Replies:** 2\
**Last updated:** [October 14, 2015, 5:06am UTC](https://forum.ansible.com/t/regex-replace-unexpected-results/19501 "2015-10-14T05:06:36Z")

</div>

I have these lines in a role/default/main.yml takes everything (including the -) from the second dash counted right to left Example if host is t5-s2-webapi-au the prefix domain is t5-s2, if host is staging1-web-au then …

---

## [Sharing code between modules](https://forum.ansible.com/t/sharing-code-between-modules/19436)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 6\
**Last updated:** [October 13, 2015, 11:09pm UTC](https://forum.ansible.com/t/sharing-code-between-modules/19436 "2015-10-13T23:09:09Z")

</div>

I'm writing a set of modules that do a bunch of things with the TeamCity CI server. I have 2 such modules so far and they use some common code - currently these two modules have a lot of copied code and it's already gett…

---

## [Dynamic inventory from Active Directory?](https://forum.ansible.com/t/dynamic-inventory-from-active-directory/19319)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 6\
**Last updated:** [October 13, 2015, 12:10pm UTC](https://forum.ansible.com/t/dynamic-inventory-from-active-directory/19319 "2015-10-13T12:10:48Z")

</div>

Is there a way to build a dynamic inventory from Active Directory? Given you cannot use Windows as a control host fun things like pyad and py32win aren’t going to work to pull stuff out of Active Directory. Is this a s…

---

## [workaround for using a variable list of vars with include](https://forum.ansible.com/t/workaround-for-using-a-variable-list-of-vars-with-include/19343)

<div class="topic-metadata">

**Author:** [@Javeria\_Khan](https://forum.ansible.com/u/Javeria_Khan)\
**Replies:** 3\
**Last updated:** [October 13, 2015, 9:43am UTC](https://forum.ansible.com/t/workaround-for-using-a-variable-list-of-vars-with-include/19343 "2015-10-13T09:43:34Z")

</div>

Hi everyone, I need to include a playbook which essentially contains a set of initialisation tasks for any set of variables passed to it. Like so: include: upstart\_common\_init.yml vars: program\_name: “{{ item.…

---

## [Getting error while copying file from local mechine to Remote.](https://forum.ansible.com/t/getting-error-while-copying-file-from-local-mechine-to-remote/19486)

<div class="topic-metadata">

**Author:** [@suneel\_kumar](https://forum.ansible.com/u/suneel_kumar)\
**Replies:** 1\
**Last updated:** [October 12, 2015, 12:57pm UTC](https://forum.ansible.com/t/getting-error-while-copying-file-from-local-mechine-to-remote/19486 "2015-10-12T12:57:38Z")

</div>

Hi I am new to Ansible. I am trying to copy file from my local machine to remote using ansible i am getting the fallowing error. 172.22.1.75 | FAILED \>\> { “failed”: true, “msg”: “src (or content) and dest are require…

---

## [windows modules; strict mode; use of Latest](https://forum.ansible.com/t/windows-modules-strict-mode-use-of-latest/19391)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 3\
**Last updated:** [October 7, 2015, 8:10pm UTC](https://forum.ansible.com/t/windows-modules-strict-mode-use-of-latest/19391 "2015-10-07T20:10:06Z")

</div>

Following on from the discussion here temporarily disable strictmode by trondhindenes · Pull Request #12525 · ansible/ansible · GitHub its clear that strict mode is here to stay for powershell based modules. I’d like to…

---

## [docs update](https://forum.ansible.com/t/docs-update/19446)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [October 6, 2015, 9:35pm UTC](https://forum.ansible.com/t/docs-update/19446 "2015-10-06T21:35:45Z")

</div>

I was just wondering: How/when are doc updates moved to the live website? I made some changes to the Windows module dev guide which got merged last week, but I still don’t see the updates on docs.ansible.com.

---

## [Converting lookup plugin to V2](https://forum.ansible.com/t/converting-lookup-plugin-to-v2/19447)

<div class="topic-metadata">

**Author:** [@mmorris](https://forum.ansible.com/u/mmorris)\
**Replies:** 0\
**Last updated:** [October 6, 2015, 4:41pm UTC](https://forum.ansible.com/t/converting-lookup-plugin-to-v2/19447 "2015-10-06T16:41:16Z")

</div>

Hi all, I am trying to convert my one lookup plugin to the new V2 version and because I am not the original creator, I am at a loss for what still needs to be done. This is what I currently have: https://gist.github.co…

---

## [Feature request --show-vars-path?](https://forum.ansible.com/t/feature-request-show-vars-path/19210)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 5\
**Last updated:** [October 5, 2015, 11:19am UTC](https://forum.ansible.com/t/feature-request-show-vars-path/19210 "2015-10-05T11:19:34Z")

</div>

The location of the group\_vars and host\_vars directories has a tendency to bite me and my team. We recently moved to using vagrant/virtualbox and vagrant/fusion for testing and we specify a playbook like this: config.v…

---

## [\[ansible\] Ansible2 : \`roles\` and \`with\_items\` (#12623)](https://forum.ansible.com/t/ansible-ansible2-roles-and-with-items-12623/19434)

<div class="topic-metadata">

**Author:** [@Leo\_Gaspard](https://forum.ansible.com/u/Leo_Gaspard)\
**Replies:** 0\
**Last updated:** [October 4, 2015, 10:05pm UTC](https://forum.ansible.com/t/ansible-ansible2-roles-and-with-items-12623/19434 "2015-10-04T22:05:39Z")

</div>

Hello, I just received this message, when my bug report was closed. (Because it worked when not using {{ item }}, I believed it was a valid way to loop) As a consequence, I’d like to ask: should I hope that, in the nea…

---

## [win\_updates rewrite](https://forum.ansible.com/t/win-updates-rewrite/19082)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 9\
**Last updated:** [October 4, 2015, 5:17pm UTC](https://forum.ansible.com/t/win-updates-rewrite/19082 "2015-10-04T17:17:32Z")

</div>

Hi all, Awhile back, I was trying to help a customer use the win\_updates module- they reported that it chugged for a long time, claimed to install updates, but ultimately did nothing. I started doing some debugging, and…

---

## [confparser replacement for ini\_file module](https://forum.ansible.com/t/confparser-replacement-for-ini-file-module/19402)

<div class="topic-metadata">

**Author:** [@Ritesh\_Khadgaray](https://forum.ansible.com/u/Ritesh_Khadgaray)\
**Replies:** 2\
**Last updated:** [October 4, 2015, 6:00am UTC](https://forum.ansible.com/t/confparser-replacement-for-ini-file-module/19402 "2015-10-04T06:00:59Z")

</div>

Hi, I have written confparser module ( https://github.com/ritzk/ansible-modules-extras-confparse ) as a replacement for ini\_file. Do let me know, if anyone finds this useful and what I need to add/remove . Thanks

---

## [os\_port module?](https://forum.ansible.com/t/os-port-module/19424)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [October 3, 2015, 4:10am UTC](https://forum.ansible.com/t/os-port-module/19424 "2015-10-03T04:10:38Z")

</div>

Hey folks, I was looking through the OpenStack modules for a module that did the equivalent of heat’s OS::Neutron::Port resource type. I was specifically looking to assign static IPs to a port associated with a network. …

---

## [How to get Tower job id in callback module](https://forum.ansible.com/t/how-to-get-tower-job-id-in-callback-module/19420)

<div class="topic-metadata">

**Author:** [@Bill\_Nottingham](https://forum.ansible.com/u/Bill_Nottingham)\
**Replies:** 0\
**Last updated:** [October 2, 2015, 5:11pm UTC](https://forum.ansible.com/t/how-to-get-tower-job-id-in-callback-module/19420 "2015-10-02T17:11:38Z")

</div>

Hi - This list is for development of Ansible itself - for working with Tower, we request that you please contact support@ansible.com, and they’ll be able to help you. Thanks, Bill

---

## [Windows Testing needed: PR for improved Get-Attr/Get-AnsibleParam submitted](https://forum.ansible.com/t/windows-testing-needed-pr-for-improved-get-attr-get-ansibleparam-submitted/19410)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [October 2, 2015, 1:50pm UTC](https://forum.ansible.com/t/windows-testing-needed-pr-for-improved-get-attr-get-ansibleparam-submitted/19410 "2015-10-02T13:50:03Z")

</div>

Good people, I’ve just submitted a PR for a new and improved version of the Get-Attr/Get-AnsibleParam function. This PR now has support for aliases, along with the parameter validation which was added yesterday. There’…

---

## [How to avoid regressions in ansible-modules-core ?](https://forum.ansible.com/t/how-to-avoid-regressions-in-ansible-modules-core/18417)

<div class="topic-metadata">

**Author:** [@Jonas\_Pfenniger](https://forum.ansible.com/u/Jonas_Pfenniger)\
**Replies:** 8\
**Last updated:** [October 1, 2015, 10:31pm UTC](https://forum.ansible.com/t/how-to-avoid-regressions-in-ansible-modules-core/18417 "2015-10-01T22:31:42Z")

</div>

Hi, I am one of the small-time contributors on the repo. Adding some features where I need them. Currently my testing methodology is very crude. I have a test playbook that exercised the module in various ways and hope…

---

## [Windows: Kerberos broken in current devel?](https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 1\
**Last updated:** [September 30, 2015, 9:01pm UTC](https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396 "2015-09-30T21:01:50Z")

</div>

All of a sudden I’m getting some nasty winrm errors in my lab env. I’m building my ansible control node from the same script every time, and the windows boxes haven’t changes. This is what I’m seeing: \<thansiblewinDC.an…

---

## [Discussing Windows Strictmode](https://forum.ansible.com/t/discussing-windows-strictmode/19395)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 1\
**Last updated:** [September 30, 2015, 5:55pm UTC](https://forum.ansible.com/t/discussing-windows-strictmode/19395 "2015-09-30T17:55:49Z")

</div>

Good folks, I figured out would probably better to discuss here than in github. This is related to issue https://github.com/ansible/ansible/issues/12497 for which I submitted a PR https://github.com/ansible/ansible/pul…

---

## [\[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed](https://forum.ansible.com/t/ssl-certificate-verify-failed-certificate-verify-failed/19385)

<div class="topic-metadata">

**Author:** [@Tiran\_Efrat](https://forum.ansible.com/u/Tiran_Efrat)\
**Replies:** 1\
**Last updated:** [September 30, 2015, 4:08pm UTC](https://forum.ansible.com/t/ssl-certificate-verify-failed-certificate-verify-failed/19385 "2015-09-30T16:08:29Z")

</div>

Hi, I’m starting to use Ansible on my OS X (10.11.1), on the dev source. I’m trying to use the newly (2.0) introduced vsphere modules to create a datacenter and i’m getting this: \[SSL: CERTIFICATE\_VERIFY\_FAILED\] certi…

---

## [On SLES 11.4 the setup module reports always "0" as ansible\_distribution\_release](https://forum.ansible.com/t/on-sles-11-4-the-setup-module-reports-always-0-as-ansible-distribution-release/19374)

<div class="topic-metadata">

**Author:** [@Bernhard\_L](https://forum.ansible.com/u/Bernhard_L)\
**Replies:** 0\
**Last updated:** [September 29, 2015, 8:36am UTC](https://forum.ansible.com/t/on-sles-11-4-the-setup-module-reports-always-0-as-ansible-distribution-release/19374 "2015-09-29T08:36:51Z")

</div>

Hello, SuSE added a /etc/os-release file with SP4 for SLES11 and there is a little bug in lib/ansible/module\_utils/facts.py, which leads to always having “0” in ansible\_distribution\_release instead of “4”. I checked wi…

---

## [attempt to ansible -m ping into vagrant box fails](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355)

<div class="topic-metadata">

**Author:** [@DEBORAH\_AKUOKO](https://forum.ansible.com/u/DEBORAH_AKUOKO)\
**Replies:** 0\
**Last updated:** [September 25, 2015, 1:27pm UTC](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355 "2015-09-25T13:27:41Z")

</div>

I have a vagrant vm which i can successfully ping and ssh into from my host machine and vice versa. But I am not able to run ansible ping to the vagrant box, nether an i able to run my playbook which connects to the va…

---

## [v2 bug, \`connection: local\` not honoured](https://forum.ansible.com/t/v2-bug-connection-local-not-honoured/17525)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 3\
**Last updated:** [September 23, 2015, 10:24pm UTC](https://forum.ansible.com/t/v2-bug-connection-local-not-honoured/17525 "2015-09-23T22:24:20Z")

</div>

Hi, FYI, I was playing with v2, and noticed the following in ansible/v2/samples/test\_block.yml: That playbook contains a connection: local, but connection still goes over ssh.

---

## [Where to put new extras module](https://forum.ansible.com/t/where-to-put-new-extras-module/19337)

<div class="topic-metadata">

**Author:** [@Adrian\_Wood](https://forum.ansible.com/u/Adrian_Wood)\
**Replies:** 1\
**Last updated:** [September 23, 2015, 5:08pm UTC](https://forum.ansible.com/t/where-to-put-new-extras-module/19337 "2015-09-23T17:08:42Z")

</div>

Hello, I’m interested in contributing a module called ‘gsettings’ for managing desktop settings but don’t know which category it belongs to. I’m thinking system is the most appropriate - would this be correct? Also - I…

---

## [errors regarding ansible task execution on multiple hosts](https://forum.ansible.com/t/errors-regarding-ansible-task-execution-on-multiple-hosts/19340)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 0\
**Last updated:** [September 23, 2015, 2:06pm UTC](https://forum.ansible.com/t/errors-regarding-ansible-task-execution-on-multiple-hosts/19340 "2015-09-23T14:06:13Z")

</div>

hello, i am having currently 150 hosts.In ansible i have known that exeution of task in multiple hosts can be set by the forks parameter.Initially i have set the forks =70 and i run the following command: ansible -m sh…

---

## [Contributing: which branch to use?](https://forum.ansible.com/t/contributing-which-branch-to-use/19239)

<div class="topic-metadata">

**Author:** [@alexk4work](https://forum.ansible.com/u/alexk4work)\
**Replies:** 8\
**Last updated:** [September 22, 2015, 8:27pm UTC](https://forum.ansible.com/t/contributing-which-branch-to-use/19239 "2015-09-22T20:27:29Z")

</div>

Hi all, If I would like to make a patch for the last v1 version, which branch should I use as a base?I’m hesitating between stable\_v1.9 and v1\_modules …

---

## [Multiple debug output redirection for incident response ?](https://forum.ansible.com/t/multiple-debug-output-redirection-for-incident-response/19320)

<div class="topic-metadata">

**Author:** [@Julien\_Touche](https://forum.ansible.com/u/Julien_Touche)\
**Replies:** 1\
**Last updated:** [September 22, 2015, 7:01pm UTC](https://forum.ansible.com/t/multiple-debug-output-redirection-for-incident-response/19320 "2015-09-22T19:01:31Z")

</div>

Hello, It’s a few months than I started to work with ansible and find it an awesome tool. rebuilding my home lab :slight\_smile: Thanks a lot for this great piece of code! One of the role/playbook that I work on is for…

---

## [pass --limit to inventory to improve speed and remove unnecessary variables](https://forum.ansible.com/t/pass-limit-to-inventory-to-improve-speed-and-remove-unnecessary-variables/19198)

<div class="topic-metadata">

**Author:** [@Edward\_Zambrano](https://forum.ansible.com/u/Edward_Zambrano)\
**Replies:** 17\
**Last updated:** [September 21, 2015, 1:36pm UTC](https://forum.ansible.com/t/pass-limit-to-inventory-to-improve-speed-and-remove-unnecessary-variables/19198 "2015-09-21T13:36:34Z")

</div>

Hello! Our current situation: -We have a python script that builds the inventory with a bunch of variables per each group, we can notice that the bigger the JSON the inventory generates, the slower ansible runs (about …

---

## [set\_fact not working like it used to](https://forum.ansible.com/t/set-fact-not-working-like-it-used-to/19211)

<div class="topic-metadata">

**Author:** [@Dann\_Bohn](https://forum.ansible.com/u/Dann_Bohn)\
**Replies:** 1\
**Last updated:** [September 21, 2015, 12:19pm UTC](https://forum.ansible.com/t/set-fact-not-working-like-it-used-to/19211 "2015-09-21T12:19:15Z")

</div>

Hi Folks, I have some playbooks that include other playbooks, those playbooks use set\_fact to set vars that I later use in the main playbook. This is not working with the latest checkout of 2.0. It seems that vars set w…

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

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