# Ansible Developer

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

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

**Page:** 38

---

## [Set fact based on particular condition of list variable not working](https://forum.ansible.com/t/set-fact-based-on-particular-condition-of-list-variable-not-working/27096)

<div class="topic-metadata">

**Author:** [@Mohammed\_Yasar\_Aktha](https://forum.ansible.com/u/Mohammed_Yasar_Aktha)\
**Replies:** 2\
**Last updated:** [March 23, 2018, 6:01pm UTC](https://forum.ansible.com/t/set-fact-based-on-particular-condition-of-list-variable-not-working/27096 "2018-03-23T18:01:38Z")

</div>

I have vars file as below --- builds: - 10350.0.0 - 10351.0.0 - 10352.0.0 - 10360.0.0 - 10361.0.0 - 10362.0.0 - 10363.0.0 - 10364.0.0 - 10365.0.0 - 10366.0.0 - 10367.0.0 - 10368.0.0 - 10370.0.0 - 10371.0.0…

---

## [Ansible API how to use "get\_config" in Ansible 2.5.0](https://forum.ansible.com/t/ansible-api-how-to-use-get-config-in-ansible-2-5-0/27098)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [March 23, 2018, 5:48pm UTC](https://forum.ansible.com/t/ansible-api-how-to-use-get-config-in-ansible-2-5-0/27098 "2018-03-23T17:48:10Z")

</div>

You don't use get\_config, you use self.get\_option('optoinname'), see shipped plugins for how to define options inside the DOCUMENTATION= variable for the config system to automatically recognize them.

---

## [Ansible 2.5.0 Final is available](https://forum.ansible.com/t/ansible-2-5-0-final-is-available/27094)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [March 23, 2018, 4:07pm UTC](https://forum.ansible.com/t/ansible-2-5-0-final-is-available/27094 "2018-03-23T16:07:07Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.0 is now available! How do you get it?

---

## [How can I make this work?](https://forum.ansible.com/t/how-can-i-make-this-work/26518)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 10:19pm UTC](https://forum.ansible.com/t/how-can-i-make-this-work/26518 "2018-03-22T22:19:57Z")

</div>

Hi! I’m still learning Ansible. I need help with recursively replacing strings in a directory. Will this code work? - replace: dest: "/home/ansible/cloning/\*" regexp: "{{ansible\_hostname}}" replace: "{{ansible\_syste…

---

## [Is it acceptable to call 'ansible-playbook' from an Ansible role?](https://forum.ansible.com/t/is-it-acceptable-to-call-ansible-playbook-from-an-ansible-role/27068)

<div class="topic-metadata">

**Author:** [@rhino](https://forum.ansible.com/u/rhino)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:11pm UTC](https://forum.ansible.com/t/is-it-acceptable-to-call-ansible-playbook-from-an-ansible-role/27068 "2018-03-22T18:11:59Z")

</div>

I would like some other’s thoughts on calling ‘ansible-playbook’ from within an Ansible role - essentially calling Ansible from Ansible. It certainly looks strange…but it works. And I’m not sure of another way to go abou…

---

## [Ansible custom module error](https://forum.ansible.com/t/ansible-custom-module-error/27076)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:04pm UTC](https://forum.ansible.com/t/ansible-custom-module-error/27076 "2018-03-22T18:04:25Z")

</div>

Hi All, I have written a custom module touch.bash to create a file and trying to run using yaml file . Getting this error No such file or directory\\r\\n/root/.ansible/tmp/ansible-tmp…

---

## [\[WARNING\]: Error in vault password file loading (default)](https://forum.ansible.com/t/warning-error-in-vault-password-file-loading-default/27035)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 5:57pm UTC](https://forum.ansible.com/t/warning-error-in-vault-password-file-loading-default/27035 "2018-03-22T17:57:55Z")

</div>

Hi All, Request you help, after upgrade ansible to 2.6 -devel the password vault is not working as expected, and getting the below error, before the upgrade it was working fine without any issues. ansible-playbook /hom…

---

## [Diskpart for Windows](https://forum.ansible.com/t/diskpart-for-windows/27051)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 5:01pm UTC](https://forum.ansible.com/t/diskpart-for-windows/27051 "2018-03-21T17:01:41Z")

</div>

Hello, I am working on deploying some Server 2016 machines with an awx playbook. I am adding a data volume but I am noticing that server 2016 is not formatting the disk like Server 2012 does. With 2012 all I need to do …

---

## [Creation of tables failing when done SHELL Module of Ansible on PostgreSQL](https://forum.ansible.com/t/creation-of-tables-failing-when-done-shell-module-of-ansible-on-postgresql/27038)

<div class="topic-metadata">

**Author:** [@Tushar\_Dudhade](https://forum.ansible.com/u/Tushar_Dudhade)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 2:20pm UTC](https://forum.ansible.com/t/creation-of-tables-failing-when-done-shell-module-of-ansible-on-postgresql/27038 "2018-03-21T14:20:24Z")

</div>

I wrote the shell script to be run over the PostgreSQL to create tables in a particular database schema. For users, db and schema creation I am using PostgrSQL Ansible modules but for tables creation I am using the shell…

---

## [\[Urgent help\] Ansible for fetching and comparing windows OS configuration, performance stats](https://forum.ansible.com/t/urgent-help-ansible-for-fetching-and-comparing-windows-os-configuration-performance-stats/26939)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 5\
**Last updated:** [March 20, 2018, 6:46am UTC](https://forum.ansible.com/t/urgent-help-ansible-for-fetching-and-comparing-windows-os-configuration-performance-stats/26939 "2018-03-20T06:46:18Z")

</div>

Hi All, Is there a way to use Ansible to fetch Windows OS specific configuration using Ansible on demand ? Is there a way to fetch OS updates, Open Ports, Windows Running Services list? Is there a way to monitor Windo…

---

## [Libraries for managing influxdb](https://forum.ansible.com/t/libraries-for-managing-influxdb/27043)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 0\
**Last updated:** [March 19, 2018, 6:27pm UTC](https://forum.ansible.com/t/libraries-for-managing-influxdb/27043 "2018-03-19T18:27:54Z")

</div>

We are rolling out influx and I noticed there are libraries for managing databases and retention policies but not continuous queries. http://docs.ansible.com/ansible/latest/influxdb\_database\_module.html http://docs.ans…

---

## [openstack os\_server\_facts: some of openstack\_servers entries partially replaced by asterisks](https://forum.ansible.com/t/openstack-os-server-facts-some-of-openstack-servers-entries-partially-replaced-by-asterisks/27029)

<div class="topic-metadata">

**Author:** [@git.user](https://forum.ansible.com/u/git.user)\
**Replies:** 2\
**Last updated:** [March 19, 2018, 6:17am UTC](https://forum.ansible.com/t/openstack-os-server-facts-some-of-openstack-servers-entries-partially-replaced-by-asterisks/27029 "2018-03-19T06:17:17Z")

</div>

Hello. I just wrote a trivial snippet which uses ‘os\_server\_facts’ module to collect VM info. Snippet itself works fine but output a bit confusing me. It looks like this: “openstack\_servers”: \[ { “HUMAN\_ID”: true, …

---

## [Repeat a task based on a csv string from extra\_var](https://forum.ansible.com/t/repeat-a-task-based-on-a-csv-string-from-extra-var/26989)

<div class="topic-metadata">

**Author:** [@GoFigure](https://forum.ansible.com/u/GoFigure)\
**Replies:** 2\
**Last updated:** [March 19, 2018, 6:16am UTC](https://forum.ansible.com/t/repeat-a-task-based-on-a-csv-string-from-extra-var/26989 "2018-03-19T06:16:20Z")

</div>

Hello All, I am a complete newbie and have only spent hours reading about ansible and topics this forum. I have been (un;)fortunate to work with ansible devs, so haven’t had to get my hands dirty. Anyway here I am and r…

---

## [A Question Regarding Community Module Pull Request Process](https://forum.ansible.com/t/a-question-regarding-community-module-pull-request-process/27032)

<div class="topic-metadata">

**Author:** [@John\_Roach](https://forum.ansible.com/u/John_Roach)\
**Replies:** 0\
**Last updated:** [March 18, 2018, 3:14pm UTC](https://forum.ansible.com/t/a-question-regarding-community-module-pull-request-process/27032 "2018-03-18T15:14:35Z")

</div>

Hi! I created a pull request for a community module https://github.com/ansible/ansible/pull/37445 Per the ISSUE\_HELP documentation (https://github.com/ansible/ansibullbot/blob/master/ISSUE\_HELP.md#for-pull-request-subm…

---

## [Ansible 2.5.0 Release Candidate 3 is available](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-3-is-available/27009)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [March 18, 2018, 12:25pm UTC](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-3-is-available/27009 "2018-03-18T12:25:42Z")

</div>

Hi all- we’re happy to announce that Release Candidate 3 of Ansible 2.5.0 is now available! How do you get it?

---

## [powershell debug with complex\_args list](https://forum.ansible.com/t/powershell-debug-with-complex-args-list/26974)

<div class="topic-metadata">

**Author:** [@Guillem\_Sola](https://forum.ansible.com/u/Guillem_Sola)\
**Replies:** 2\
**Last updated:** [March 14, 2018, 5:35pm UTC](https://forum.ansible.com/t/powershell-debug-with-complex-args-list/26974 "2018-03-14T17:35:21Z")

</div>

Hi, I was trying to debug and understand how ansible handles what it is in the yml and how it is transformed in powershell. I came up with this test example where I have this structure add\_children: beer: name: Ans…

---

## [new developer: make deb](https://forum.ansible.com/t/new-developer-make-deb/26934)

<div class="topic-metadata">

**Author:** [@Altug\_Tekin](https://forum.ansible.com/u/Altug_Tekin)\
**Replies:** 5\
**Last updated:** [March 12, 2018, 8:39am UTC](https://forum.ansible.com/t/new-developer-make-deb/26934 "2018-03-12T08:39:31Z")

</div>

Hi, I am new to the Ansible github project. Hope this is not a stupid question… I want to get accustomed to the basic development workflow on my local machine. I checked out the github repository and executed make deb…

---

## [Ansible 2.5.0 Release Candidate 2 is available](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-2-is-available/26941)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [March 9, 2018, 7:57am UTC](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-2-is-available/26941 "2018-03-09T07:57:37Z")

</div>

Hi all- we’re happy to announce that Release Candidate 2 of Ansible 2.5.0 is now available! How do you get it?

---

## [Content from multiple hosts to one file](https://forum.ansible.com/t/content-from-multiple-hosts-to-one-file/26921)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 1\
**Last updated:** [March 9, 2018, 5:40am UTC](https://forum.ansible.com/t/content-from-multiple-hosts-to-one-file/26921 "2018-03-09T05:40:29Z")

</div>

Hi to all, I need to generate some file, and inside that file is some content from multiple hosts. I’ve done that using template module, so I generate one file on every host, delegate that to localhost, and with assemb…

---

## [Feature enhancement: Azure KeyVault Keys and Secrets](https://forum.ansible.com/t/feature-enhancement-azure-keyvault-keys-and-secrets/26924)

<div class="topic-metadata">

**Author:** [@Amanvir\_Mundra](https://forum.ansible.com/u/Amanvir_Mundra)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 4:54pm UTC](https://forum.ansible.com/t/feature-enhancement-azure-keyvault-keys-and-secrets/26924 "2018-03-07T16:54:00Z")

</div>

Hi. I am very new to Ansible but I have a good experience in programming in general. I am orchestrating infra and services on Azure using Ansible but I have hit a bit of a limitation when I needed to retrieve Account Ke…

---

## [networking / enable / privilege level](https://forum.ansible.com/t/networking-enable-privilege-level/26922)

<div class="topic-metadata">

**Author:** [@serhii.bolotin](https://forum.ansible.com/u/serhii.bolotin)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 3:40pm UTC](https://forum.ansible.com/t/networking-enable-privilege-level/26922 "2018-03-07T15:40:23Z")

</div>

Hi, Is it possible to specify the privilege level for enable command? For example, when you enter the enable command, you enter the system enable password, and the cisco asa places you in level 15 by default. I’d like …

---

## [What's wrong with my PR ?](https://forum.ansible.com/t/whats-wrong-with-my-pr/26894)

<div class="topic-metadata">

**Author:** [@Rey\_Remi](https://forum.ansible.com/u/Rey_Remi)\
**Replies:** 2\
**Last updated:** [March 6, 2018, 7:59am UTC](https://forum.ansible.com/t/whats-wrong-with-my-pr/26894 "2018-03-06T07:59:31Z")

</div>

Hello all, I am wondering if there is something wrong with my PR: https://github.com/ansible/ansible/pull/34246 It was submitted long ago (over a month) and I only got a review yesterday from a community member, but it…

---

## [is nested yaml inventory file for ansible supported?](https://forum.ansible.com/t/is-nested-yaml-inventory-file-for-ansible-supported/24115)

<div class="topic-metadata">

**Author:** [@vinod\_kumar4](https://forum.ansible.com/u/vinod_kumar4)\
**Replies:** 5\
**Last updated:** [March 2, 2018, 5:18pm UTC](https://forum.ansible.com/t/is-nested-yaml-inventory-file-for-ansible-supported/24115 "2018-03-02T17:18:52Z")

</div>

Hi Guys, I’m trying to use a yaml file as inventory file which looks like below: prod: webserver: hosts: example1.com db\_servers: hosts: example2.com example3.com stag: webserver: hosts: example3.com It doe…

---

## [Openstack shelve instance](https://forum.ansible.com/t/openstack-shelve-instance/26884)

<div class="topic-metadata">

**Author:** [@baldwint](https://forum.ansible.com/u/baldwint)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 4:33am UTC](https://forum.ansible.com/t/openstack-shelve-instance/26884 "2018-03-02T04:33:10Z")

</div>

Would anyone know if the module os\_server\_action will be updated to support instance shelve and unshelve, or if there’s another module that supports openstack instance shelving?

---

## [Module for DataPower](https://forum.ansible.com/t/module-for-datapower/23484)

<div class="topic-metadata">

**Author:** [@Ernesto\_Diaz\_Miranda](https://forum.ansible.com/u/Ernesto_Diaz_Miranda)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 12:26am UTC](https://forum.ansible.com/t/module-for-datapower/23484 "2018-03-02T00:26:09Z")

</div>

I have experience in both IBM DataPower and python, and I would like to do something with python beyond the traditional scripts. I am going to start to develop the Ansible module for IBM DataPower, but I’d like to ask yo…

---

## [ANSIBALLZ\_WRAPPER is not recognized as the name \\r\\nof a cmdlet](https://forum.ansible.com/t/ansiballz-wrapper-is-not-recognized-as-the-name-r-nof-a-cmdlet/26865)

<div class="topic-metadata">

**Author:** [@Guillem\_Sola](https://forum.ansible.com/u/Guillem_Sola)\
**Replies:** 5\
**Last updated:** [February 28, 2018, 11:35pm UTC](https://forum.ansible.com/t/ansiballz-wrapper-is-not-recognized-as-the-name-r-nof-a-cmdlet/26865 "2018-02-28T23:35:05Z")

</div>

Hi, I’m trying to run some integration tests from ubuntu against a windows10 host with ./ansible-test windows-integration -v win\_xml --allow-destructive Test tasks starts but it complains fatal: \[windows10\]: FAILED! …

---

## [How best to submit new modules requiring AWS permission changes?](https://forum.ansible.com/t/how-best-to-submit-new-modules-requiring-aws-permission-changes/26844)

<div class="topic-metadata">

**Author:** [@Ed\_C](https://forum.ansible.com/u/Ed_C)\
**Replies:** 0\
**Last updated:** [February 25, 2018, 2:24am UTC](https://forum.ansible.com/t/how-best-to-submit-new-modules-requiring-aws-permission-changes/26844 "2018-02-25T02:24:04Z")

</div>

I’m currently finishing off a couple of new modules to control additional AWS services (specifically the Simple Email Service). Because these are interacting with new services they require new permissions to be granted f…

---

## [callback\_plugin: get list of hosts in \_\_init\_\_](https://forum.ansible.com/t/callback-plugin-get-list-of-hosts-in-init/26775)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 3\
**Last updated:** [February 24, 2018, 5:49am UTC](https://forum.ansible.com/t/callback-plugin-get-list-of-hosts-in-init/26775 "2018-02-24T05:49:00Z")

</div>

I am developing a custom callback plugin. I need to know the computed list of hosts in the constructor (i.e. the \_\_init\_\_method of my CallbackModule). This should be all hosts currently limited, not necessarily which h…

---

## [Ansible 2.5.0 Release Candidate 1 is available](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-1-is-available/26833)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 23, 2018, 2:05am UTC](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-1-is-available/26833 "2018-02-23T02:05:27Z")

</div>

Hi all- we’re happy to announce that Release Candidate 1 of Ansible 2.5.0 is now available! How do you get it?

---

## [Ansible 2.4.0 RC1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-0-rc1-is-ready-for-testing/26818)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 1\
**Last updated:** [February 22, 2018, 7:05am UTC](https://forum.ansible.com/t/ansible-2-4-0-rc1-is-ready-for-testing/26818 "2018-02-22T07:05:25Z")

</div>

Hi all, we're happy to announce that Beta1 for 2.4.4 is now available for testing. How do you get it?

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

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