# Ansible Developer

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

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

**Page:** 35

---

## [Need help with ansible-playbook "git" module](https://forum.ansible.com/t/need-help-with-ansible-playbook-git-module/27995)

<div class="topic-metadata">

**Author:** [@Rahul\_Satal](https://forum.ansible.com/u/Rahul_Satal)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 3:32pm UTC](https://forum.ansible.com/t/need-help-with-ansible-playbook-git-module/27995 "2018-07-09T15:32:54Z")

</div>

I have to clone a git repository in 10 remote servers. Firstly, I want to know that do I need to install git on all the 10 servers or only on local system. Second is I am getting this error - “stderr”: “fatal: could not …

---

## [Advice wanted for failing ansible-test sanity checks for contributed modules](https://forum.ansible.com/t/advice-wanted-for-failing-ansible-test-sanity-checks-for-contributed-modules/27984)

<div class="topic-metadata">

**Author:** [@rhysmeister](https://forum.ansible.com/u/rhysmeister)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 11:22am UTC](https://forum.ansible.com/t/advice-wanted-for-failing-ansible-test-sanity-checks-for-contributed-modules/27984 "2018-07-08T11:22:48Z")

</div>

Hello All, I have submitted a PR for two new modules for mongodb. These were based on the existing mongodb modules and thus I re-used some of code. The PR is failing on two ansible-test sanity checks… lib/ansible/modul…

---

## [need help with nmcli module and bridge-slave](https://forum.ansible.com/t/need-help-with-nmcli-module-and-bridge-slave/27982)

<div class="topic-metadata">

**Author:** [@Greg\_Sheremeta](https://forum.ansible.com/u/Greg_Sheremeta)\
**Replies:** 2\
**Last updated:** [July 7, 2018, 3:03pm UTC](https://forum.ansible.com/t/need-help-with-nmcli-module-and-bridge-slave/27982 "2018-07-07T15:03:56Z")

</div>

Hi, I need some help with nmcli and bridge-slave. I’m running the script from fedora 28, and trying to setup a centos 7 (minimal install iso) kvm node. \` set\_fact: bridge\_slave: “{{ ansible\_interfaces | difference(…

---

## [What is the advantage of ansible over ssh itself](https://forum.ansible.com/t/what-is-the-advantage-of-ansible-over-ssh-itself/27948)

<div class="topic-metadata">

**Author:** [@Lalit\_Singh\_Rao](https://forum.ansible.com/u/Lalit_Singh_Rao)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 2:07pm UTC](https://forum.ansible.com/t/what-is-the-advantage-of-ansible-over-ssh-itself/27948 "2018-07-07T14:07:14Z")

</div>

I was working on ansible, and found out that Every task which we execute using ansible can be carried out by ssh command. So, why should I bother making a different YAML file and do something, does ansible have any diff…

---

## [Break up long conditional statement?](https://forum.ansible.com/t/break-up-long-conditional-statement/27974)

<div class="topic-metadata">

**Author:** [@burvilwork2](https://forum.ansible.com/u/burvilwork2)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 7:13pm UTC](https://forum.ansible.com/t/break-up-long-conditional-statement/27974 "2018-07-06T19:13:59Z")

</div>

I currently have this in a playbook: - block: - name: checking values fail: msg="failure here" when: ( ( application is not defined) or ( application == "") or ( component is not defined) or …

---

## [How to disable registration of stdr output in ansible](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27968)

<div class="topic-metadata">

**Author:** [@Imthi\_Official](https://forum.ansible.com/u/Imthi_Official)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 5:38am UTC](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27968 "2018-07-06T05:38:18Z")

</div>

Hi, I have developed a custom module for ansible using python pycurl lib. Instead of registering the returned response. The stdr output is being registered. Could anyone help me on this. https://stackoverflow.com/quest…

---

## [Ansible 2.6.1/2.5.6/2.4.6 are now available](https://forum.ansible.com/t/ansible-2-6-1-2-5-6-2-4-6-are-now-available/27966)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 12:58am UTC](https://forum.ansible.com/t/ansible-2-6-1-2-5-6-2-4-6-are-now-available/27966 "2018-07-06T00:58:18Z")

</div>

Hi all, Ansible 2.6.1, 2.5.6, and 2.4.6 were released today. In addition to various bugfixes (see each release’s changelog for details), these releases each include fixes for two recently-filed security vulnerabilities: …

---

## [Checking if a user exists](https://forum.ansible.com/t/checking-if-a-user-exists/21255)

<div class="topic-metadata">

**Author:** [@Paul\_Davies1](https://forum.ansible.com/u/Paul_Davies1)\
**Replies:** 6\
**Last updated:** [July 2, 2018, 6:06pm UTC](https://forum.ansible.com/t/checking-if-a-user-exists/21255 "2018-07-02T18:06:56Z")

</div>

Hi all Due to separation of concerns, our Ansible scripts cannot create the users we require for our scripts - this is done by another team after a server is created and prior to our run. How can we check that the user…

---

## [nxos\_bgp\_af removes all other advertised networks when adding a new network to address-family #42136](https://forum.ansible.com/t/nxos-bgp-af-removes-all-other-advertised-networks-when-adding-a-new-network-to-address-family-42136/27924)

<div class="topic-metadata">

**Author:** [@Gabriel\_Flores](https://forum.ansible.com/u/Gabriel_Flores)\
**Replies:** 0\
**Last updated:** [July 1, 2018, 12:55am UTC](https://forum.ansible.com/t/nxos-bgp-af-removes-all-other-advertised-networks-when-adding-a-new-network-to-address-family-42136/27924 "2018-07-01T00:55:31Z")

</div>

I was running into an issue (#42136) where the networks you would try to add, would wipe out all other existing advertised networks. I believe it is safer to not automatically purge those networks and instead, have that …

---

## [Fetching file from remote server to github repository using Ansible script](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27922)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 0\
**Last updated:** [June 30, 2018, 5:22pm UTC](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27922 "2018-06-30T17:22:07Z")

</div>

Fetching file from remote server to github repository using Ansible script

---

## [Ansible Galaxy Migration and Potential Disruption of Service](https://forum.ansible.com/t/ansible-galaxy-migration-and-potential-disruption-of-service/27906)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel1](https://forum.ansible.com/u/Timothy_Appnel1)\
**Replies:** 1\
**Last updated:** [June 30, 2018, 6:21am UTC](https://forum.ansible.com/t/ansible-galaxy-migration-and-potential-disruption-of-service/27906 "2018-06-30T06:21:59Z")

</div>

This weekend starting Saturday at 12AM EDT, we will be migrating the Ansible Galaxy hub to new containerized infrastructure provided by Red Hat OpenShift Dedicated and in the process rolling out a modernized code base an…

---

## [ETCD3 Module](https://forum.ansible.com/t/etcd3-module/27917)

<div class="topic-metadata">

**Author:** [@Victor\_Sartori](https://forum.ansible.com/u/Victor_Sartori)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 4:27pm UTC](https://forum.ansible.com/t/etcd3-module/27917 "2018-06-29T16:27:26Z")

</div>

Hi Folks, I’m looking on module etcd3 and I missed a way to get a stored data on Etcd using v3 api. So, I made a small change on module to support that (https://gist.github.com/vasartori/c2ec99d1a71d9cbcd84ed7269fe48c0…

---

## [Ansible 2.6.0 Final is available](https://forum.ansible.com/t/ansible-2-6-0-final-is-available/27908)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 8:26am UTC](https://forum.ansible.com/t/ansible-2-6-0-final-is-available/27908 "2018-06-29T08:26:57Z")

</div>

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

---

## [regx and playbooks](https://forum.ansible.com/t/regx-and-playbooks/27896)

<div class="topic-metadata">

**Author:** [@apple.talk](https://forum.ansible.com/u/apple.talk)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 2:38pm UTC](https://forum.ansible.com/t/regx-and-playbooks/27896 "2018-06-28T14:38:28Z")

</div>

Hi folks, I will search one line with “version” in the variable “output”, but I don’t find the correct syntax. Who can I find a string in a ansible output?

---

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

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [June 27, 2018, 4:48am UTC](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-5-is-available/27880 "2018-06-27T04:48:04Z")

</div>

Hi all – we’re happy to announce that Release Candidate 5 of Ansible 2.6.0 is now available! How do you get it?

---

## [Ansible 2.6.0 Release Candidate 4 is available](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-4-is-available/27869)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 2\
**Last updated:** [June 26, 2018, 6:42am UTC](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-4-is-available/27869 "2018-06-26T06:42:13Z")

</div>

Hi all – we’re happy to announce that Release Candidate 4 of Ansible 2.6.0 is now available! How do you get it?

---

## [Nested variables not expanding in callback plugin](https://forum.ansible.com/t/nested-variables-not-expanding-in-callback-plugin/27858)

<div class="topic-metadata">

**Author:** [@andrew\_nguyen](https://forum.ansible.com/u/andrew_nguyen)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 10:11pm UTC](https://forum.ansible.com/t/nested-variables-not-expanding-in-callback-plugin/27858 "2018-06-25T22:11:34Z")

</div>

Hello All, I have the following playbook. In the debug task, examplevar1 is expanding however in the callback it is not. Is there anyway for me to get this working?

---

## [azure\_rm\_deployment failing](https://forum.ansible.com/t/azure-rm-deployment-failing/27845)

<div class="topic-metadata">

**Author:** [@tannerjonj](https://forum.ansible.com/u/tannerjonj)\
**Replies:** 1\
**Last updated:** [June 25, 2018, 9:55am UTC](https://forum.ansible.com/t/azure-rm-deployment-failing/27845 "2018-06-25T09:55:15Z")

</div>

Using Ansible to deploy VMs to Azure using the azure\_rm\_deployment module. The deployment in Azure works but I get the following errors back in Ansible TASK \[Hedberg\_deploy\_template : Execute Azure Deployment\] \*\*\*\*\*\*\*\*\*…

---

## [Ansible debug msg  with item.stdout not working with Ansible 2.1](https://forum.ansible.com/t/ansible-debug-msg-with-item-stdout-not-working-with-ansible-2-1/27833)

<div class="topic-metadata">

**Author:** [@Rijesh\_Puthiya\_Puray](https://forum.ansible.com/u/Rijesh_Puthiya_Puray)\
**Replies:** 3\
**Last updated:** [June 21, 2018, 12:00pm UTC](https://forum.ansible.com/t/ansible-debug-msg-with-item-stdout-not-working-with-ansible-2-1/27833 "2018-06-21T12:00:08Z")

</div>

Hello, I have following playbook. \` hosts: localhost vars: routes: name: /blue name: /green password: test #will be reading from inventory in original case gather\_facts: no tasks: name: Execute manage command …

---

## [PlaybookExecutor - Python API 2.0](https://forum.ansible.com/t/playbookexecutor-python-api-2-0/27841)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 10:12am UTC](https://forum.ansible.com/t/playbookexecutor-python-api-2-0/27841 "2018-06-21T10:12:10Z")

</div>

Hey Folks So while executing playbooks via the PlaybookExecutor API , I want to pass my custom callback derived from CallbackBase + also to get the log file written with an command line like output. run\_pbook = Playboo…

---

## [Is there a way to have global macros?](https://forum.ansible.com/t/is-there-a-way-to-have-global-macros/27836)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 10:10pm UTC](https://forum.ansible.com/t/is-there-a-way-to-have-global-macros/27836 "2018-06-20T22:10:23Z")

</div>

By global macros I mean macros that are loaded somehow and are then available in every tasks in a playbook. For instance, instead of having: \` \` set\_fact: var1=“{% from ‘macros.j2’ import macro1 %}{{ macro1(‘arg’)}}…

---

## [Reg. AWS API Gateway](https://forum.ansible.com/t/reg-aws-api-gateway/27685)

<div class="topic-metadata">

**Author:** [@Ukesh\_Kumar\_Vasudeva](https://forum.ansible.com/u/Ukesh_Kumar_Vasudeva)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 3:14pm UTC](https://forum.ansible.com/t/reg-aws-api-gateway/27685 "2018-06-19T15:14:45Z")

</div>

Hi, I want to enable logging in AWS API Gateway using ansible. I can able to create AWS API Gateway using ‘aws\_api\_gateway’ module. I couldn’t find how to enable logging in that. Could someone help on this ? Thanks in …

---

## [smart host filter regex](https://forum.ansible.com/t/smart-host-filter-regex/27703)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Farinas](https://forum.ansible.com/u/Lorenzo_Farinas)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 2:47pm UTC](https://forum.ansible.com/t/smart-host-filter-regex/27703 "2018-06-19T14:47:55Z")

</div>

I’m trying to filter our Tier 1 RHEL servers on Ansible Tower smart inventory that have ip’s of 10.5.x.x, 10.50.x.x, and 10.51.x.x. Red Hat provided this syntax for smart host filter, name.regex:“^10.5\[0-1\]..$|^10.5..$”,…

---

## [New to ansible and want to help!](https://forum.ansible.com/t/new-to-ansible-and-want-to-help/26654)

<div class="topic-metadata">

**Author:** [@tomset](https://forum.ansible.com/u/tomset)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 2:40pm UTC](https://forum.ansible.com/t/new-to-ansible-and-want-to-help/26654 "2018-06-19T14:40:05Z")

</div>

I’m new to Ansible but have been working with Python for years. If there’s anything that needs doing (documentation, features, whatever), I can jump in. Let me know!

---

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

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 9:23am UTC](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-3-is-available/27820 "2018-06-19T09:23:12Z")

</div>

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

---

## [ansible-playbook redirect](https://forum.ansible.com/t/ansible-playbook-redirect/27814)

<div class="topic-metadata">

**Author:** [@apple.talk](https://forum.ansible.com/u/apple.talk)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 2:34pm UTC](https://forum.ansible.com/t/ansible-playbook-redirect/27814 "2018-06-18T14:34:36Z")

</div>

Hi folks, when I use “ansible-playbook -i ” I could’t redirect the output. Why? ansible-playbook -i \> log.txt I will capture the consolen output and send this output to another app. I can capture the STDOUT traffic…

---

## [Inventory plugin error](https://forum.ansible.com/t/inventory-plugin-error/27706)

<div class="topic-metadata">

**Author:** [@Antoine\_Barbare](https://forum.ansible.com/u/Antoine_Barbare)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 12:30pm UTC](https://forum.ansible.com/t/inventory-plugin-error/27706 "2018-06-18T12:30:41Z")

</div>

Hello! I wanted to use the Scaleway inventory plugin to launch my playbook but I encounter an error with Ansible 2.6. ~ $ ansible-inventory -vvv --list -i scaleway\_inventory.yml ansible-inventory 2.6.0.dev0 config fi…

---

## [Ansible 2.5.5 and 2.4.5rc1 are available](https://forum.ansible.com/t/ansible-2-5-5-and-2-4-5rc1-are-available/27801)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 10:17pm UTC](https://forum.ansible.com/t/ansible-2-5-5-and-2-4-5rc1-are-available/27801 "2018-06-14T22:17:07Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.5 is now available! Additionally, 2.4.5rc1 (2.4.5 final release planned for next week) is also available from the same channels. These releases con…

---

## [Jenkins with ansible error](https://forum.ansible.com/t/jenkins-with-ansible-error/24599)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 5:57pm UTC](https://forum.ansible.com/t/jenkins-with-ansible-error/24599 "2018-06-13T17:57:47Z")

</div>

Hi I have a anisble play sworking fine from command line. but same play fails when running from jenkins I have key vault\_password\_file in ansible.cfg , this has valid path and the .vpass file which is referred with the…

---

## [AnsibleFest is coming! And so should you. CFP is open now!](https://forum.ansible.com/t/ansiblefest-is-coming-and-so-should-you-cfp-is-open-now/27784)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron](https://forum.ansible.com/u/Robyn_Bergeron)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 7:31pm UTC](https://forum.ansible.com/t/ansiblefest-is-coming-and-so-should-you-cfp-is-open-now/27784 "2018-06-12T19:31:39Z")

</div>

Greetings! We are super excited to announce AnsibleFest Austin 2018! For the first time, AnsibleFest will span two days (October 2-3), and is expanding to six tracks of content, including the new Community and Culture t…

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

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