# Ansible Developer

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

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

**Page:** 21

---

## [Looking for guidance for a new \`homebrew\_service\` module](https://forum.ansible.com/t/looking-for-guidance-for-a-new-homebrew-service-module/32124)

<div class="topic-metadata">

**Author:** [@Lukas\_Bestle](https://forum.ansible.com/u/Lukas_Bestle)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 9:40pm UTC](https://forum.ansible.com/t/looking-for-guidance-for-a-new-homebrew-service-module/32124 "2020-02-03T21:40:44Z")

</div>

Hi everyone, I’m currently working on a module to manage system services with the homebrew services command. Basically it allows to start, stop, enable and restart services of packages that have been installed using the…

---

## [Ansible Contributor Summit 8 (Part of foss-north 2020 Gothenburg)](https://forum.ansible.com/t/ansible-contributor-summit-8-part-of-foss-north-2020-gothenburg/32119)

<div class="topic-metadata">

**Author:** [@Carol\_Chen1](https://forum.ansible.com/u/Carol_Chen1)\
**Replies:** 0\
**Last updated:** [February 3, 2020, 11:30am UTC](https://forum.ansible.com/t/ansible-contributor-summit-8-part-of-foss-north-2020-gothenburg/32119 "2020-02-03T11:30:38Z")

</div>

Hi everyone, It’s our pleasure to announce the 8th Ansible Contributor Summit! This time it will be in Europe, and instead of being attached to AnsibleFest, we will join as part of foss-north \[0\] in Gothenburg, Sweden. …

---

## [Need feedback for kernel\_settings module implemented using tuned](https://forum.ansible.com/t/need-feedback-for-kernel-settings-module-implemented-using-tuned/32114)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 0\
**Last updated:** [February 1, 2020, 2:15am UTC](https://forum.ansible.com/t/need-feedback-for-kernel-settings-module-implemented-using-tuned/32114 "2020-02-01T02:15:50Z")

</div>

Tuned is really nice because it supports many different kernel, cpu, disk, power, bootloader (very limited), etc. settings in one shot, and provides sysfs setting persistence on rhel/fedora. https://github.com/redhat-pe…

---

## [Change default SSH protocol for connection](https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107)

<div class="topic-metadata">

**Author:** [@Prabha](https://forum.ansible.com/u/Prabha)\
**Replies:** 1\
**Last updated:** [January 31, 2020, 11:36am UTC](https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107 "2020-01-31T11:36:30Z")

</div>

Hello Everyone! Just wanted to know like is there anyway to change default SSH protocol used by Ansible for connection. I am thinking it would be great if we can utilize any protocols like HTTPS or something. I am havi…

---

## [ansible optimization](https://forum.ansible.com/t/ansible-optimization/32103)

<div class="topic-metadata">

**Author:** [@alex\_mers](https://forum.ansible.com/u/alex_mers)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 7:22pm UTC](https://forum.ansible.com/t/ansible-optimization/32103 "2020-01-30T19:22:54Z")

</div>

I wanna optimization time and low used resource ansible when running tasks or run code, for example when use fork on ansible.cfg file, CPU usage is up up and up but I wanna resource usage is low or medium use, anyone can…

---

## [Simple Loops in Ansible](https://forum.ansible.com/t/simple-loops-in-ansible/32065)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 1\
**Last updated:** [January 27, 2020, 6:04pm UTC](https://forum.ansible.com/t/simple-loops-in-ansible/32065 "2020-01-27T18:04:32Z")

</div>

Hi, I want to create users in the database using Ansible. I need ansible to run the task (creating user) for all the users mentioned in the vars: schemaname. How do I do that in loop ? var: schemaname: user1, user2, u…

---

## [Openstack Ansible modules moving to Openstack Gerrit from 2.10 version](https://forum.ansible.com/t/openstack-ansible-modules-moving-to-openstack-gerrit-from-2-10-version/32064)

<div class="topic-metadata">

**Author:** [@sshnaidm](https://forum.ansible.com/u/sshnaidm)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 2:02pm UTC](https://forum.ansible.com/t/openstack-ansible-modules-moving-to-openstack-gerrit-from-2-10-version/32064 "2020-01-27T14:02:08Z")

</div>

Hi as you already know the Ansible community modules will go to different locations from 2.10. I’d like to announce that Openstack Ansible modules are moving to Openstack Gerrit \[1\] All 2.10 code should be there. Pleas…

---

## [Running a select statement as script using oracle\_sql module](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32058)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 2\
**Last updated:** [January 26, 2020, 2:37am UTC](https://forum.ansible.com/t/running-a-select-statement-as-script-using-oracle-sql-module/32058 "2020-01-26T02:37:05Z")

</div>

Hi, I am trying to run a sql script which has simple select statement. (select username from dba\_users). Will oracle\_sql module run a “Select” statement and returns the results ? My playbook is name: Script will crea…

---

## [oracle\_sql module question](https://forum.ansible.com/t/oracle-sql-module-question/32060)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 0\
**Last updated:** [January 25, 2020, 3:09pm UTC](https://forum.ansible.com/t/oracle-sql-module-question/32060 "2020-01-25T15:09:04Z")

</div>

Hi, I am trying to run a sql script which has simple select statement. (select username from dba\_users). Will oracle\_sql module run a “Select” statement and returns the results ? My playbook is name: Script will crea…

---

## [import\_playbook - Passing variables - error](https://forum.ansible.com/t/import-playbook-passing-variables-error/30406)

<div class="topic-metadata">

**Author:** [@Geoff](https://forum.ansible.com/u/Geoff)\
**Replies:** 2\
**Last updated:** [January 25, 2020, 2:58am UTC](https://forum.ansible.com/t/import-playbook-passing-variables-error/30406 "2020-01-25T02:58:12Z")

</div>

I have a playbook called: testing\_vars\_pass.yml It imports another playbook called: testing\_vars\_call.yml The playbook testing\_vars\_call.yml expects a variable called: myVar Below is the contents of each playbook … $…

---

## [How to Stop playbook execution based on a file ?](https://forum.ansible.com/t/how-to-stop-playbook-execution-based-on-a-file/32053)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 1\
**Last updated:** [January 25, 2020, 2:06am UTC](https://forum.ansible.com/t/how-to-stop-playbook-execution-based-on-a-file/32053 "2020-01-25T02:06:11Z")

</div>

Hi, I basically wanted to skip the remaining of the playbook if a file exists name: Check if the file exists stat: path: /home/ansible/dbname/sql/file.sql register: optional\_file debug: msg: “File Exists” whe…

---

## [Ansible collections: my new terminal  plugin is not picked up while run](https://forum.ansible.com/t/ansible-collections-my-new-terminal-plugin-is-not-picked-up-while-run/32038)

<div class="topic-metadata">

**Author:** [@Mohamed\_Javeed](https://forum.ansible.com/u/Mohamed_Javeed)\
**Replies:** 2\
**Last updated:** [January 24, 2020, 4:49pm UTC](https://forum.ansible.com/t/ansible-collections-my-new-terminal-plugin-is-not-picked-up-while-run/32038 "2020-01-24T16:49:21Z")

</div>

To test my collections, i moved the dellos10 terminal plugin from the ansible installable. Attached my sample collections tar file My playbook: (attachments)dell\_networking-dellos10-1.0.0.tar.gz (2.34 KB)

---

## [Setting a fact using action\_plugin](https://forum.ansible.com/t/setting-a-fact-using-action-plugin/32040)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 0\
**Last updated:** [January 23, 2020, 5:00pm UTC](https://forum.ansible.com/t/setting-a-fact-using-action-plugin/32040 "2020-01-23T17:00:53Z")

</div>

Hi, Is there a way to set fact using action\_plugin, than calling set\_fact? Here is my playbook:

---

## [State file](https://forum.ansible.com/t/state-file/32028)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 1\
**Last updated:** [January 22, 2020, 6:01pm UTC](https://forum.ansible.com/t/state-file/32028 "2020-01-22T18:01:33Z")

</div>

Is there a state file concept in Ansible? Can we maintain state of whats been run? Thanks Anand Solomon

---

## [Why not environment variable to store vault secrets ?](https://forum.ansible.com/t/why-not-environment-variable-to-store-vault-secrets/31602)

<div class="topic-metadata">

**Author:** [@Gabriel\_Lewertowski](https://forum.ansible.com/u/Gabriel_Lewertowski)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 12:16pm UTC](https://forum.ansible.com/t/why-not-environment-variable-to-store-vault-secrets/31602 "2020-01-22T12:16:57Z")

</div>

Hi ! I wrote the PR 64383 to add an option for using environment to store vault secrets. The PR was rejected, I would like to know more about why storing secrets in environment is discouraged. If the variable is export…

---

## [New Ansible release 2.9.4](https://forum.ansible.com/t/new-ansible-release-2-9-4/32014)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 10:58pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-4/32014 "2020-01-20T22:58:53Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.4 is now available! This release contains a single bugfix to a regression in the yum module, introduced in 2.9.3. How do you get it?

---

## [Calling callback plugin on a specific task](https://forum.ansible.com/t/calling-callback-plugin-on-a-specific-task/32005)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 3:10pm UTC](https://forum.ansible.com/t/calling-callback-plugin-on-a-specific-task/32005 "2020-01-20T15:10:18Z")

</div>

Hi, Is there a possibility of calling ansible callback plugin on a specific task of a play ? I couldnt find much documentation. Thanks and Regards, Punit

---

## [Exposing the Arista eos session for config validation](https://forum.ansible.com/t/exposing-the-arista-eos-session-for-config-validation/32000)

<div class="topic-metadata">

**Author:** [@Sean\_M\_Collins](https://forum.ansible.com/u/Sean_M_Collins)\
**Replies:** 0\
**Last updated:** [January 17, 2020, 7:02pm UTC](https://forum.ansible.com/t/exposing-the-arista-eos-session-for-config-validation/32000 "2020-01-17T19:02:08Z")

</div>

Is there a way to get a handle for the session that Ansible uses, when connecting to Arista switches to run commands? I am trying to build some config validation/testing into a continuous integration pipeline with Bat…

---

## [custom module is failing with MODULE FAILURE\\nSee stdout/stderr for the exact error" rc:0](https://forum.ansible.com/t/custom-module-is-failing-with-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-0/31906)

<div class="topic-metadata">

**Author:** [@Tejas\_Gadaria1](https://forum.ansible.com/u/Tejas_Gadaria1)\
**Replies:** 3\
**Last updated:** [January 17, 2020, 5:11pm UTC](https://forum.ansible.com/t/custom-module-is-failing-with-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-0/31906 "2020-01-17T17:11:54Z")

</div>

Hi Team, I have written custom ansible module. Module suppose to insert data in database via graphsql template. While executing module via playbook, it does insert the data in database. however task is failing with bel…

---

## [Ansible Module newrelic\_deployment Feature Request](https://forum.ansible.com/t/ansible-module-newrelic-deployment-feature-request/31999)

<div class="topic-metadata">

**Author:** [@Garry\_Taylor](https://forum.ansible.com/u/Garry_Taylor)\
**Replies:** 0\
**Last updated:** [January 17, 2020, 2:11pm UTC](https://forum.ansible.com/t/ansible-module-newrelic-deployment-feature-request/31999 "2020-01-17T14:11:56Z")

</div>

Hello, I need guidance on how to request a feature request for a module called newrelic\_deplyment. i have submitted this but it has been rejected. Feature Idea COMPONENT NAME UI SUMMARY New feature for existing An…

---

## [New Ansible releases 2.9.3, 2.8.8, and 2.7.16](https://forum.ansible.com/t/new-ansible-releases-2-9-3-2-8-8-and-2-7-16/31986)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [January 16, 2020, 12:26am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-3-2-8-8-and-2-7-16/31986 "2020-01-16T00:26:41Z")

</div>

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

---

## [query on action plugins](https://forum.ansible.com/t/query-on-action-plugins/31984)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 1\
**Last updated:** [January 15, 2020, 5:55pm UTC](https://forum.ansible.com/t/query-on-action-plugins/31984 "2020-01-15T17:55:49Z")

</div>

Hi, I have variable defined in role as below: default.yml

---

## [What should I develop to change port names on an Aruba switch to names from LLDP?](https://forum.ansible.com/t/what-should-i-develop-to-change-port-names-on-an-aruba-switch-to-names-from-lldp/31968)

<div class="topic-metadata">

**Author:** [@Andrew\_Riachi](https://forum.ansible.com/u/Andrew_Riachi)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 4:03pm UTC](https://forum.ansible.com/t/what-should-i-develop-to-change-port-names-on-an-aruba-switch-to-names-from-lldp/31968 "2020-01-14T16:03:03Z")

</div>

Hello everyone, The subject pretty much sums it up. On each switch, I need to run ‘show lldp info remote-device’ to get the names of all the neighboring switches, then for each port that has a neighboring switch, set th…

---

## [module\_defaults not working](https://forum.ansible.com/t/module-defaults-not-working/31951)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 7:40am UTC](https://forum.ansible.com/t/module-defaults-not-working/31951 "2020-01-13T07:40:09Z")

</div>

Hi, I have a playbook which imports custom role and passes required attributes. My requirement is to pass only required attributes and role specify remaining. below is explained in detail. playbook

---

## [Cant SSH / PING to Network Devices](https://forum.ansible.com/t/cant-ssh-ping-to-network-devices/31860)

<div class="topic-metadata">

**Author:** [@Nirmal\_Gauda](https://forum.ansible.com/u/Nirmal_Gauda)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 1:40pm UTC](https://forum.ansible.com/t/cant-ssh-ping-to-network-devices/31860 "2020-01-10T13:40:00Z")

</div>

I am Newbie to Ansible , writing my first playbook. I can not SSH / PING to network Devices. leaf-1 | UNREACHABLE! =\> { "changed": false, "msg": "Authentication failure.", "unreachable": true } leaf-2 | UNREACHABLE! =\> …

---

## [RFC: Starting an unofficial "ansible-build" project](https://forum.ansible.com/t/rfc-starting-an-unofficial-ansible-build-project/31924)

<div class="topic-metadata">

**Author:** [@Stephen\_George](https://forum.ansible.com/u/Stephen_George)\
**Replies:** 0\
**Last updated:** [January 7, 2020, 3:41pm UTC](https://forum.ansible.com/t/rfc-starting-an-unofficial-ansible-build-project/31924 "2020-01-07T15:41:37Z")

</div>

I recently had to solve a problem of deploying ansible-playbook as an executable on developer Vagrant stacks, without installing or relying on an existing Python interpreter. I utilized PyInstaller in order to package a…

---

## [HTTP error 401 via URI module](https://forum.ansible.com/t/http-error-401-via-uri-module/31900)

<div class="topic-metadata">

**Author:** [@Vijay\_Ravindran](https://forum.ansible.com/u/Vijay_Ravindran)\
**Replies:** 3\
**Last updated:** [January 5, 2020, 9:21pm UTC](https://forum.ansible.com/t/http-error-401-via-uri-module/31900 "2020-01-05T21:21:05Z")

</div>

Hello Team I do get http error 401 continously during POST operation of modifying the mgmt ip of unity storage array using URI module’s playbook. Any one can help to share some inputs. Thanks! Vj

---

## [ERROR! the field 'hosts' is required but was not set](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/31877)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 5:12pm UTC](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/31877 "2020-01-02T17:12:53Z")

</div>

I am getting the “ERROR! the field ‘hosts’ is required but was not set” error, and my playbook is as follows. I am trying to run a sql script (record.sql) from the ansible control server to the DB server.

---

## [Ansible hosts](https://forum.ansible.com/t/ansible-hosts/21014)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 4\
**Last updated:** [December 30, 2019, 4:02am UTC](https://forum.ansible.com/t/ansible-hosts/21014 "2019-12-30T04:02:17Z")

</div>

When I try playbook I see below error ok: \[resoxapp-ch2f-01c.email.comcast.net\] ERROR! the field ‘hosts’ is required but was not set my inventory file \[hosts\] resoxapp-ch2f-01c.email.comcast.net resoxapp-ch2f-02c.e…

---

## [Visansible - Visualization of Ansibel-Facts](https://forum.ansible.com/t/visansible-visualization-of-ansibel-facts/31835)

<div class="topic-metadata">

**Author:** [@Oliver\_Dippel](https://forum.ansible.com/u/Oliver_Dippel)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 1:32pm UTC](https://forum.ansible.com/t/visansible-visualization-of-ansibel-facts/31835 "2019-12-17T13:32:18Z")

</div>

Hi, hope you like it and it is useful: https://github.com/multigcs/visansible

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

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