# Ansible Developer

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

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

**Page:** 33

---

## [Ansible-2.7.0 beta 1 is now available](https://forum.ansible.com/t/ansible-2-7-0-beta-1-is-now-available/28485)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 1, 2018, 3:05am UTC](https://forum.ansible.com/t/ansible-2-7-0-beta-1-is-now-available/28485 "2018-09-01T03:05:10Z")

</div>

Hi all -- we're happy to announce that Ansible 2.7.0 beta1 is now available! How do you get it?

---

## [How do i run python scripts which includes imports from other .py files in the same directory.](https://forum.ansible.com/t/how-do-i-run-python-scripts-which-includes-imports-from-other-py-files-in-the-same-directory/28471)

<div class="topic-metadata">

**Author:** [@Alan\_Jose](https://forum.ansible.com/u/Alan_Jose)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 9:10pm UTC](https://forum.ansible.com/t/how-do-i-run-python-scripts-which-includes-imports-from-other-py-files-in-the-same-directory/28471 "2018-08-31T21:10:52Z")

</div>

Hi, I have a python script which imports other external python modules. i have copied all the .py files to a directory in the remote host. But, when i try to run the script file, it gives me an error “ImportError: No mo…

---

## [Windows lookup plugins](https://forum.ansible.com/t/windows-lookup-plugins/28481)

<div class="topic-metadata">

**Author:** [@aestrangwood](https://forum.ansible.com/u/aestrangwood)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 2:14pm UTC](https://forum.ansible.com/t/windows-lookup-plugins/28481 "2018-08-31T14:14:23Z")

</div>

i want to create a lookup plugin for use on windows that does the same as the ini lookup but cant find any docs to say how its done or if its possible. I tried to make a plugin the same way i would a windows module but i…

---

## [Ansible k8s problem ("strategic merge patch format is not supported")](https://forum.ansible.com/t/ansible-k8s-problem-strategic-merge-patch-format-is-not-supported/28195)

<div class="topic-metadata">

**Author:** [@Attila\_Kemeny](https://forum.ansible.com/u/Attila_Kemeny)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 9:02am UTC](https://forum.ansible.com/t/ansible-k8s-problem-strategic-merge-patch-format-is-not-supported/28195 "2018-08-31T09:02:17Z")

</div>

Hello, i am trying to configure a k8s cluster with ansible. It is working quite well but new i have a problem with a custom resource (cert-manager Certificate and ClusterIssuer) When i rerun the scripts it gives me an e…

---

## [Where to put module guides](https://forum.ansible.com/t/where-to-put-module-guides/28456)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 3:39pm UTC](https://forum.ansible.com/t/where-to-put-module-guides/28456 "2018-08-30T15:39:48Z")

</div>

On the user list the use of the expect module is a topic that keeps coming up, so instead of repeating my self I should probably just document it somewhere. A longish guide on the expect module page\[1\] is probably not a…

---

## [v2 callback plugin migration](https://forum.ansible.com/t/v2-callback-plugin-migration/20209)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 6\
**Last updated:** [August 30, 2018, 9:53am UTC](https://forum.ansible.com/t/v2-callback-plugin-migration/20209 "2018-08-30T09:53:53Z")

</div>

I started work on porting my callback plugin and I’m hoping someone can help me get going. My old plugin used to get at a list of hosts like this (in on\_start): hosts = self.playbook.inventory.get\_hosts() Then I’d loo…

---

## [How to check version of ansible before execution begins](https://forum.ansible.com/t/how-to-check-version-of-ansible-before-execution-begins/25305)

<div class="topic-metadata">

**Author:** [@Vinod\_Kumar3](https://forum.ansible.com/u/Vinod_Kumar3)\
**Replies:** 6\
**Last updated:** [August 30, 2018, 12:42am UTC](https://forum.ansible.com/t/how-to-check-version-of-ansible-before-execution-begins/25305 "2018-08-30T00:42:40Z")

</div>

I have encounter the issue as follows: I have used latest ansible version as follows: {code} \[root@localhost samples\]# ansible --version ansible 2.3.1.0 config file = /home/vagrant/samples/ansible.cfg configured mo…

---

## [Where should issues against new gcp\_ modules be filed?](https://forum.ansible.com/t/where-should-issues-against-new-gcp-modules-be-filed/28422)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [August 27, 2018, 4:06pm UTC](https://forum.ansible.com/t/where-should-issues-against-new-gcp-modules-be-filed/28422 "2018-08-27T16:06:46Z")

</div>

I have spotted some errors/inconsistencies. Where should I report them? Is ansible’s issue tracker the proper place or should I find the magic modules one? Also, if I want to submit some fix, how should I do that?

---

## [small patch is still waiting to be merged in rhn\_register](https://forum.ansible.com/t/small-patch-is-still-waiting-to-be-merged-in-rhn-register/28397)

<div class="topic-metadata">

**Author:** [@Bernhard\_L](https://forum.ansible.com/u/Bernhard_L)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 5:25pm UTC](https://forum.ansible.com/t/small-patch-is-still-waiting-to-be-merged-in-rhn-register/28397 "2018-08-22T17:25:12Z")

</div>

Hi, It would be great if my small PR could be merged for the next release: https://github.com/ansible/ansible/pull/33660 Thanks!

---

## [Move messages from error queue to parent queue in Redhat Active MQ via ansible script](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq-via-ansible-script/28367)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 4:47pm UTC](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq-via-ansible-script/28367 "2018-08-20T16:47:05Z")

</div>

Hi, I would like to move messages from error queue to parent queue in Redhat Active MQ. I want to automate Jolokia REST Url moveMessages(int,java.lang.String,java.lang.String,boolean) concept through ansible uri module…

---

## [access Splunk alerts through ansible](https://forum.ansible.com/t/access-splunk-alerts-through-ansible/28370)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 4:46pm UTC](https://forum.ansible.com/t/access-splunk-alerts-through-ansible/28370 "2018-08-20T16:46:08Z")

</div>

I would like to access Splunk alerts through ansible. We have several alerts in Splunk which we wants to access through ansible. Please do let me know can we access splunk alerts via ansible. If so, let me know the steps…

---

## [Ansible 2.6.3 is available](https://forum.ansible.com/t/ansible-2-6-3-is-available/28349)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [August 17, 2018, 3:56am UTC](https://forum.ansible.com/t/ansible-2-6-3-is-available/28349 "2018-08-17T03:56:19Z")

</div>

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

---

## [Ansible 2.5.8 is available](https://forum.ansible.com/t/ansible-2-5-8-is-available/28347)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [August 16, 2018, 11:35pm UTC](https://forum.ansible.com/t/ansible-2-5-8-is-available/28347 "2018-08-16T23:35:22Z")

</div>

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

---

## [Pull value from stdout](https://forum.ansible.com/t/pull-value-from-stdout/28341)

<div class="topic-metadata">

**Author:** [@email](https://forum.ansible.com/u/email)\
**Replies:** 3\
**Last updated:** [August 16, 2018, 1:01pm UTC](https://forum.ansible.com/t/pull-value-from-stdout/28341 "2018-08-16T13:01:43Z")

</div>

Hi I am for some reason, really struggling to pull an item from stdout and register it. Inside play: debug: msg: “{{ output.stdout }}” Output: ok: \[localhost\] =\> { “msg”: { “code”: 200, “data”: “1…

---

## [Restoring an ansible backup file](https://forum.ansible.com/t/restoring-an-ansible-backup-file/28338)

<div class="topic-metadata">

**Author:** [@Tony\_Owens](https://forum.ansible.com/u/Tony_Owens)\
**Replies:** 1\
**Last updated:** [August 16, 2018, 10:43am UTC](https://forum.ansible.com/t/restoring-an-ansible-backup-file/28338 "2018-08-16T10:43:06Z")

</div>

I’m trying to copy a file out with backup option which works fine. I’m pretty sure I am overlooking over something simple here. Any help is appreciated. \`

---

## [Announcement: module\_utils License Guidelines Change](https://forum.ansible.com/t/announcement-module-utils-license-guidelines-change/28332)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 0\
**Last updated:** [August 14, 2018, 9:55pm UTC](https://forum.ansible.com/t/announcement-module-utils-license-guidelines-change/28332 "2018-08-14T21:55:21Z")

</div>

Hello all, Recently there was a discussion and a vote among the Core Developer Community about licencing of module\_utils and it was decided to change the guideline\[0\]. There is a pull request with the changes to …

---

## [replace or lineinfile or ?](https://forum.ansible.com/t/replace-or-lineinfile-or/28310)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 0\
**Last updated:** [August 10, 2018, 11:58am UTC](https://forum.ansible.com/t/replace-or-lineinfile-or/28310 "2018-08-10T11:58:21Z")

</div>

For a replication project i have to dynamic create an .sql for execute with mariadb. i have two hosts (A and B) in my host variables, both with name, ip and ID. i think about create a local file, copy it to the destin…

---

## [mounting the nfs file system using autofs/ansible](https://forum.ansible.com/t/mounting-the-nfs-file-system-using-autofs-ansible/28271)

<div class="topic-metadata">

**Author:** [@Prasanth\_G](https://forum.ansible.com/u/Prasanth_G)\
**Replies:** 1\
**Last updated:** [August 10, 2018, 11:57am UTC](https://forum.ansible.com/t/mounting-the-nfs-file-system-using-autofs-ansible/28271 "2018-08-10T11:57:01Z")

</div>

Dear All. I am working on a project where we have a scenario in which we have to mount an NFS file system when each time system boots up ( we spin up using AWS/GITLAB CI/CD approach) so each time i get new instance with…

---

## [Ansible Authentication issue using ssh on Ubuntu server](https://forum.ansible.com/t/ansible-authentication-issue-using-ssh-on-ubuntu-server/28305)

<div class="topic-metadata">

**Author:** [@Michael\_Ikram](https://forum.ansible.com/u/Michael_Ikram)\
**Replies:** 1\
**Last updated:** [August 10, 2018, 7:07am UTC](https://forum.ansible.com/t/ansible-authentication-issue-using-ssh-on-ubuntu-server/28305 "2018-08-10T07:07:35Z")

</div>

I am having a problem, I need help in getting ansible playbook successful connect to simple cisco switch, error is below, can anyone help me ? root@netadmin-Virtual-Machine:/etc/ansible# ansible-playbook ios\_command\_1.y…

---

## [How can i  include entire shell script block in ansible playbook](https://forum.ansible.com/t/how-can-i-include-entire-shell-script-block-in-ansible-playbook/28300)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 1\
**Last updated:** [August 9, 2018, 8:51pm UTC](https://forum.ansible.com/t/how-can-i-include-entire-shell-script-block-in-ansible-playbook/28300 "2018-08-09T20:51:09Z")

</div>

Hi all, I have some sample script #!/bin/bash #ip=$2 tar\_file=$1 bkp\_name=“bkp-$$” if \[ -z “${tar\_file}” \]; then echo “Usage import.sh \[tar file\]” exit 1 fi for keyspace do keyspace=$(basename “${tar\_file}” “…

---

## [Debug loop of registered with\_items](https://forum.ansible.com/t/debug-loop-of-registered-with-items/28293)

<div class="topic-metadata">

**Author:** [@email](https://forum.ansible.com/u/email)\
**Replies:** 3\
**Last updated:** [August 8, 2018, 3:04pm UTC](https://forum.ansible.com/t/debug-loop-of-registered-with-items/28293 "2018-08-08T15:04:07Z")

</div>

Hi all, I am struggling to find a decent way of going this. Here’s what I have so far, which obviously doesn’t work \` name: Check services are set to start on boot service: name: “{{ item.name }}” enabled: yes …

---

## [how i can install ansible on winddows](https://forum.ansible.com/t/how-i-can-install-ansible-on-winddows/28260)

<div class="topic-metadata">

**Author:** [@rahul.sahu](https://forum.ansible.com/u/rahul.sahu)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 12:50pm UTC](https://forum.ansible.com/t/how-i-can-install-ansible-on-winddows/28260 "2018-08-07T12:50:59Z")

</div>

Is there any complete information or blog where i can get list of all s/w i need install in order to install ansible?

---

## [detachable ansible](https://forum.ansible.com/t/detachable-ansible/28263)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 3\
**Last updated:** [August 6, 2018, 9:42pm UTC](https://forum.ansible.com/t/detachable-ansible/28263 "2018-08-06T21:42:56Z")

</div>

just had a funny thought. running a task in ansible kinda looks like this ansible copies module and vars to server ansible starts the module and waits for stdout and std error ansible gets output, it shows you and rep…

---

## [Infoblox fixed addresses](https://forum.ansible.com/t/infoblox-fixed-addresses/28262)

<div class="topic-metadata">

**Author:** [@Ryan\_Williams](https://forum.ansible.com/u/Ryan_Williams)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 2:34pm UTC](https://forum.ansible.com/t/infoblox-fixed-addresses/28262 "2018-08-06T14:34:58Z")

</div>

Hi, Are there any plans to add an Infoblox module to Ansible that can add or update fixed addresses? Thanks

---

## [Proposal: New max\_fail parameter for easier and more powerful allowing some hosts to fail](https://forum.ansible.com/t/proposal-new-max-fail-parameter-for-easier-and-more-powerful-allowing-some-hosts-to-fail/28261)

<div class="topic-metadata">

**Author:** [@Greg\_Dubicki](https://forum.ansible.com/u/Greg_Dubicki)\
**Replies:** 0\
**Last updated:** [August 4, 2018, 1:29pm UTC](https://forum.ansible.com/t/proposal-new-max-fail-parameter-for-easier-and-more-powerful-allowing-some-hosts-to-fail/28261 "2018-08-04T13:29:50Z")

</div>

Hi, As documented in https://github.com/ansible/proposals/blob/master/proposals\_process\_proposal.md I would like to let you know that I have described a proposal like in this email subject here: https://github.com/ansib…

---

## [Major yum and dnf refactor: requesting feedback and testing](https://forum.ansible.com/t/major-yum-and-dnf-refactor-requesting-feedback-and-testing/28246)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 0\
**Last updated:** [August 3, 2018, 4:47am UTC](https://forum.ansible.com/t/major-yum-and-dnf-refactor-requesting-feedback-and-testing/28246 "2018-08-03T04:47:42Z")

</div>

Hello all, I have recently opened a pull request that contains a bit of work to heavily refactor both the yum and dnf modules in hopes of making them easier to maintain going forward and also bring them into featu…

---

## [command/shell + with\_items ignores failures](https://forum.ansible.com/t/command-shell-with-items-ignores-failures/28236)

<div class="topic-metadata">

**Author:** [@Sergey\_Urushkin](https://forum.ansible.com/u/Sergey_Urushkin)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 3:10pm UTC](https://forum.ansible.com/t/command-shell-with-items-ignores-failures/28236 "2018-08-02T15:10:13Z")

</div>

Hello, I need to run many shell commands through loop (commands are passed through environment variable, separated by commas). The problem is that I need to stop on error immediately without running subsequent commands.…

---

## [Transfer execute and delete script python via playbook](https://forum.ansible.com/t/transfer-execute-and-delete-script-python-via-playbook/28234)

<div class="topic-metadata">

**Author:** [@Vincent\_Descargues](https://forum.ansible.com/u/Vincent_Descargues)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 8:38am UTC](https://forum.ansible.com/t/transfer-execute-and-delete-script-python-via-playbook/28234 "2018-08-02T08:38:38Z")

</div>

Hello, I would like to know how it is possible with a command to be able to both transfer execute and delete a python script via a playbook. Currently I do it in 3 lines: 1) Transfer 2) Execute 3) Delete. I could see o…

---

## [ansible playbook stuck in setup.py](https://forum.ansible.com/t/ansible-playbook-stuck-in-setup-py/28230)

<div class="topic-metadata">

**Author:** [@madhan0618](https://forum.ansible.com/u/madhan0618)\
**Replies:** 0\
**Last updated:** [August 1, 2018, 10:31pm UTC](https://forum.ansible.com/t/ansible-playbook-stuck-in-setup-py/28230 "2018-08-01T22:31:01Z")

</div>

my playbook is stuck at gathering facts step. I am testing a simple ping playbook and it is also stuck in setup.yaml. here is the simple playbook

---

## [Find and fetch-- not doing any thing](https://forum.ansible.com/t/find-and-fetch-not-doing-any-thing/28224)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 0\
**Last updated:** [August 1, 2018, 12:59pm UTC](https://forum.ansible.com/t/find-and-fetch-not-doing-any-thing/28224 "2018-08-01T12:59:02Z")

</div>

Hi I am using below code to find and fetch files from remote server to local, how ever its not erroring, but not fetch anything find: paths=“/home/cloud-user” patterns=“\*.tar” register: file\_to\_copy fetch: src…

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

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