# Ansible Developer

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

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

**Page:** 23

---

## [split FQDN](https://forum.ansible.com/t/split-fqdn/31548)

<div class="topic-metadata">

**Author:** [@Matti\_Herrmann](https://forum.ansible.com/u/Matti_Herrmann)\
**Replies:** 5\
**Last updated:** [October 27, 2019, 5:51pm UTC](https://forum.ansible.com/t/split-fqdn/31548 "2019-10-27T17:51:58Z")

</div>

Hello, I wan´t to split the hostname of my inventory hostnames. The hostnames have two or three subdomains. For Exampel “host.sub1.sub2.domain” I need two splits. One bevor the first dot (in our example: host) and one …

---

## [using json as a password for docker\_login module](https://forum.ansible.com/t/using-json-as-a-password-for-docker-login-module/31543)

<div class="topic-metadata">

**Author:** [@user57](https://forum.ansible.com/u/user57)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 8:36am UTC](https://forum.ansible.com/t/using-json-as-a-password-for-docker-login-module/31543 "2019-10-26T08:36:26Z")

</div>

I am trying to log into private docker container registry and I need to use a json-string as a password. So I do the following \` docker\_login: registry: cr.yandex username: json\_key password: “{{ lookup(‘file’, ‘key…

---

## [New Ansible release 2.9.0rc5](https://forum.ansible.com/t/new-ansible-release-2-9-0rc5/31533)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 9:24pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0rc5/31533 "2019-10-23T21:24:02Z")

</div>

Hi all- we’re happy to announce that Ansible 2.9.0rc5 is now available! This is anticipated as the final release candidate before Ansible 2.9.0 is generally available within the next week or so. How do you get it?

---

## [Facing problem while using Ansible for Open edX installation.](https://forum.ansible.com/t/facing-problem-while-using-ansible-for-open-edx-installation/31523)

<div class="topic-metadata">

**Author:** [@Waleed\_Khan](https://forum.ansible.com/u/Waleed_Khan)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 8:05am UTC](https://forum.ansible.com/t/facing-problem-while-using-ansible-for-open-edx-installation/31523 "2019-10-23T08:05:46Z")

</div>

I am trying to install ironwood.master using native installation method by following this link: https://openedx.atlassian.net/wiki/spaces/a/pages/146440579/Native+Open+edX+Ubuntu+16.04+64+bit+Installation For step 5 in …

---

## [How do we get the Devs attention?](https://forum.ansible.com/t/how-do-we-get-the-devs-attention/31458)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 1\
**Last updated:** [October 12, 2019, 9:29am UTC](https://forum.ansible.com/t/how-do-we-get-the-devs-attention/31458 "2019-10-12T09:29:04Z")

</div>

Some time ago I came across an problem with the vmware\_guest\_disk module. After extensive testing and research eventually found it was a known problem and there was an “issue” in github for the problem: https://github.co…

---

## [mapping json variable to list using set\_fact](https://forum.ansible.com/t/mapping-json-variable-to-list-using-set-fact/31454)

<div class="topic-metadata">

**Author:** [@Balasubramaniam\_M](https://forum.ansible.com/u/Balasubramaniam_M)\
**Replies:** 2\
**Last updated:** [October 11, 2019, 3:13pm UTC](https://forum.ansible.com/t/mapping-json-variable-to-list-using-set-fact/31454 "2019-10-11T15:13:55Z")

</div>

Hello All, I have register variable with below json as value and need to extract name and dn from this JSON to list. tried different options using set\_fact without any luck. Could you please someone help? this is really…

---

## [New Ansible release 2.9.0rc3](https://forum.ansible.com/t/new-ansible-release-2-9-0rc3/31452)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 10, 2019, 11:59pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0rc3/31452 "2019-10-10T23:59:02Z")

</div>

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

---

## [\--servicelevel option for redhat\_subscription module](https://forum.ansible.com/t/servicelevel-option-for-redhat-subscription-module/31426)

<div class="topic-metadata">

**Author:** [@Roland\_Ibanez](https://forum.ansible.com/u/Roland_Ibanez)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 2:17pm UTC](https://forum.ansible.com/t/servicelevel-option-for-redhat-subscription-module/31426 "2019-10-04T14:17:18Z")

</div>

Hello, An implementation of the --servicelevel option in the redhat-subscription module would be useful. That eliminates the need to add new pools, when buying new subscriptions from redhat. Regards

---

## [Learning Ansible - No exposure to Linux](https://forum.ansible.com/t/learning-ansible-no-exposure-to-linux/31420)

<div class="topic-metadata">

**Author:** [@Ramesh\_RK](https://forum.ansible.com/u/Ramesh_RK)\
**Replies:** 4\
**Last updated:** [October 4, 2019, 2:08pm UTC](https://forum.ansible.com/t/learning-ansible-no-exposure-to-linux/31420 "2019-10-04T14:08:16Z")

</div>

Hi All I am working on MS technologies from last 15 yrs, do have knowledge in scripting like PowerShell, VBS. Never worked on Linux in my career, and now planning to learn Ansible. Understand that it does required ‘bas…

---

## [New Ansible release 2.9.0rc2](https://forum.ansible.com/t/new-ansible-release-2-9-0rc2/31419)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 1:35am UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0rc2/31419 "2019-10-04T01:35:26Z")

</div>

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

---

## [Access group\_vars from custom module](https://forum.ansible.com/t/access-group-vars-from-custom-module/31413)

<div class="topic-metadata">

**Author:** [@Alexandru\_Obretin](https://forum.ansible.com/u/Alexandru_Obretin)\
**Replies:** 4\
**Last updated:** [October 3, 2019, 4:02pm UTC](https://forum.ansible.com/t/access-group-vars-from-custom-module/31413 "2019-10-03T16:02:24Z")

</div>

Hello, I am developing some custom Ansible modules used for configuring network TAPs and they basically rely on a HTTP connection. Therefore, I have designed a httapi plugin module and I want to get the group\_vars infor…

---

## [Using Ansible from host through bastion to private IP](https://forum.ansible.com/t/using-ansible-from-host-through-bastion-to-private-ip/31396)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 7:56pm UTC](https://forum.ansible.com/t/using-ansible-from-host-through-bastion-to-private-ip/31396 "2019-09-30T19:56:31Z")

</div>

Hello everyone! I have been an ansible and AWX user for years and love it!! I have a new project underway. I am running ansible from my mac. I need to connect to a private IP that is in a restricted VPC. I have a basti…

---

## [SAXParseException - AWS module](https://forum.ansible.com/t/saxparseexception-aws-module/31390)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 4:13am UTC](https://forum.ansible.com/t/saxparseexception-aws-module/31390 "2019-09-30T04:13:43Z")

</div>

hi team, please check the detailed issue mentioned in below github url can anyone help me to resolve it as we are facing in our production systems. ansible community github URL: https://github.com/ansible/ansible/issue…

---

## [How to edit after a specific line in a text file after searching](https://forum.ansible.com/t/how-to-edit-after-a-specific-line-in-a-text-file-after-searching/31388)

<div class="topic-metadata">

**Author:** [@Derek\_Chan](https://forum.ansible.com/u/Derek_Chan)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 2:37am UTC](https://forum.ansible.com/t/how-to-edit-after-a-specific-line-in-a-text-file-after-searching/31388 "2019-09-30T02:37:04Z")

</div>

Hi everyone, I am currently trying to automate the hardening of machines with the use of the audit.pol file from the group policy software. I have managed to automate the parsing of the file into a text file with the hel…

---

## [Ansible Cache Plugin - How do I validate what is actually in memory cache](https://forum.ansible.com/t/ansible-cache-plugin-how-do-i-validate-what-is-actually-in-memory-cache/31387)

<div class="topic-metadata">

**Author:** [@Edward\_Perry](https://forum.ansible.com/u/Edward_Perry)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 6:55pm UTC](https://forum.ansible.com/t/ansible-cache-plugin-how-do-i-validate-what-is-actually-in-memory-cache/31387 "2019-09-29T18:55:01Z")

</div>

So I have been writing an Elasticsearch Cache Plugin https://github.com/eperry/ansible-plugin-cache-elasticsearch So it is saving very well, and I can validate what I read/write to a file, elasticsearch. But how do I kn…

---

## [Ansible module debug](https://forum.ansible.com/t/ansible-module-debug/31385)

<div class="topic-metadata">

**Author:** [@user115](https://forum.ansible.com/u/user115)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 4:40am UTC](https://forum.ansible.com/t/ansible-module-debug/31385 "2019-09-29T04:40:20Z")

</div>

Hi, I’m trying to debug Ansible modules. I usually do this, for example. (args.json is parameters file) \` python ./ansible/lib/ansible/modules/source\_control/subversion.py ./args.json \` I tried to debug for “yum” …

---

## [Access inventory file content during connection plugin run](https://forum.ansible.com/t/access-inventory-file-content-during-connection-plugin-run/31363)

<div class="topic-metadata">

**Author:** [@Alexandru\_Obretin](https://forum.ansible.com/u/Alexandru_Obretin)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 3:47pm UTC](https://forum.ansible.com/t/access-inventory-file-content-during-connection-plugin-run/31363 "2019-09-25T15:47:19Z")

</div>

Hi, I have developed a httpapi connection plugin for Ansible and whenever I execute a playbook (ansible-playbook playbook.yml -i hosts) I run inside an extra ansible-inventory --list command to read the vars associated …

---

## [Dell EMC Unity/Unisphere with Ansible](https://forum.ansible.com/t/dell-emc-unity-unisphere-with-ansible/31331)

<div class="topic-metadata">

**Author:** [@Tanisha\_Mishra](https://forum.ansible.com/u/Tanisha_Mishra)\
**Replies:** 0\
**Last updated:** [September 22, 2019, 3:23am UTC](https://forum.ansible.com/t/dell-emc-unity-unisphere-with-ansible/31331 "2019-09-22T03:23:10Z")

</div>

Using the python module https://github.com/jialehuo/ansible-dellemc-unity/blob/master/library/dellemc\_unity.py , below have designed the playbook but am facing Request body errors. PLAYBOOK:

---

## [Issuew when doing a When conditional with win\_copy](https://forum.ansible.com/t/issuew-when-doing-a-when-conditional-with-win-copy/31308)

<div class="topic-metadata">

**Author:** [@TD1](https://forum.ansible.com/u/TD1)\
**Replies:** 4\
**Last updated:** [September 18, 2019, 5:52pm UTC](https://forum.ansible.com/t/issuew-when-doing-a-when-conditional-with-win-copy/31308 "2019-09-18T17:52:23Z")

</div>

Hello all, I am trying to do a conditional based on the output of a win\_shell. When I run this it’s as if it doesn’t see the conditional and copies to to all inventory not just what is coming back as True. Any ideas?

---

## [reading playbook vars from custom module?](https://forum.ansible.com/t/reading-playbook-vars-from-custom-module/31270)

<div class="topic-metadata">

**Author:** [@l\_vic](https://forum.ansible.com/u/l_vic)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 2:07pm UTC](https://forum.ansible.com/t/reading-playbook-vars-from-custom-module/31270 "2019-09-12T14:07:54Z")

</div>

Hello, Is there a way to read playbook vars such as:

---

## [Ansible Contributor Summit 7 (Part of AnsibleFest 2019 Atlanta)](https://forum.ansible.com/t/ansible-contributor-summit-7-part-of-ansiblefest-2019-atlanta/31263)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 4:49pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-7-part-of-ansiblefest-2019-atlanta/31263 "2019-09-11T16:49:38Z")

</div>

Hi everybody. As usual, the day before AnsibleFest we are hosting Contributor Summit. this will take place in Atlanta, though we welcome people to join virtually for some/all of the day. Ansible Contributor Summit is m…

---

## [Issue with password hash in user module when passing ByVal ???](https://forum.ansible.com/t/issue-with-password-hash-in-user-module-when-passing-byval/31256)

<div class="topic-metadata">

**Author:** [@Greg\_Pirker](https://forum.ansible.com/u/Greg_Pirker)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 11:58am UTC](https://forum.ansible.com/t/issue-with-password-hash-in-user-module-when-passing-byval/31256 "2019-09-11T11:58:01Z")

</div>

If I create a password hash using the following playbook and role: PLAYBOOK: hosts: localhost tasks: name: Call encrypt password role include\_role: name: encrypt\_password vars: oracle\_passwd: “{{survey\_password…

---

## [How can i get hosts variable value from ansible yaml file for a particular playbook to custom python module?](https://forum.ansible.com/t/how-can-i-get-hosts-variable-value-from-ansible-yaml-file-for-a-particular-playbook-to-custom-python-module/31247)

<div class="topic-metadata">

**Author:** [@thameem\_ansari](https://forum.ansible.com/u/thameem_ansari)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 10:52pm UTC](https://forum.ansible.com/t/how-can-i-get-hosts-variable-value-from-ansible-yaml-file-for-a-particular-playbook-to-custom-python-module/31247 "2019-09-10T22:52:49Z")

</div>

How can i get hosts variable value from ansible yaml file for a particular playbook to custom python module?

---

## [Using variables from custom script](https://forum.ansible.com/t/using-variables-from-custom-script/31213)

<div class="topic-metadata">

**Author:** [@Mikel](https://forum.ansible.com/u/Mikel)\
**Replies:** 3\
**Last updated:** [September 9, 2019, 2:49pm UTC](https://forum.ansible.com/t/using-variables-from-custom-script/31213 "2019-09-09T14:49:46Z")

</div>

Howdy all I have a playback that I want to run hourly to check for new hosts and I have a script that returns a variable of new and this host gets the yum update and yum reboot and then come around again this host varia…

---

## [Ansible release 2.9.0b1, feature freeze, and stable-2.9 branching](https://forum.ansible.com/t/ansible-release-2-9-0b1-feature-freeze-and-stable-2-9-branching/31218)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 6, 2019, 6:57pm UTC](https://forum.ansible.com/t/ansible-release-2-9-0b1-feature-freeze-and-stable-2-9-branching/31218 "2019-09-06T18:57:41Z")

</div>

Hi all- Feature freeze for Ansible-2.9.0 was last week. At that time, we also branched stable-2.9 from the devel branch. So features can continue to be opened against devel. They just won't be backported to stable-…

---

## [How I can destroy asnible generated resources in AWS with a playbook?](https://forum.ansible.com/t/how-i-can-destroy-asnible-generated-resources-in-aws-with-a-playbook/31212)

<div class="topic-metadata">

**Author:** [@Aamir\_Saleem](https://forum.ansible.com/u/Aamir_Saleem)\
**Replies:** 6\
**Last updated:** [September 6, 2019, 6:41pm UTC](https://forum.ansible.com/t/how-i-can-destroy-asnible-generated-resources-in-aws-with-a-playbook/31212 "2019-09-06T18:41:36Z")

</div>

How I can destroy asnible generated resources in AWS with a playbook? Actually, as we can removed all the resources created by terraforms by single script, can I do same with ansible?

---

## [Big PR Review days 3rd & 19th Sept](https://forum.ansible.com/t/big-pr-review-days-3rd-19th-sept/31180)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [August 30, 2019, 5:32pm UTC](https://forum.ansible.com/t/big-pr-review-days-3rd-19th-sept/31180 "2019-08-30T17:32:21Z")

</div>

Ansible is a very popular project by any metric. Our delightful community contributes numerous Pull Requests (PRs) every month. Unfortunately, the volume of incoming PRs means contributors often have to wait days, weeks,…

---

## [Why is "datacenter" a required parameter for vmware modules?](https://forum.ansible.com/t/why-is-datacenter-a-required-parameter-for-vmware-modules/31135)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 6\
**Last updated:** [August 29, 2019, 5:01pm UTC](https://forum.ansible.com/t/why-is-datacenter-a-required-parameter-for-vmware-modules/31135 "2019-08-29T17:01:04Z")

</div>

In many vmware\_\* modules, the datacenter parameter is marked as required - but is it really needed? I ask because I’ve written a module, based on vmware\_guest\_find, that returns the Datacenter for a given VM and VCenter…

---

## [wait\_for -\> check for no moving logs, and skip string "Consul Health Check"](https://forum.ansible.com/t/wait-for-check-for-no-moving-logs-and-skip-string-consul-health-check/31159)

<div class="topic-metadata">

**Author:** [@Denny\_Fuchs](https://forum.ansible.com/u/Denny_Fuchs)\
**Replies:** 0\
**Last updated:** [August 29, 2019, 7:15am UTC](https://forum.ansible.com/t/wait-for-check-for-no-moving-logs-and-skip-string-consul-health-check/31159 "2019-08-29T07:15:43Z")

</div>

hi, at the moment we use something like: \` - name: wait for possible traffic shell: "tail -n 5 /var/log/nginx/ssl-\*access\*log" register: watch\_nginx\_log retries: 30 delay: 5 …

---

## [Bypassing no\_log for a specific output (dumps of zabbix modules)](https://forum.ansible.com/t/bypassing-no-log-for-a-specific-output-dumps-of-zabbix-modules/31007)

<div class="topic-metadata">

**Author:** [@Dusan\_Matejka](https://forum.ansible.com/u/Dusan_Matejka)\
**Replies:** 3\
**Last updated:** [August 27, 2019, 2:18pm UTC](https://forum.ansible.com/t/bypassing-no-log-for-a-specific-output-dumps-of-zabbix-modules/31007 "2019-08-27T14:18:38Z")

</div>

Hi, I’ve been searching for ways to bypass no\_log option for specific module output, but with no luck so far. To my understanding, providing no\_log for at least one argument in argument\_spec makes every module output co…

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

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