# Ansible Developer

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

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

**Page:** 71

---

## [Using Ansible with Kerberos/AD accounts](https://forum.ansible.com/t/using-ansible-with-kerberos-ad-accounts/18862)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [July 27, 2015, 2:42pm UTC](https://forum.ansible.com/t/using-ansible-with-kerberos-ad-accounts/18862 "2015-07-27T14:42:15Z")

</div>

Group, I did a writeup of getting Ansible and Kerberos working. This is mostly based on my own research as the documentation only mentions kerberos support in a line or two: http://hindenes.com/trondsworking/2015/07/27…

---

## [lookup plugin and conditionals](https://forum.ansible.com/t/lookup-plugin-and-conditionals/18845)

<div class="topic-metadata">

**Author:** [@Hank\_Beatty](https://forum.ansible.com/u/Hank_Beatty)\
**Replies:** 6\
**Last updated:** [July 25, 2015, 12:12pm UTC](https://forum.ansible.com/t/lookup-plugin-and-conditionals/18845 "2015-07-25T12:12:19Z")

</div>

Would it be appropriate for a lookup plugin to use ansible.playbook.conditional? I'm wanting to modify the recursive lookup plugin that has been discussed on this list to allow conditionals per iteration. the code for …

---

## [Placement of new iDRAC module in ansible-modules-extras directory structure](https://forum.ansible.com/t/placement-of-new-idrac-module-in-ansible-modules-extras-directory-structure/18841)

<div class="topic-metadata">

**Author:** [@Hank\_Beatty](https://forum.ansible.com/u/Hank_Beatty)\
**Replies:** 0\
**Last updated:** [July 24, 2015, 12:55pm UTC](https://forum.ansible.com/t/placement-of-new-idrac-module-in-ansible-modules-extras-directory-structure/18841 "2015-07-24T12:55:59Z")

</div>

Hello, I've been working on an iDRAC module that I would like to propose for inclusion in the ansible-modules-extras. There doesn't seem to be a clear place for something like this already. Where would you like me to p…

---

## [Calling ec2 from ec2\_vpc](https://forum.ansible.com/t/calling-ec2-from-ec2-vpc/14453)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 10\
**Last updated:** [July 23, 2015, 12:27pm UTC](https://forum.ansible.com/t/calling-ec2-from-ec2-vpc/14453 "2015-07-23T12:27:49Z")

</div>

All, I’m starting a fairly heavy Ansible + AWS project and wanted to bounce some approaches around before embarking on a heavy feature implementation. So far I’ve written an ec2\_rds\_paramgroup module that allows mainte…

---

## [Windows module helpers functions](https://forum.ansible.com/t/windows-module-helpers-functions/18820)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 3\
**Last updated:** [July 23, 2015, 11:43am UTC](https://forum.ansible.com/t/windows-module-helpers-functions/18820 "2015-07-23T11:43:58Z")

</div>

Has anyone looked at extending https://github.com/ansible/ansible/blob/devel/lib/ansible/module\_utils/powershell.ps1 to provide helper functions to be able to limit a parameter to a set of choices, set parameter as requi…

---

## [setting vars: on a block:](https://forum.ansible.com/t/setting-vars-on-a-block/18830)

<div class="topic-metadata">

**Author:** [@Abhijit\_Menon-Sen1](https://forum.ansible.com/u/Abhijit_Menon-Sen1)\
**Replies:** 1\
**Last updated:** [July 23, 2015, 9:02am UTC](https://forum.ansible.com/t/setting-vars-on-a-block/18830 "2015-07-23T09:02:17Z")

</div>

Hi. I tried out blocks in devel today, and found a small oddity. - block: - debug: var=x - debug: var=y vars: x: 23 y: 42 The above works as expected, but: - block: …

---

## [Support for Proxying WinRm Calls](https://forum.ansible.com/t/support-for-proxying-winrm-calls/18806)

<div class="topic-metadata">

**Author:** [@Corwin\_Brown](https://forum.ansible.com/u/Corwin_Brown)\
**Replies:** 3\
**Last updated:** [July 22, 2015, 5:47pm UTC](https://forum.ansible.com/t/support-for-proxying-winrm-calls/18806 "2015-07-22T17:47:50Z")

</div>

Hiya everyone! I’ve got kind of a strange need and I’m pretty sure I can put together a PR to address it, but I wanted to pitch it here first. I have a whole bunch of hosts in various datacenters that can only be acces…

---

## [need for docker\_facts module](https://forum.ansible.com/t/need-for-docker-facts-module/15051)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 9\
**Last updated:** [July 20, 2015, 9:27pm UTC](https://forum.ansible.com/t/need-for-docker-facts-module/15051 "2015-07-20T21:27:43Z")

</div>

Hi all! I found an issue with the docker module that I ended up discussing with Paul Durivage. The essential problem is that there is a list of dictionaries per container that only contains the last running container wh…

---

## [force use of --limit option?](https://forum.ansible.com/t/force-use-of-limit-option/18778)

<div class="topic-metadata">

**Author:** [@Erik\_Weathers](https://forum.ansible.com/u/Erik_Weathers)\
**Replies:** 8\
**Last updated:** [July 20, 2015, 8:38pm UTC](https://forum.ansible.com/t/force-use-of-limit-option/18778 "2015-07-20T20:38:37Z")

</div>

hi Ansible Developers! My team is getting its feet wet with ansible and we’re having contentious discussions about use of “hosts: all” in playbooks. I’m opposed to using an “extra-variable” in the ansible-playbook comm…

---

## [Changing default for update\_password](https://forum.ansible.com/t/changing-default-for-update-password/18735)

<div class="topic-metadata">

**Author:** [@hvjunk](https://forum.ansible.com/u/hvjunk)\
**Replies:** 1\
**Last updated:** [July 19, 2015, 2:54am UTC](https://forum.ansible.com/t/changing-default-for-update-password/18735 "2015-07-19T02:54:37Z")

</div>

Goodday, Googling just gives me the page on the User module, but my need is to set the update\_password=on\_create as the default for users, as they change their passwords, but we keep the users.yml to help update keys et…

---

## [v2 hacking broken?](https://forum.ansible.com/t/v2-hacking-broken/18788)

<div class="topic-metadata">

**Author:** [@rick.mendes4](https://forum.ansible.com/u/rick.mendes4)\
**Replies:** 3\
**Last updated:** [July 17, 2015, 11:29am UTC](https://forum.ansible.com/t/v2-hacking-broken/18788 "2015-07-17T11:29:50Z")

</div>

I grabbed the latest sources today from the ansible repository so I could test a module. After the module tested out fine with v1, I tried testing it with v2. I ran into problems with the test-module script. I’ll use a …

---

## [LDAP modules](https://forum.ansible.com/t/ldap-modules/15898)

<div class="topic-metadata">

**Author:** [@Peter\_Sagerson](https://forum.ansible.com/u/Peter_Sagerson)\
**Replies:** 2\
**Last updated:** [July 17, 2015, 10:45am UTC](https://forum.ansible.com/t/ldap-modules/15898 "2015-07-17T10:45:24Z")

</div>

Hello, I’m working on an Ansible project that requires bootstrapping an LDAP directory. In my case, the goal is to set up an LDAP service in the same way one would set up MySQL or any other data store. Since Ansible doe…

---

## [Ansible: extrating IP address from CIDR(192.168.21.x/24)](https://forum.ansible.com/t/ansible-extrating-ip-address-from-cidr-192-168-21-x-24/18790)

<div class="topic-metadata">

**Author:** [@Victor1](https://forum.ansible.com/u/Victor1)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 6:16am UTC](https://forum.ansible.com/t/ansible-extrating-ip-address-from-cidr-192-168-21-x-24/18790 "2015-07-17T06:16:09Z")

</div>

I have a variable name something like this defined in json format. “zxc\_address” : “192.168.21.x/24” and i need to extract the IP address part(192.168.21.x) using ansible(yaml code) what is the simple solution for that…

---

## [Playbook fails if nothing matches?](https://forum.ansible.com/t/playbook-fails-if-nothing-matches/18510)

<div class="topic-metadata">

**Author:** [@ajtalbot1](https://forum.ansible.com/u/ajtalbot1)\
**Replies:** 9\
**Last updated:** [July 15, 2015, 11:27pm UTC](https://forum.ansible.com/t/playbook-fails-if-nothing-matches/18510 "2015-07-15T23:27:11Z")

</div>

Dumb n00b question. I am trying to run several play books against one system. If any one of the play books fails, Ansible exits with an RC = 1. I think I have it distilled this down to the below code: \[root@pdxvnxutil a…

---

## [Docker connection plugin](https://forum.ansible.com/t/docker-connection-plugin/18766)

<div class="topic-metadata">

**Author:** [@Leendert\_B](https://forum.ansible.com/u/Leendert_B)\
**Replies:** 0\
**Last updated:** [July 15, 2015, 8:24am UTC](https://forum.ansible.com/t/docker-connection-plugin/18766 "2015-07-15T08:24:41Z")

</div>

Hi all, I was looking for a way to configure Docker containers through Ansible (so effectively treating them as hosts), and I ran into this project by Lorin Hochstein: https://github.com/lorin/ansible-docker-connection …

---

## [Windows; adding option to perform default action on a file after win\_copy / win\_template](https://forum.ansible.com/t/windows-adding-option-to-perform-default-action-on-a-file-after-win-copy-win-template/18589)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 5\
**Last updated:** [July 15, 2015, 7:53am UTC](https://forum.ansible.com/t/windows-adding-option-to-perform-default-action-on-a-file-after-win-copy-win-template/18589 "2015-07-15T07:53:14Z")

</div>

I’ve been making use of the win\_template module a bit and the thing I use it for most is to create a file of registry entries which I then import using raw like this: raw: “reg.exe IMPORT {{ deployment\_files\_dir }}templ…

---

## [Using Ansible to calculate a total that aggregates a value across hosts in inventory](https://forum.ansible.com/t/using-ansible-to-calculate-a-total-that-aggregates-a-value-across-hosts-in-inventory/18748)

<div class="topic-metadata">

**Author:** [@Tim\_Chambers](https://forum.ansible.com/u/Tim_Chambers)\
**Replies:** 4\
**Last updated:** [July 14, 2015, 6:28pm UTC](https://forum.ansible.com/t/using-ansible-to-calculate-a-total-that-aggregates-a-value-across-hosts-in-inventory/18748 "2015-07-14T18:28:33Z")

</div>

I’m relatively new to Ansible. I’m looking for a pattern for gathering some custom, dynamic facts from hosts and then processing them locally. For instance, can anyone point me to an example of a simple play that runs df…

---

## [Concurrent running of ansible](https://forum.ansible.com/t/concurrent-running-of-ansible/18736)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 1\
**Last updated:** [July 14, 2015, 5:49pm UTC](https://forum.ansible.com/t/concurrent-running-of-ansible/18736 "2015-07-14T17:49:52Z")

</div>

Hello, I want to run ansible/ansible-playbook concurrent. But I don’t know if there may be an error? I have a python script. I tried it and there weren’t an errors, but maybe I did some wrong? \` import json import t…

---

## [Ansible v2 syntax errors Python 2.6](https://forum.ansible.com/t/ansible-v2-syntax-errors-python-2-6/18734)

<div class="topic-metadata">

**Author:** [@Ken\_Mitchell](https://forum.ansible.com/u/Ken_Mitchell)\
**Replies:** 3\
**Last updated:** [July 11, 2015, 7:59pm UTC](https://forum.ansible.com/t/ansible-v2-syntax-errors-python-2-6/18734 "2015-07-11T19:59:46Z")

</div>

I’m scratching my head. This is the first I’ve worked on v2, and with a fresh install from source (following http://docs.ansible.com/intro\_installation.html), I get \` ken ~/projects/ansible\_dev/ansible2 # ansible -v \[…

---

## [Executing Ansible from Java](https://forum.ansible.com/t/executing-ansible-from-java/18710)

<div class="topic-metadata">

**Author:** [@john](https://forum.ansible.com/u/john)\
**Replies:** 1\
**Last updated:** [July 9, 2015, 7:23pm UTC](https://forum.ansible.com/t/executing-ansible-from-java/18710 "2015-07-09T19:23:17Z")

</div>

Executing Ansible Command from Java without defining absolute path or etc… Open Source Project Ansible execution from Java without installing it…like Jar, or Spring Framework… How to execute Ansible commands (i.e. host…

---

## [Unarchive module verbosity](https://forum.ansible.com/t/unarchive-module-verbosity/17974)

<div class="topic-metadata">

**Author:** [@user87](https://forum.ansible.com/u/user87)\
**Replies:** 7\
**Last updated:** [July 8, 2015, 7:30am UTC](https://forum.ansible.com/t/unarchive-module-verbosity/17974 "2015-07-08T07:30:34Z")

</div>

Hello everyone! I’ve got a problem with “unarchive” core module. With the latest version 1.9 the behavior of the module changed. In ansible version 1.7.2 all gzip and tar archives were extracted with tar (or gtar) com…

---

## [jinja2 support for cloudformation module](https://forum.ansible.com/t/jinja2-support-for-cloudformation-module/17397)

<div class="topic-metadata">

**Author:** [@kuLa](https://forum.ansible.com/u/kuLa)\
**Replies:** 2\
**Last updated:** [July 7, 2015, 10:29pm UTC](https://forum.ansible.com/t/jinja2-support-for-cloudformation-module/17397 "2015-07-07T22:29:17Z")

</div>

Hi all, I’ve been doing deep integration for pure cloudformation stack with ansible and thought that it’ll be nice to have jinja support for it. Am I the first one which see benefits in having ex for loops in security …

---

## [Can modules use Pipe ?](https://forum.ansible.com/t/can-modules-use-pipe/18707)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 3\
**Last updated:** [July 7, 2015, 8:09pm UTC](https://forum.ansible.com/t/can-modules-use-pipe/18707 "2015-07-07T20:09:16Z")

</div>

Hi , I am developing a Ansible based product and so far so good. One of the problems that ansible might not be solving(i might be wrong) is piping the output from 1 module to the other module Example I have several p…

---

## [idempotency check when state=default](https://forum.ansible.com/t/idempotency-check-when-state-default/18690)

<div class="topic-metadata">

**Author:** [@michael2](https://forum.ansible.com/u/michael2)\
**Replies:** 0\
**Last updated:** [July 6, 2015, 5:33pm UTC](https://forum.ansible.com/t/idempotency-check-when-state-default/18690 "2015-07-06T17:33:09Z")

</div>

Hello, I am dealing with the devices (network switches) that are idempotent through their API. The devices check whether a proposed config change would alter the current configured state, and if it wouldn’t, then no cha…

---

## [Every task runs 2 time or is displayed 2 times?](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [July 4, 2015, 2:59am UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672 "2015-07-04T02:59:20Z")

</div>

Might be the expected behavior but every task now runs 2 times. \` $ ansible-playbook --ask-pass --ask-sudo-pass -i testing-servers linux-servers.yml --tags apts SSH password: SUDO password\[defaults to SSH password\]: …

---

## [need to iterate bunch of tasks with different input values](https://forum.ansible.com/t/need-to-iterate-bunch-of-tasks-with-different-input-values/18671)

<div class="topic-metadata">

**Author:** [@Jyoti\_Ranjan](https://forum.ansible.com/u/Jyoti_Ranjan)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 2:19pm UTC](https://forum.ansible.com/t/need-to-iterate-bunch-of-tasks-with-different-input-values/18671 "2015-07-03T14:19:43Z")

</div>

Hi, I have desire to run a bunch of tasks with different values but multiple times. Something like mentioned below: my-play.yml: task1 task 2 … … … Now, I want to call my-play.yml with with\_items. But it is being…

---

## [Escaping percent % sign in a module](https://forum.ansible.com/t/escaping-percent-sign-in-a-module/18609)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 10:10pm UTC](https://forum.ansible.com/t/escaping-percent-sign-in-a-module/18609 "2015-07-02T22:10:34Z")

</div>

Hi! I’ve written a module and am bumping up against an issue when I try to include a percent sign in one of the parameters, e.g.: supervisor\_prog: name: smlp-data user: smlp command: java blah-blah-blah environment:…

---

## [Updating the uri module](https://forum.ansible.com/t/updating-the-uri-module/18653)

<div class="topic-metadata">

**Author:** [@jmeickle](https://forum.ansible.com/u/jmeickle)\
**Replies:** 5\
**Last updated:** [July 2, 2015, 9:35pm UTC](https://forum.ansible.com/t/updating-the-uri-module/18653 "2015-07-02T21:35:23Z")

</div>

Hi! I’ve been using Ansible for about a month. I recently filed my first PR, and I’m hoping to continue the discussion now that it’s been merged: https://github.com/ansible/ansible-modules-core/pull/1634 The ‘get\_url’ m…

---

## [Add feature to cron module to support state enable/disable](https://forum.ansible.com/t/add-feature-to-cron-module-to-support-state-enable-disable/18661)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 7:51pm UTC](https://forum.ansible.com/t/add-feature-to-cron-module-to-support-state-enable-disable/18661 "2015-07-02T19:51:40Z")

</div>

Currently the cron module supports present/absent to add/delete a cron task. I’d like to add support for enable/disable where disable comments out the line and enable uncomments the line. We move cronjobs throughout our …

---

## [Add --force to skip var\_prompts and use default values](https://forum.ansible.com/t/add-force-to-skip-var-prompts-and-use-default-values/18593)

<div class="topic-metadata">

**Author:** [@Christian\_Strassle](https://forum.ansible.com/u/Christian_Strassle)\
**Replies:** 9\
**Last updated:** [July 2, 2015, 8:49am UTC](https://forum.ansible.com/t/add-force-to-skip-var-prompts-and-use-default-values/18593 "2015-07-02T08:49:14Z")

</div>

Hi Developers, It would be nice to have something like a --force or --batch option to skip var\_prompts and just go ahead with default values. What do you think? Kind regards, Chris

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

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