# Ansible Developer

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

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

**Page:** 37

---

## [how to pass the value of a variable from one playbook to another.](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27321)

<div class="topic-metadata">

**Author:** [@radha\_gupta](https://forum.ansible.com/u/radha_gupta)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 8:11am UTC](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27321 "2018-04-19T08:11:28Z")

</div>

Hello Guys, Can you please help me on how can we pass the value of a variables form one playbook to another.

---

## [Ansible 2.5.1 is available](https://forum.ansible.com/t/ansible-2-5-1-is-available/27320)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 12:49am UTC](https://forum.ansible.com/t/ansible-2-5-1-is-available/27320 "2018-04-19T00:49:08Z")

</div>

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

---

## [Request for member to help merge #33634](https://forum.ansible.com/t/request-for-member-to-help-merge-33634/27314)

<div class="topic-metadata">

**Author:** [@cn13](https://forum.ansible.com/u/cn13)\
**Replies:** 0\
**Last updated:** [April 18, 2018, 1:14pm UTC](https://forum.ansible.com/t/request-for-member-to-help-merge-33634/27314 "2018-04-18T13:14:33Z")

</div>

Hello, Please may a member help get this PR merged: https://github.com/ansible/ansible/pull/33634? Thanks, Colin

---

## [Let's default to the YAML stdout callback](https://forum.ansible.com/t/lets-default-to-the-yaml-stdout-callback/27301)

<div class="topic-metadata">

**Author:** [@Tobias\_Wolf](https://forum.ansible.com/u/Tobias_Wolf)\
**Replies:** 1\
**Last updated:** [April 17, 2018, 11:39am UTC](https://forum.ansible.com/t/lets-default-to-the-yaml-stdout-callback/27301 "2018-04-17T11:39:55Z")

</div>

I’m writing to suggest to enable YAML’ized output by default. Ansible 2.5 comes with the new 'yaml’ callback plugin, which is such a radical usability improvement, that I’m asking myslf, why this is not the default. Th…

---

## [Getting time out and unable to open shell error for eos\_modules such as eos\_command](https://forum.ansible.com/t/getting-time-out-and-unable-to-open-shell-error-for-eos-modules-such-as-eos-command/27300)

<div class="topic-metadata">

**Author:** [@Shubham\_Gampawar](https://forum.ansible.com/u/Shubham_Gampawar)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 10:18am UTC](https://forum.ansible.com/t/getting-time-out-and-unable-to-open-shell-error-for-eos-modules-such-as-eos-command/27300 "2018-04-17T10:18:50Z")

</div>

Hi there, I am working on eos\_ switches but when I am trying to get device running configuration, instead of the device running-config I am getting following error. I there any bug in 2.5 for Eos modules. fatal: \[192.6…

---

## [Unable to automate Search- Guard installation through Ansible](https://forum.ansible.com/t/unable-to-automate-search-guard-installation-through-ansible/27293)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 6:40pm UTC](https://forum.ansible.com/t/unable-to-automate-search-guard-installation-through-ansible/27293 "2018-04-16T18:40:58Z")

</div>

I tried installation of Head plugin through ansible, it worked out. But i am not able to find any way to install Search-Guard Plugin through ansible. I havent find any module available to install search guard plugin thro…

---

## [Triggering a Jenkins build through ansible](https://forum.ansible.com/t/triggering-a-jenkins-build-through-ansible/25259)

<div class="topic-metadata">

**Author:** [@Seeram\_Venkatesh](https://forum.ansible.com/u/Seeram_Venkatesh)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 1:03pm UTC](https://forum.ansible.com/t/triggering-a-jenkins-build-through-ansible/25259 "2018-04-16T13:03:16Z")

</div>

Hi Techies, I’m looking for a solution where I want to trigger a Jenkins build through Ansible. I went through a module called jenkins\_job from which I can connect to the jenkins server but not able to trigger a new bu…

---

## [Need to execute complex unix commands](https://forum.ansible.com/t/need-to-execute-complex-unix-commands/27222)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 5\
**Last updated:** [April 16, 2018, 7:38am UTC](https://forum.ansible.com/t/need-to-execute-complex-unix-commands/27222 "2018-04-16T07:38:20Z")

</div>

Hi All, I need to execute complex shell commands on remote or local hosts. What is the best way to this? I tried multiple ways. Either it is not passing Ansible syntax, or shell script syntax Example: Suppose I want …

---

## [Automated patch management - CentOS machines](https://forum.ansible.com/t/automated-patch-management-centos-machines/27286)

<div class="topic-metadata">

**Author:** [@k\_sreenivas](https://forum.ansible.com/u/k_sreenivas)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 3:32pm UTC](https://forum.ansible.com/t/automated-patch-management-centos-machines/27286 "2018-04-15T15:32:18Z")

</div>

Hello All, How can I automate the security patching process routine for 100+ machine’s using ansible whats the best the way to do it, I am not completely new to ansible but could not find a good solution on my research …

---

## [add\_host case sensitive.](https://forum.ansible.com/t/add-host-case-sensitive/27248)

<div class="topic-metadata">

**Author:** [@Marek\_Slebodnik](https://forum.ansible.com/u/Marek_Slebodnik)\
**Replies:** 2\
**Last updated:** [April 11, 2018, 4:01pm UTC](https://forum.ansible.com/t/add-host-case-sensitive/27248 "2018-04-11T16:01:38Z")

</div>

Hello, I’ve got playbook with dynamic inventory. And what bothers me is, that add\_host is case sensitive. So when I have in my initial inventory

---

## [HTTPS connection  with Netapp ONTAP backend using Ansible](https://forum.ansible.com/t/https-connection-with-netapp-ontap-backend-using-ansible/27243)

<div class="topic-metadata">

**Author:** [@gcect.shanu](https://forum.ansible.com/u/gcect.shanu)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 10:47am UTC](https://forum.ansible.com/t/https-connection-with-netapp-ontap-backend-using-ansible/27243 "2018-04-11T10:47:41Z")

</div>

This is regarding the issue: Insecure communication with NetApp backend systems through (at least the) na\_cdot\* modules Link: https://github.com/ansible/ansible/issues/33873 Description: Instead of by default doing TL…

---

## [Ansible Python API 2.0 - capture warnings](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27239)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 8:19am UTC](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27239 "2018-04-11T08:19:20Z")

</div>

Hello All Been circling around the Callbackbase with all possible tries , but I could not find a way till now to capture these warnings from a playbook execution with the API output \[WARNING\]: \* Failed to parse hosts/U…

---

## [Force --Limit on Playbooks](https://forum.ansible.com/t/force-limit-on-playbooks/27230)

<div class="topic-metadata">

**Author:** [@Pat](https://forum.ansible.com/u/Pat)\
**Replies:** 0\
**Last updated:** [April 10, 2018, 8:38am UTC](https://forum.ansible.com/t/force-limit-on-playbooks/27230 "2018-04-10T08:38:02Z")

</div>

Hello everyone, I really like the functionality wit ad-hoc commands, that you have to target your commands to a specific host, group or all in order to make the command work. With Playbooks there is a similiar behaviou…

---

## [Implement snap package manager in ansible](https://forum.ansible.com/t/implement-snap-package-manager-in-ansible/24642)

<div class="topic-metadata">

**Author:** [@ChangZhuo\_Chen](https://forum.ansible.com/u/ChangZhuo_Chen)\
**Replies:** 2\
**Last updated:** [April 8, 2018, 9:28pm UTC](https://forum.ansible.com/t/implement-snap-package-manager-in-ansible/24642 "2018-04-08T21:28:37Z")

</div>

Hi All, I could like to implement snap \[0\] package manager in ansible. Is there any concern about this? \[0\] https://snapcraft.io/

---

## [azure\_rm\_virtualmachine\_facts](https://forum.ansible.com/t/azure-rm-virtualmachine-facts/27194)

<div class="topic-metadata">

**Author:** [@Gustavo\_Muniz\_do\_Car](https://forum.ansible.com/u/Gustavo_Muniz_do_Car)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 1:10pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-facts/27194 "2018-04-05T13:10:29Z")

</div>

Hi everyone! Yesterday I made a pull request of a new feature: azure\_rm\_virtualmachine\_facts. The module aims to get facts for virtual machines of a resource group in Azure. I hope it be accepted soon. https://github.c…

---

## [Passing variables in roles](https://forum.ansible.com/t/passing-variables-in-roles/27185)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 1:15pm UTC](https://forum.ansible.com/t/passing-variables-in-roles/27185 "2018-04-04T13:15:18Z")

</div>

Is it possible to pass values registered in role to be passed as a variable to another role? I have a list of files that I want to register using the find module in one role and then pass the registered value to another …

---

## [ansibullbot news: automerge status via bot\_status](https://forum.ansible.com/t/ansibullbot-news-automerge-status-via-bot-status/27186)

<div class="topic-metadata">

**Author:** [@Martin\_Krizek](https://forum.ansible.com/u/Martin_Krizek)\
**Replies:** 0\
**Last updated:** [April 4, 2018, 12:47pm UTC](https://forum.ansible.com/t/ansibullbot-news-automerge-status-via-bot-status/27186 "2018-04-04T12:47:58Z")

</div>

Hi, people often wonder why particular PR was not auto-merged by the bot. Well, as of today you can find out why (or at least get a hint) via the bot\_status command which includes status of automerge. Hope it will be…

---

## [\[Urgent help\] Running a task every x seconds till y seconds](https://forum.ansible.com/t/urgent-help-running-a-task-every-x-seconds-till-y-seconds/27161)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 8:49am UTC](https://forum.ansible.com/t/urgent-help-running-a-task-every-x-seconds-till-y-seconds/27161 "2018-04-04T08:49:52Z")

</div>

Hi All, I there a way to run a task every x seconds, store the output. The task should run till y second. Example, I would like to run a task every 10 seconds , get the output , till 300 seconds. So the task would be ru…

---

## [complete ansible command line verbose like display using the python API](https://forum.ansible.com/t/complete-ansible-command-line-verbose-like-display-using-the-python-api/27172)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 5:38pm UTC](https://forum.ansible.com/t/complete-ansible-command-line-verbose-like-display-using-the-python-api/27172 "2018-04-03T17:38:20Z")

</div>

Hi So when we run a ansible playbook in command line with -vvv \[ verbosity=3\] we get all these below information like “Task path” , “using module” and the internals of how each hosts gets connectivity established. TASK…

---

## [Custom module to get list of open linux ports and running services](https://forum.ansible.com/t/custom-module-to-get-list-of-open-linux-ports-and-running-services/27144)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [April 2, 2018, 4:42pm UTC](https://forum.ansible.com/t/custom-module-to-get-list-of-open-linux-ports-and-running-services/27144 "2018-04-02T16:42:34Z")

</div>

Hi All, Is there a custom module/role already present to get list fo open ports and linux running services? If not, then I have to use command module. How do i parse the returned netstat output and conevert to a JSON d…

---

## [Status of GCE modules](https://forum.ansible.com/t/status-of-gce-modules/27153)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 3\
**Last updated:** [March 29, 2018, 9:50pm UTC](https://forum.ansible.com/t/status-of-gce-modules/27153 "2018-03-29T21:50:07Z")

</div>

In this PR, there is talk of magic modules being used to generate ansible modules for GCE. Is this a general decision that means no more contributed modules will be accepted if they are already generated by magic modules…

---

## [Seeking feedback on a PR for a new feature](https://forum.ansible.com/t/seeking-feedback-on-a-pr-for-a-new-feature/27150)

<div class="topic-metadata">

**Author:** [@Andrew\_Gaffney](https://forum.ansible.com/u/Andrew_Gaffney)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 4:48pm UTC](https://forum.ansible.com/t/seeking-feedback-on-a-pr-for-a-new-feature/27150 "2018-03-29T16:48:20Z")

</div>

I’ve put together a pull request \[1\] that implements a proposal \[2\] for setting defaults for module parameters in a playbook. I’m seeking feedback from the community on any use cases that may not be covered by my PR befo…

---

## [Ansible - Dynamic List Creation](https://forum.ansible.com/t/ansible-dynamic-list-creation/27133)

<div class="topic-metadata">

**Author:** [@Mohammed\_Yasar\_Aktha](https://forum.ansible.com/u/Mohammed_Yasar_Aktha)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 5:49pm UTC](https://forum.ansible.com/t/ansible-dynamic-list-creation/27133 "2018-03-27T17:49:45Z")

</div>

I have a list, based on the index value need to generate a new list Here is the sample - set\_fact: buildslen={{ builds | length }} - debug: var=exactlen - set\_fact: upg\_version\_list2={{ upg\_version\_list2|default(\[\]) +…

---

## [Ansible Task to install logstash on Windows server](https://forum.ansible.com/t/ansible-task-to-install-logstash-on-windows-server/27132)

<div class="topic-metadata">

**Author:** [@ktesr123456](https://forum.ansible.com/u/ktesr123456)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 5:23pm UTC](https://forum.ansible.com/t/ansible-task-to-install-logstash-on-windows-server/27132 "2018-03-27T17:23:26Z")

</div>

Hi, Can anyone please provide Ansible Task to install logstash on Windows server, i have seen examples to set it up linux flavors like Debian, CentOS but not for windows server. https://github.com/geerlingguy/ansible-r…

---

## [\[Urgent\] Python 2.7 or python 3.x for fresh project](https://forum.ansible.com/t/urgent-python-2-7-or-python-3-x-for-fresh-project/27110)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 2:14pm UTC](https://forum.ansible.com/t/urgent-python-2-7-or-python-3-x-for-fresh-project/27110 "2018-03-27T14:14:58Z")

</div>

Hi All, Which version of the python is recommended to use? considering Ansible project to work on multiple Operating systems It is a new project and we should consider future use of the project also Thanks, Akash

---

## [Pause and Resume Ansible Playbooks without editing the YAML playbook](https://forum.ansible.com/t/pause-and-resume-ansible-playbooks-without-editing-the-yaml-playbook/27111)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 11:08am UTC](https://forum.ansible.com/t/pause-and-resume-ansible-playbooks-without-editing-the-yaml-playbook/27111 "2018-03-27T11:08:59Z")

</div>

Hi All, Our team have been trying to develop some GUI for the ansible execution and I wanted to know if there is some way to pause and resume the execution of the playbook midway with just command line argument. I am fa…

---

## [include\_role with delegate\_to - how to import group\_vars](https://forum.ansible.com/t/include-role-with-delegate-to-how-to-import-group-vars/27120)

<div class="topic-metadata">

**Author:** [@szknitter](https://forum.ansible.com/u/szknitter)\
**Replies:** 0\
**Last updated:** [March 26, 2018, 8:15pm UTC](https://forum.ansible.com/t/include-role-with-delegate-to-how-to-import-group-vars/27120 "2018-03-26T20:15:49Z")

</div>

Hi. I have situation like this: Playbook that is running on hosts A, B, C. Each of them have some other hosts under (A → a1 and a2, B → b1 and b2, C → c1 and c2). I have groups defined that a1, a2, b1, b2, c1 and c2 a…

---

## [ansible bootstrap/kickstart/export/offline/installer mode](https://forum.ansible.com/t/ansible-bootstrap-kickstart-export-offline-installer-mode/26710)

<div class="topic-metadata">

**Author:** [@Roman\_Belyakovsky](https://forum.ansible.com/u/Roman_Belyakovsky)\
**Replies:** 1\
**Last updated:** [March 25, 2018, 3:57am UTC](https://forum.ansible.com/t/ansible-bootstrap-kickstart-export-offline-installer-mode/26710 "2018-03-25T03:57:31Z")

</div>

Ansible became a very convenient tool for different systems setup. However it still requires ansibleto run playbooks and that’s sometimes a series limitation. One of the examples is AWS ASG – you can install ansible on …

---

## [Optimizing Ansible and its WinRM use for speed and profit](https://forum.ansible.com/t/optimizing-ansible-and-its-winrm-use-for-speed-and-profit/27105)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 4\
**Last updated:** [March 24, 2018, 11:14pm UTC](https://forum.ansible.com/t/optimizing-ansible-and-its-winrm-use-for-speed-and-profit/27105 "2018-03-24T23:14:05Z")

</div>

Has there been any dicsussion around session mgmt in Ansible’s WinRM implementation? I don’t know much about the protocol-level workings of Ansible, but as far as I can see: Each task in a play is treated fairly indepe…

---

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

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 3\
**Last updated:** [March 23, 2018, 6:04pm UTC](https://forum.ansible.com/t/get-config-in-ansible-2-5-0-api/27097 "2018-03-23T18:04:10Z")

</div>

I have some lookup plugins that I’d like to move to Ansible 2.5.0. Parts of the code: imports: from ansible.constants import p, get\_config and then in the code I can do: passwordstate\_uri = get\_config(p, passwordsta…

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

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