# Ansible Developer

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

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

**Page:** 19

---

## [Issues with datetime and UTC offset](https://forum.ansible.com/t/issues-with-datetime-and-utc-offset/32616)

<div class="topic-metadata">

**Author:** [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 12:31pm UTC](https://forum.ansible.com/t/issues-with-datetime-and-utc-offset/32616 "2020-04-22T12:31:08Z")

</div>

Hi! I have a date that I get from some source (I cannot change the source data), that looks like this: “Tue, 07 Apr 2020 08:16:10 +0000”. So I need to convert it to another datetime format. The approach I took was I at…

---

## [Loop functionality is failing when i use add\_host module inventory in other playbook](https://forum.ansible.com/t/loop-functionality-is-failing-when-i-use-add-host-module-inventory-in-other-playbook/32716)

<div class="topic-metadata">

**Author:** [@Suresh\_Karpurapu](https://forum.ansible.com/u/Suresh_Karpurapu)\
**Replies:** 1\
**Last updated:** [April 20, 2020, 12:07pm UTC](https://forum.ansible.com/t/loop-functionality-is-failing-when-i-use-add-host-module-inventory-in-other-playbook/32716 "2020-04-20T12:07:57Z")

</div>

Hi Ansible team, I am using the CSV file as below for nfs volume migration as we have 1000 servers with 100 volumes. Hence, i would like to make to host inventory using add\_host file instead using inventory file. Howeve…

---

## [Become plugin](https://forum.ansible.com/t/become-plugin/31406)

<div class="topic-metadata">

**Author:** [@Torrpenn356](https://forum.ansible.com/u/Torrpenn356)\
**Replies:** 5\
**Last updated:** [April 19, 2020, 7:11pm UTC](https://forum.ansible.com/t/become-plugin/31406 "2020-04-19T19:11:04Z")

</div>

Hello, I hope, I am posting my question on the right group, if not, please tell me I need to use a dedicated become method and want to know, if it is possible, or, if only the “official” ones are authorized. If it is …

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17 \[Revised\]](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32718)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 6:11pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17-revised/32718 "2020-04-17T18:11:23Z")

</div>

This is an updated version of the original release announcement. It has been updated to include CVE details in the “What’s new” section. Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.1…

---

## [New Ansible releases 2.9.7, 2.8.11, and 2.7.17](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32705)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 11:20am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-7-2-8-11-and-2-7-17/32705 "2020-04-17T11:20:28Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.7, 2.8.11, and 2.7.17 are now available! How do you get it?

---

## [Need some data filter from meta data which came from custom module](https://forum.ansible.com/t/need-some-data-filter-from-meta-data-which-came-from-custom-module/32699)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 12:25pm UTC](https://forum.ansible.com/t/need-some-data-filter-from-meta-data-which-came-from-custom-module/32699 "2020-04-16T12:25:54Z")

</div>

I am getting following output from my ansible custom module ‘{‘failed’: False, ‘meta’: {‘Unused Policy Rules IDS’: \[0, 3, 4, 5, 6\]}, ‘changed’: False}’ to one variable .I need to fetch only “{‘Unused Policy Rules IDS’: \[…

---

## [Bugfix PR ready for review!](https://forum.ansible.com/t/bugfix-pr-ready-for-review/32652)

<div class="topic-metadata">

**Author:** [@hangsu](https://forum.ansible.com/u/hangsu)\
**Replies:** 0\
**Last updated:** [April 10, 2020, 11:59am UTC](https://forum.ansible.com/t/bugfix-pr-ready-for-review/32652 "2020-04-10T11:59:26Z")

</div>

Hi All, there are two long lived bug fix PRs ready for review now. Please do point me to correct channel if this mailing group isn’t https://github.com/ansible/ansible/pull/42536 https://github.com/ansible/ansible/pul…

---

## [Overload network\_cli.py / Issue with stderr](https://forum.ansible.com/t/overload-network-cli-py-issue-with-stderr/32650)

<div class="topic-metadata">

**Author:** [@Yann1](https://forum.ansible.com/u/Yann1)\
**Replies:** 5\
**Last updated:** [April 10, 2020, 11:04am UTC](https://forum.ansible.com/t/overload-network-cli-py-issue-with-stderr/32650 "2020-04-10T11:04:34Z")

</div>

Hi, In my team we are using several custom modules based on network\_cli / cliconf. For one of our manufacturer, we have a issue with the method “\_find\_prompt” of the “network\_cli.py”, we would like to know if its possi…

---

## [CALL TO ACTION: Vote on Collection changelog strategy](https://forum.ansible.com/t/call-to-action-vote-on-collection-changelog-strategy/32624)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 7:42pm UTC](https://forum.ansible.com/t/call-to-action-vote-on-collection-changelog-strategy/32624 "2020-04-07T19:42:45Z")

</div>

Hi folks - With Ansible modules and other plugins moving to collections, we need to decide how to handle changelogs and porting guides. In prior releases, changelogs and porting guides were handled directly in PRs, beca…

---

## [Issues with dynamic  variables and ansible\_facts](https://forum.ansible.com/t/issues-with-dynamic-variables-and-ansible-facts/32602)

<div class="topic-metadata">

**Author:** [@C11](https://forum.ansible.com/u/C11)\
**Replies:** 0\
**Last updated:** [April 5, 2020, 7:24pm UTC](https://forum.ansible.com/t/issues-with-dynamic-variables-and-ansible-facts/32602 "2020-04-05T19:24:01Z")

</div>

Good morning Im trying to obtain a dynamic variable ina ansible2.9.1 environment What i would like to obtain is the content of a “double moustache” which i know it doesn’t work . The problem is that, when i try to obta…

---

## [Ansible async module issue](https://forum.ansible.com/t/ansible-async-module-issue/32537)

<div class="topic-metadata">

**Author:** [@Aditya1](https://forum.ansible.com/u/Aditya1)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 4:25pm UTC](https://forum.ansible.com/t/ansible-async-module-issue/32537 "2020-04-02T16:25:05Z")

</div>

I am working on an ansible playbook, which runs a shell script in async ( poll = 0 ) mode. This shell script, which runs on remote host #1, calls a python program on remote host #2, which runs for a long duration. So t…

---

## [Developing new module, that includes filetransfer](https://forum.ansible.com/t/developing-new-module-that-includes-filetransfer/32561)

<div class="topic-metadata">

**Author:** [@Alex\_Hoffner](https://forum.ansible.com/u/Alex_Hoffner)\
**Replies:** 2\
**Last updated:** [March 30, 2020, 9:02pm UTC](https://forum.ansible.com/t/developing-new-module-that-includes-filetransfer/32561 "2020-03-30T21:02:32Z")

</div>

Hi I am currently developing a module (actually for windows over ssh). The module requires a filetransfer from the controller. Of course I could just use win\_copy first, but I would like the module to be more self-cont…

---

## [Strategies for handling redundant role dependencies in multiple roles](https://forum.ansible.com/t/strategies-for-handling-redundant-role-dependencies-in-multiple-roles/32566)

<div class="topic-metadata">

**Author:** [@afeller](https://forum.ansible.com/u/afeller)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 8:39pm UTC](https://forum.ansible.com/t/strategies-for-handling-redundant-role-dependencies-in-multiple-roles/32566 "2020-03-30T20:39:07Z")

</div>

I’m looking for insights and strategies for dealing with Ansible roles specifying potentially different versions of the same dependencies, which are being downloaded via ansible-galaxy install. There are a couple of pro…

---

## [Ansible - Unable to reach the host getting Errno 101  Network is unreachable](https://forum.ansible.com/t/ansible-unable-to-reach-the-host-getting-errno-101-network-is-unreachable/32470)

<div class="topic-metadata">

**Author:** [@Santhosh\_Ganesan](https://forum.ansible.com/u/Santhosh_Ganesan)\
**Replies:** 1\
**Last updated:** [March 30, 2020, 5:46pm UTC](https://forum.ansible.com/t/ansible-unable-to-reach-the-host-getting-errno-101-network-is-unreachable/32470 "2020-03-30T17:46:09Z")

</div>

Newbie to ansible, trying to run a playbook to one of host, \</TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[172.28.158.115\] TASK \[include\_role : tes.kibana\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible parser - python](https://forum.ansible.com/t/ansible-parser-python/32562)

<div class="topic-metadata">

**Author:** [@Nemania\_Borovits](https://forum.ansible.com/u/Nemania_Borovits)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 4:02pm UTC](https://forum.ansible.com/t/ansible-parser-python/32562 "2020-03-30T16:02:47Z")

</div>

Hello! I need to parse ansible files effectively. Is there any python library which i can use to parse .yml/.yaml files which contain ansible deployments…? Besides pyyaml or ruamel.yaml

---

## [create a new crontab using cron module for ansible](https://forum.ansible.com/t/create-a-new-crontab-using-cron-module-for-ansible/32552)

<div class="topic-metadata">

**Author:** [@Shubham\_Gampawar](https://forum.ansible.com/u/Shubham_Gampawar)\
**Replies:** 0\
**Last updated:** [March 28, 2020, 2:54pm UTC](https://forum.ansible.com/t/create-a-new-crontab-using-cron-module-for-ansible/32552 "2020-03-28T14:54:26Z")

</div>

Hi there, What’s the transport you are using?, Can you share the complete log(along with command for execution) and playbook you are running. You can give a try by running playbook in mode Thanks,

---

## [Setting the restart priority in the vm level](https://forum.ansible.com/t/setting-the-restart-priority-in-the-vm-level/32540)

<div class="topic-metadata">

**Author:** [@Shanmathi\_Manisekara](https://forum.ansible.com/u/Shanmathi_Manisekara)\
**Replies:** 0\
**Last updated:** [March 26, 2020, 2:58pm UTC](https://forum.ansible.com/t/setting-the-restart-priority-in-the-vm-level/32540 "2020-03-26T14:58:49Z")

</div>

Hi all, I wanted to set the restart priority in the vm level. Currently vmware\_cluster\_ha module can set the restart priority in a cluster level. But I did some search and found that there is no module to do this in vm …

---

## [How to upgrade an Aruba 8320 using Ansible](https://forum.ansible.com/t/how-to-upgrade-an-aruba-8320-using-ansible/32530)

<div class="topic-metadata">

**Author:** [@Hamza\_Dev](https://forum.ansible.com/u/Hamza_Dev)\
**Replies:** 0\
**Last updated:** [March 25, 2020, 10:22am UTC](https://forum.ansible.com/t/how-to-upgrade-an-aruba-8320-using-ansible/32530 "2020-03-25T10:22:13Z")

</div>

Here is what I’ve tried so far: \<b\>tasks: - name: Running command become: yes become\_method: enable aruba\_command: provider: username: "{{ username\_switch }}" …

---

## [ansible/ansible devel branch is now ansible-base 2.10](https://forum.ansible.com/t/ansible-ansible-devel-branch-is-now-ansible-base-2-10/32514)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [March 23, 2020, 4:55pm UTC](https://forum.ansible.com/t/ansible-ansible-devel-branch-is-now-ansible-base-2-10/32514 "2020-03-23T16:55:45Z")

</div>

The devel branch of ansible/ansible has been updated to be ansible-base 2.10, which has had a large number of modules and plugins migrated to smaller collection repositories. Some stats about the merge: 14891 files chan…

---

## [unable to use ansible vault variable - fatal: \[localhost\]: FAILED! =\> {"msg": "Attempting to decrypt but no vault secrets found"}](https://forum.ansible.com/t/unable-to-use-ansible-vault-variable-fatal-localhost-failed-msg-attempting-to-decrypt-but-no-vault-secrets-found/32461)

<div class="topic-metadata">

**Author:** [@ANS-dev](https://forum.ansible.com/u/ANS-dev)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 1:26pm UTC](https://forum.ansible.com/t/unable-to-use-ansible-vault-variable-fatal-localhost-failed-msg-attempting-to-decrypt-but-no-vault-secrets-found/32461 "2020-03-16T13:26:04Z")

</div>

I have used “ansible-vault encrypt\_string ” command to create a encrypted passwed. But not works. my sample playbook:

---

## [Study on annotation of design and implementation choices, and of technical debt](https://forum.ansible.com/t/study-on-annotation-of-design-and-implementation-choices-and-of-technical-debt/32475)

<div class="topic-metadata">

**Author:** [@Gianmarco\_Fucci](https://forum.ansible.com/u/Gianmarco_Fucci)\
**Replies:** 0\
**Last updated:** [March 16, 2020, 9:35am UTC](https://forum.ansible.com/t/study-on-annotation-of-design-and-implementation-choices-and-of-technical-debt/32475 "2020-03-16T09:35:32Z")

</div>

Dear all, As software engineering research teams at the University of Sannio (Italy) and Eindhoven University of Technology (The Netherlands) we are interested in investigating the protocol used by developers while they…

---

## [Variable loading infrastructure problems](https://forum.ansible.com/t/variable-loading-infrastructure-problems/32468)

<div class="topic-metadata">

**Author:** [@Dennis\_Jacobfeuerbor](https://forum.ansible.com/u/Dennis_Jacobfeuerbor)\
**Replies:** 0\
**Last updated:** [March 15, 2020, 10:24pm UTC](https://forum.ansible.com/t/variable-loading-infrastructure-problems/32468 "2020-03-15T22:24:06Z")

</div>

Hi, I seem to have stumbled upon an issue with the variable loading infrastructure in the context of vars plugins. What I tried to accomplish is to merge variables not globally based on "hash\_behaviour=merge" but by ex…

---

## [help about win\_find](https://forum.ansible.com/t/help-about-win-find/32455)

<div class="topic-metadata">

**Author:** [@Lorry\_Leveque](https://forum.ansible.com/u/Lorry_Leveque)\
**Replies:** 0\
**Last updated:** [March 13, 2020, 3:14pm UTC](https://forum.ansible.com/t/help-about-win-find/32455 "2020-03-13T15:14:30Z")

</div>

i’m trying to find one file into a folder with recursive option but it returns to result . when i put the exact path of the file , it sucess can someone help me :slight\_smile: thanks below my success code name: “se…

---

## [Is changing the default setting of TRANSFORM\_INVALID\_GROUP\_CHARS a good idea?](https://forum.ansible.com/t/is-changing-the-default-setting-of-transform-invalid-group-chars-a-good-idea/30943)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 14\
**Last updated:** [March 12, 2020, 11:49am UTC](https://forum.ansible.com/t/is-changing-the-default-setting-of-transform-invalid-group-chars-a-good-idea/30943 "2020-03-12T11:49:27Z")

</div>

Hello everybody, After updating to ansible 2.8.2 I faced the following deprecation warning when running a playbook: \[DEPRECATION WARNING\]: The TRANSFORM\_INVALID\_GROUP\_CHARS settings is set to allow bad characters in …

---

## [Unable to specify GKE cluster version using ansible gcp\_container\_cluster module](https://forum.ansible.com/t/unable-to-specify-gke-cluster-version-using-ansible-gcp-container-cluster-module/32446)

<div class="topic-metadata">

**Author:** [@Rahul\_Monde](https://forum.ansible.com/u/Rahul_Monde)\
**Replies:** 0\
**Last updated:** [March 12, 2020, 5:18am UTC](https://forum.ansible.com/t/unable-to-specify-gke-cluster-version-using-ansible-gcp-container-cluster-module/32446 "2020-03-12T05:18:02Z")

</div>

Background: We have ansible tower where all the playbooks resides. End user makes call to such playbook to create required resource. Problem statement: I am using gcp\_container\_cluster module to launch GKE cluster. Apar…

---

## [AWX/Tower - Ability to pass jinja2 templated variables in survey](https://forum.ansible.com/t/awx-tower-ability-to-pass-jinja2-templated-variables-in-survey/32379)

<div class="topic-metadata">

**Author:** [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 9:28am UTC](https://forum.ansible.com/t/awx-tower-ability-to-pass-jinja2-templated-variables-in-survey/32379 "2020-03-11T09:28:26Z")

</div>

Hi! We have a master workflow that invokes several other templates, and these templates have surveys to make it easier for non-ansible users to know what to pass in them. In the master workflow when we select the given…

---

## [Regarding the code flow of ansible](https://forum.ansible.com/t/regarding-the-code-flow-of-ansible/32438)

<div class="topic-metadata">

**Author:** [@Ravindra\_Lakal](https://forum.ansible.com/u/Ravindra_Lakal)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 8:32pm UTC](https://forum.ansible.com/t/regarding-the-code-flow-of-ansible/32438 "2020-03-10T20:32:58Z")

</div>

Hi, I have experience in python and looking forward to contribute in ansible I just want to know if there is a document or some guide for understanding the flow of code. Regards Ravindra Lakal

---

## [VM IP not getting set when using vmware\_guest module](https://forum.ansible.com/t/vm-ip-not-getting-set-when-using-vmware-guest-module/32431)

<div class="topic-metadata">

**Author:** [@chavali\_shruti](https://forum.ansible.com/u/chavali_shruti)\
**Replies:** 0\
**Last updated:** [March 10, 2020, 3:14pm UTC](https://forum.ansible.com/t/vm-ip-not-getting-set-when-using-vmware-guest-module/32431 "2020-03-10T15:14:01Z")

</div>

Hi Team, Not sure if this is a ansible bug, or something wrong with my script or setup. But I really need help. Issue is VM is getting created, OS is installed, but IP, subnet, gateway, etc are not getting assigned to …

---

## [Network switch total uptime in minutes](https://forum.ansible.com/t/network-switch-total-uptime-in-minutes/32418)

<div class="topic-metadata">

**Author:** [@Nasir\_Nasir](https://forum.ansible.com/u/Nasir_Nasir)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 12:02pm UTC](https://forum.ansible.com/t/network-switch-total-uptime-in-minutes/32418 "2020-03-10T12:02:22Z")

</div>

Hi, i want to get the total uptime of switch in minutes, i have tried the below command for it but it gives me in days, hours, and minutes but i would need it only in minutes: i am currently using below module for it …

---

## [Thoughts on bugfix in ActionBase.\_low\_level\_execute\_command](https://forum.ansible.com/t/thoughts-on-bugfix-in-actionbase-low-level-execute-command/32421)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 0\
**Last updated:** [March 9, 2020, 2:58pm UTC](https://forum.ansible.com/t/thoughts-on-bugfix-in-actionbase-low-level-execute-command/32421 "2020-03-09T14:58:38Z")

</div>

Hey all - Last week, I opened https://github.com/ansible/ansible/issues/68054 (raw plugin doesn’t honor executable in Ansible 2.8+). Matt proposed an update to ActionBase.\_low\_level\_execute\_command that fixes the issue. …

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

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