# Ansible Developer

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

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

**Page:** 46

---

## [STACK\_STATUS.YML-------------------VERIFY END TO END INDEX RESPONSE--shows error](https://forum.ansible.com/t/stack-status-yml-verify-end-to-end-index-response-shows-error/24551)

<div class="topic-metadata">

**Author:** [@devopsaws.santhosh](https://forum.ansible.com/u/devopsaws.santhosh)\
**Replies:** 0\
**Last updated:** [May 23, 2017, 1:13pm UTC](https://forum.ansible.com/t/stack-status-yml-verify-end-to-end-index-response-shows-error/24551 "2017-05-23T13:13:36Z")

</div>

when i check the stack\_status end to end response shows error ansible–playbook: hosts: control tasks: name: verify end-to-end index response uri: url=http://{{item}} return\_content=yes with\_items: groups.loadba…

---

## [Set backup date format for Ansible template module](https://forum.ansible.com/t/set-backup-date-format-for-ansible-template-module/24514)

<div class="topic-metadata">

**Author:** [@Ashok\_Chauhan](https://forum.ansible.com/u/Ashok_Chauhan)\
**Replies:** 0\
**Last updated:** [May 18, 2017, 2:38pm UTC](https://forum.ansible.com/t/set-backup-date-format-for-ansible-template-module/24514 "2017-05-18T14:38:41Z")

</div>

How do you change the date format for files that Ansible’s template module creates when you use the backup option? For example, the command: template: src=supervisord.conf.j2 dest=/etc/supervisor/supervisord.conf backu…

---

## [win\_user is not repeatable](https://forum.ansible.com/t/win-user-is-not-repeatable/24510)

<div class="topic-metadata">

**Author:** [@gary\_mcwilliams](https://forum.ansible.com/u/gary_mcwilliams)\
**Replies:** 1\
**Last updated:** [May 18, 2017, 9:21am UTC](https://forum.ansible.com/t/win-user-is-not-repeatable/24510 "2017-05-18T09:21:13Z")

</div>

A minimal playbook --- # vim: set filetype=ansible ff=unix ts=2 sw=2 ai expandtab : # # Playbook to configure the environment - hosts: createuser tasks: - name: create user run\_once: true win\_user: …

---

## [Destination home not writable](https://forum.ansible.com/t/destination-home-not-writable/24505)

<div class="topic-metadata">

**Author:** [@devopsaws.santhosh](https://forum.ansible.com/u/devopsaws.santhosh)\
**Replies:** 0\
**Last updated:** [May 17, 2017, 5:46pm UTC](https://forum.ansible.com/t/destination-home-not-writable/24505 "2017-05-17T17:46:11Z")

</div>

I'm getting a file by using get\_url gave link and dest also normal sensible playbook run successfully when i run through Jenkins it's show the error while getting URL and placing to a created directory path. How can I r…

---

## [merging fact refactor/update to devel soon](https://forum.ansible.com/t/merging-fact-refactor-update-to-devel-soon/24495)

<div class="topic-metadata">

**Author:** [@alikins](https://forum.ansible.com/u/alikins)\
**Replies:** 0\
**Last updated:** [May 16, 2017, 2:38pm UTC](https://forum.ansible.com/t/merging-fact-refactor-update-to-devel-soon/24495 "2017-05-16T14:38:41Z")

</div>

I will be merging the facts re-freshening branch to devel/ relatively soon. Hopefully this will not cause any problems, as far as I know this should not cause any breakage. https://github.com/ansible/ansible/pull/2301…

---

## [Request for Comments on ideas for a new Ansible Inventory \`2.0'](https://forum.ansible.com/t/request-for-comments-on-ideas-for-a-new-ansible-inventory-2-0/23477)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 5\
**Last updated:** [May 15, 2017, 3:35pm UTC](https://forum.ansible.com/t/request-for-comments-on-ideas-for-a-new-ansible-inventory-2-0/23477 "2017-05-15T15:35:08Z")

</div>

Dear All, I have been brainstorming for a while, on what should or could be done in redesigning a new Ansible Inventory. I did write up my ideas, in three blog posts, scattered over the last three months, which you can …

---

## [Possible 2.3 regression using any\_errors\_fatal and tasks under roles](https://forum.ansible.com/t/possible-2-3-regression-using-any-errors-fatal-and-tasks-under-roles/24454)

<div class="topic-metadata">

**Author:** [@Ed1](https://forum.ansible.com/u/Ed1)\
**Replies:** 1\
**Last updated:** [May 10, 2017, 10:34pm UTC](https://forum.ansible.com/t/possible-2-3-regression-using-any-errors-fatal-and-tasks-under-roles/24454 "2017-05-10T22:34:48Z")

</div>

In 2.3, there’s a possible regression with any\_errors\_fatal and tasks in roles. https://github.com/ansible/ansible/issues/14100 says to bring the question to the list, so here I am. In 2.3: $ ansible-playbook -i inven…

---

## [Feature Idea: Integrate/introduce group\_vars concept into roles](https://forum.ansible.com/t/feature-idea-integrate-introduce-group-vars-concept-into-roles/24456)

<div class="topic-metadata">

**Author:** [@james3](https://forum.ansible.com/u/james3)\
**Replies:** 0\
**Last updated:** [May 10, 2017, 10:31pm UTC](https://forum.ansible.com/t/feature-idea-integrate-introduce-group-vars-concept-into-roles/24456 "2017-05-10T22:31:48Z")

</div>

Made this feature idea: Wanted to hear the community thoughts: https://github.com/ansible/ansible/issues/24473

---

## [Sensitive parameters in windows modules](https://forum.ansible.com/t/sensitive-parameters-in-windows-modules/24448)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 0\
**Last updated:** [May 10, 2017, 2:15pm UTC](https://forum.ansible.com/t/sensitive-parameters-in-windows-modules/24448 "2017-05-10T14:15:20Z")

</div>

In linux modules you can specify a parameter as no\_log like this: module = AnsibleModule( argument\_spec = dict( host=dict(default=“localhost”), user=dict(required=True), password=dict(required=True, no\_log=True), ) …

---

## [sensu\_subscription module is broken on removing subscription - only the first time works.](https://forum.ansible.com/t/sensu-subscription-module-is-broken-on-removing-subscription-only-the-first-time-works/24443)

<div class="topic-metadata">

**Author:** [@James\_Kang](https://forum.ansible.com/u/James_Kang)\
**Replies:** 0\
**Last updated:** [May 10, 2017, 6:50am UTC](https://forum.ansible.com/t/sensu-subscription-module-is-broken-on-removing-subscription-only-the-first-time-works/24443 "2017-05-10T06:50:41Z")

</div>

Hi sensu-subscription module seems broken if you try “remove” playbook twice. I had to patch the module and it worked. Please someone can verify and fix upstream - that would be awesome. Thanks in advance \[user@host:…

---

## [vsphere\_guest only supports vcenter?](https://forum.ansible.com/t/vsphere-guest-only-supports-vcenter/16123)

<div class="topic-metadata">

**Author:** [@nathan.sosnovske](https://forum.ansible.com/u/nathan.sosnovske)\
**Replies:** 10\
**Last updated:** [May 10, 2017, 1:00am UTC](https://forum.ansible.com/t/vsphere-guest-only-supports-vcenter/16123 "2017-05-10T01:00:43Z")

</div>

Hey All, I was playing around with the vsphere\_guest module today and it appears that it only supports creating VMs if the ESXi host is actually joined to vcenter. I don’t think that this is a limitation of pysphere. At…

---

## [iterate over an array of dicts: find and register one of them](https://forum.ansible.com/t/iterate-over-an-array-of-dicts-find-and-register-one-of-them/24407)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 2\
**Last updated:** [May 9, 2017, 8:39pm UTC](https://forum.ansible.com/t/iterate-over-an-array-of-dicts-find-and-register-one-of-them/24407 "2017-05-09T20:39:24Z")

</div>

I have an array of dicts that came from the dnsmadeeasy module. I need to find the spf record. The SPF record is a TXT record that begins ‘v=spf1’ and then continues on. I need to get the record, modify it, and put it b…

---

## [Feature idea, issue #22473](https://forum.ansible.com/t/feature-idea-issue-22473/24428)

<div class="topic-metadata">

**Author:** [@Ankit\_Yadav](https://forum.ansible.com/u/Ankit_Yadav)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 3:15pm UTC](https://forum.ansible.com/t/feature-idea-issue-22473/24428 "2017-05-09T15:15:55Z")

</div>

Hi everyone, I want to discuss the feature idea mentioned in github issue #22473. I am planning to work on this feature but I think its a good idea to discuss it here first. Thanks! Regards, Ankit Yadav (ankity10)

---

## [Multiple new modules](https://forum.ansible.com/t/multiple-new-modules/24377)

<div class="topic-metadata">

**Author:** [@Georgios\_Nikolopoulo](https://forum.ansible.com/u/Georgios_Nikolopoulo)\
**Replies:** 2\
**Last updated:** [May 9, 2017, 8:04am UTC](https://forum.ansible.com/t/multiple-new-modules/24377 "2017-05-09T08:04:07Z")

</div>

Hi all, I am currently developing some modules for Citrix NetScaler. You can find the repo at https://github.com/citrix/netscaler-ansible-modules It is quite a lot of code and I was wondering how to start the process …

---

## [Python Script Module](https://forum.ansible.com/t/python-script-module/24422)

<div class="topic-metadata">

**Author:** [@Scott\_Munday](https://forum.ansible.com/u/Scott_Munday)\
**Replies:** 0\
**Last updated:** [May 8, 2017, 10:58pm UTC](https://forum.ansible.com/t/python-script-module/24422 "2017-05-08T22:58:52Z")

</div>

I created a plugin I use professionally to run Python scripts within an Ansible context. Let me know what y’all think. https://github.com/ihatemundays/ansible-python-script-module

---

## [Requesting modules to manage Github/Bitbucket/Gitlab deploy keys](https://forum.ansible.com/t/requesting-modules-to-manage-github-bitbucket-gitlab-deploy-keys/23359)

<div class="topic-metadata">

**Author:** [@Ali\_I](https://forum.ansible.com/u/Ali_I)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 8:20pm UTC](https://forum.ansible.com/t/requesting-modules-to-manage-github-bitbucket-gitlab-deploy-keys/23359 "2017-05-07T20:20:37Z")

</div>

Previously, issue 2626 was opened in the ansible-modules-core repository requesting a module for managing Github deploy keys, but it was never developed. Currently, this can be accomplished using the uri module, however…

---

## [Add 2 CLI options --list-tasks-json and --list-tasks-with-path](https://forum.ansible.com/t/add-2-cli-options-list-tasks-json-and-list-tasks-with-path/24298)

<div class="topic-metadata">

**Author:** [@Corey\_Quon](https://forum.ansible.com/u/Corey_Quon)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 6:29pm UTC](https://forum.ansible.com/t/add-2-cli-options-list-tasks-json-and-list-tasks-with-path/24298 "2017-05-07T18:29:17Z")

</div>

I would like to add a couple of CLI options to “ansible-playbook” to help with some integration: Reasoning: For some integration, we would like to have a unique way to identify every task in an ansible playbook, howeve…

---

## [When conditions doesn't work from ansible ansible-2.2.1.0-1.el7.noarch to ansible-2.3](https://forum.ansible.com/t/when-conditions-doesnt-work-from-ansible-ansible-2-2-1-0-1-el7-noarch-to-ansible-2-3/24371)

<div class="topic-metadata">

**Author:** [@Martino\_Vigano](https://forum.ansible.com/u/Martino_Vigano)\
**Replies:** 2\
**Last updated:** [May 3, 2017, 10:28am UTC](https://forum.ansible.com/t/when-conditions-doesnt-work-from-ansible-ansible-2-2-1-0-1-el7-noarch-to-ansible-2-3/24371 "2017-05-03T10:28:03Z")

</div>

Hi, I have a Centos7 central ansible server with version ansible-2.2.1.0 I have this code that works on version 2.2.1.0

---

## [Python Annoying error when connecting to target machines](https://forum.ansible.com/t/python-annoying-error-when-connecting-to-target-machines/24382)

<div class="topic-metadata">

**Author:** [@Anthony\_Youssef](https://forum.ansible.com/u/Anthony_Youssef)\
**Replies:** 0\
**Last updated:** [May 2, 2017, 5:31pm UTC](https://forum.ansible.com/t/python-annoying-error-when-connecting-to-target-machines/24382 "2017-05-02T17:31:04Z")

</div>

Hi, i am facing an error that is blocking my work on ansible. i am trying to connect from my control machine to a big number of hosts to execute remote commands (around 1000 hosts). some of these target hosts didn’t ha…

---

## [include\_role variables scoping issue](https://forum.ansible.com/t/include-role-variables-scoping-issue/24370)

<div class="topic-metadata">

**Author:** [@Enrico\_Stahn](https://forum.ansible.com/u/Enrico_Stahn)\
**Replies:** 0\
**Last updated:** [May 2, 2017, 7:23am UTC](https://forum.ansible.com/t/include-role-variables-scoping-issue/24370 "2017-05-02T07:23:39Z")

</div>

Hi there, It appears the variables that are passed to a role from a play can’t be overridden in include\_role. Does anyone have this issue? Example: --- - name: test hosts: localhost connection: local gather\_fact…

---

## [Ansible Dyn inventory speed issue](https://forum.ansible.com/t/ansible-dyn-inventory-speed-issue/24366)

<div class="topic-metadata">

**Author:** [@chris4](https://forum.ansible.com/u/chris4)\
**Replies:** 5\
**Last updated:** [May 1, 2017, 9:35pm UTC](https://forum.ansible.com/t/ansible-dyn-inventory-speed-issue/24366 "2017-05-01T21:35:20Z")

</div>

Hi, I’m having issues with a dynamic inventory script I created for Solar Winds. It’s here, https://github.com/cbabs/solarwinds-ansible-inv. The script seems to work as expected. When I copy to hosts and run with --list…

---

## [Preserve virtual env for python when calling third party modules](https://forum.ansible.com/t/preserve-virtual-env-for-python-when-calling-third-party-modules/24358)

<div class="topic-metadata">

**Author:** [@Eric\_Salome](https://forum.ansible.com/u/Eric_Salome)\
**Replies:** 8\
**Last updated:** [May 1, 2017, 10:35am UTC](https://forum.ansible.com/t/preserve-virtual-env-for-python-when-calling-third-party-modules/24358 "2017-05-01T10:35:12Z")

</div>

Hi, I am writing third party modules in Python using the tag “#\<\<INCLUDE\_ANSIBLE\_MODULE\_COMMON\>\>” so that I get parameters for my modules in a nice ANSIBLE\_MODULE\_ARG= {… } json list, read by a call to AnsibleModule()…

---

## [Executing commands from Lookup Plugin in development](https://forum.ansible.com/t/executing-commands-from-lookup-plugin-in-development/24360)

<div class="topic-metadata">

**Author:** [@jparrill](https://forum.ansible.com/u/jparrill)\
**Replies:** 2\
**Last updated:** [April 30, 2017, 2:44pm UTC](https://forum.ansible.com/t/executing-commands-from-lookup-plugin-in-development/24360 "2017-04-30T14:44:46Z")

</div>

Hi there pals, I am developing a Lookup plugin and I’m trying to figure out which is the best way to execute a system command using the built-ins from Ansible utils. I am trying to use those libraries to call to a syst…

---

## [A question about a new OpenStack module](https://forum.ansible.com/t/a-question-about-a-new-openstack-module/24353)

<div class="topic-metadata">

**Author:** [@Tal\_Shafir](https://forum.ansible.com/u/Tal_Shafir)\
**Replies:** 6\
**Last updated:** [April 28, 2017, 6:55pm UTC](https://forum.ansible.com/t/a-question-about-a-new-openstack-module/24353 "2017-04-28T18:55:30Z")

</div>

Hi, I’m currently developing modules to automate the process of testing OpenStack with Tempest. In one of the modules, that configs Tempest, I’m using Tempest to interact with the target OpenStack. I’ve recently saw t…

---

## [getting value from command line](https://forum.ansible.com/t/getting-value-from-command-line/24349)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 0\
**Last updated:** [April 28, 2017, 8:40am UTC](https://forum.ansible.com/t/getting-value-from-command-line/24349 "2017-04-28T08:40:40Z")

</div>

Hi is there anyway i can get value from command line arguments for eg., my commadn line is ansible-playbook -i inv/sit1 playbooks/sit1/test.yml in test.yml i want to capture the value from inv/sit1 as sit1,

---

## [xml file as template](https://forum.ansible.com/t/xml-file-as-template/24339)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 0\
**Last updated:** [April 27, 2017, 2:04pm UTC](https://forum.ansible.com/t/xml-file-as-template/24339 "2017-04-27T14:04:37Z")

</div>

Is there a way I can make xml file as template? i have the following file content ${LOG\_DIR}/my-service.log \>${LOG\_DIR}/my-service.%d{yyyy-MM-dd}.log The value in RED wil lchange depends upon env, when i addded …

---

## [adding an the ability to do --security to the yum core module](https://forum.ansible.com/t/adding-an-the-ability-to-do-security-to-the-yum-core-module/24334)

<div class="topic-metadata">

**Author:** [@jerry1](https://forum.ansible.com/u/jerry1)\
**Replies:** 0\
**Last updated:** [April 27, 2017, 1:21am UTC](https://forum.ansible.com/t/adding-an-the-ability-to-do-security-to-the-yum-core-module/24334 "2017-04-27T01:21:23Z")

</div>

Hi, I have been doing a bunch of ansible stuff for my company recently. A team member came to me and said she really wants to be able to a “yum update --security” from ansible. Using a command: is always possible but gr…

---

## [debugging modules on ansible =\> 2.3.0](https://forum.ansible.com/t/debugging-modules-on-ansible-2-3-0/24305)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [April 26, 2017, 10:18am UTC](https://forum.ansible.com/t/debugging-modules-on-ansible-2-3-0/24305 "2017-04-26T10:18:35Z")

</div>

Previously we could configure ansible to leave files in the user’s temp dir in order to troubleshoot/debug Powershell modules. In 2.3.0 all of this got rewritten, so it seems that option is gone. Being able to troublesh…

---

## [Error to use SSH in Cisco Devices](https://forum.ansible.com/t/error-to-use-ssh-in-cisco-devices/24320)

<div class="topic-metadata">

**Author:** [@Rodrigo](https://forum.ansible.com/u/Rodrigo)\
**Replies:** 0\
**Last updated:** [April 26, 2017, 4:11am UTC](https://forum.ansible.com/t/error-to-use-ssh-in-cisco-devices/24320 "2017-04-26T04:11:16Z")

</div>

Hello Everyone, I am newbie for Ansible and I studying some features in order to do implementation based first of all to get specific configuration from Cisco Router, because after that if I can understand whole process…

---

## [Windows module args](https://forum.ansible.com/t/windows-module-args/24297)

<div class="topic-metadata">

**Author:** [@Sam1](https://forum.ansible.com/u/Sam1)\
**Replies:** 0\
**Last updated:** [April 24, 2017, 5:55pm UTC](https://forum.ansible.com/t/windows-module-args/24297 "2017-04-24T17:55:54Z")

</div>

Hi all, Apologies if this is basic but I'm not quite there with how Ansible calls Windows modules. I am looking to pick apart and test a module myself that calls parse-args and gives it the builtin $args variable (as mo…

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

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