# Latest

**URL:** https://forum.ansible.com/latest.md?page=672

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

**Page:** 673

---

## [Download a file in control machine and copy to windows host](https://forum.ansible.com/t/download-a-file-in-control-machine-and-copy-to-windows-host/24077)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 3\
**Last updated:** [March 29, 2017, 11:36am UTC](https://forum.ansible.com/t/download-a-file-in-control-machine-and-copy-to-windows-host/24077 "2017-03-29T11:36:40Z")

</div>

Hi, I want to download files from an URL to control machine and store them in it and copy them over to windows host. How can we achieve this in single playbook

---

## [the connection plugin 'kerberos' was not found](https://forum.ansible.com/t/the-connection-plugin-kerberos-was-not-found/24079)

<div class="topic-metadata">

**Author:** [@Vijay\_R\_K\_Shetty](https://forum.ansible.com/u/Vijay_R_K_Shetty)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 5:46am UTC](https://forum.ansible.com/t/the-connection-plugin-kerberos-was-not-found/24079 "2017-03-29T05:46:15Z")

</div>

FAILED! =\> { “failed”: true, “msg”: “the connection plugin ‘kerberos’ was not found” I have installed kerberos but unable to get it working can some one help me?

---

## [Can't get gpg key accepted automatically for new repo on CentOS 7](https://forum.ansible.com/t/cant-get-gpg-key-accepted-automatically-for-new-repo-on-centos-7/23746)

<div class="topic-metadata">

**Author:** [@luke2](https://forum.ansible.com/u/luke2)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 9:41pm UTC](https://forum.ansible.com/t/cant-get-gpg-key-accepted-automatically-for-new-repo-on-centos-7/23746 "2017-03-28T21:41:38Z")

</div>

Here’s the play I’ve tried: \` hosts: eliza tags: grafana roles: role: service\_restart tasks: name: Add grafana repository yum\_repository: name: grafana description: grafana baseurl: https://packagecloud.io/g…

---

## [same with\_items for multiple tasks](https://forum.ansible.com/t/same-with-items-for-multiple-tasks/24087)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 2\
**Last updated:** [March 28, 2017, 9:40pm UTC](https://forum.ansible.com/t/same-with-items-for-multiple-tasks/24087 "2017-03-28T21:40:57Z")

</div>

How can we create one with\_items and use it for multiple tasks

---

## [looking for feedback on an idea for a PR](https://forum.ansible.com/t/looking-for-feedback-on-an-idea-for-a-pr/24085)

<div class="topic-metadata">

**Author:** [@michaelconlon0](https://forum.ansible.com/u/michaelconlon0)\
**Replies:** 6\
**Last updated:** [March 28, 2017, 9:00pm UTC](https://forum.ansible.com/t/looking-for-feedback-on-an-idea-for-a-pr/24085 "2017-03-28T21:00:43Z")

</div>

At my company, we currently use a patch file to get this result, and it’s been working great for over a year…so I figured it might be worth submitting a PR. However, I’m not sure how it would be received from a design pe…

---

## [Mapping APP-INSTANCE centric config to HOST-Centric config](https://forum.ansible.com/t/mapping-app-instance-centric-config-to-host-centric-config/24091)

<div class="topic-metadata">

**Author:** [@Neil\_Verkland](https://forum.ansible.com/u/Neil_Verkland)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 8:25pm UTC](https://forum.ansible.com/t/mapping-app-instance-centric-config-to-host-centric-config/24091 "2017-03-28T20:25:42Z")

</div>

Our logical configurations are currently kept in Perl (homegrown) and we’re evaluating Ansible as a replacement. Our configurations are currently “instance” centric not “host” centric. Below is the configuration from 1 …

---

## [Ansible upgrade from 2.2.1.0 to 2.2.2.0 - Shell module unable to elevate privileges with sudo](https://forum.ansible.com/t/ansible-upgrade-from-2-2-1-0-to-2-2-2-0-shell-module-unable-to-elevate-privileges-with-sudo/24089)

<div class="topic-metadata">

**Author:** [@Julio\_Henrique\_Morim](https://forum.ansible.com/u/Julio_Henrique_Morim)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 7:33pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-2-2-1-0-to-2-2-2-0-shell-module-unable-to-elevate-privileges-with-sudo/24089 "2017-03-28T19:33:48Z")

</div>

We have a bunch of scripts to manage automation of installation of java application servers, as well as application deployments. We recently upgraded to Ansible 2.2.2.0 and noticed the shell module appears to be broken …

---

## [Module ping: One host fails with "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh"](https://forum.ansible.com/t/module-ping-one-host-fails-with-ssh-error-data-could-not-be-sent-to-the-remote-host-make-sure-this-host-can-be-reached-over-ssh/22026)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 14\
**Last updated:** [March 28, 2017, 7:04pm UTC](https://forum.ansible.com/t/module-ping-one-host-fails-with-ssh-error-data-could-not-be-sent-to-the-remote-host-make-sure-this-host-can-be-reached-over-ssh/22026 "2017-03-28T19:04:54Z")

</div>

Hello there, before executing the following commands I started a ssh-agent bash and added my private key. Running the command “ansible all -m ping” \`\`checks succeeded but one. For one host I got the following error: h…

---

## [Perform Cron job  in ansible playbook on ec2-user](https://forum.ansible.com/t/perform-cron-job-in-ansible-playbook-on-ec2-user/24084)

<div class="topic-metadata">

**Author:** [@Balu\_Kompalli](https://forum.ansible.com/u/Balu_Kompalli)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 3:55pm UTC](https://forum.ansible.com/t/perform-cron-job-in-ansible-playbook-on-ec2-user/24084 "2017-03-28T15:55:20Z")

</div>

Hello Team, I am working on the cron jobs in Ansible. I want to perform cron jobs operations on AWS ec2 instance. I got success status on ec2 instance in the control machine while i have ran the playbook. But within the…

---

## [Send playbook output to Logstash/Elasticsearch](https://forum.ansible.com/t/send-playbook-output-to-logstash-elasticsearch/24082)

<div class="topic-metadata">

**Author:** [@mihai-satmarean](https://forum.ansible.com/u/mihai-satmarean)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 3:32pm UTC](https://forum.ansible.com/t/send-playbook-output-to-logstash-elasticsearch/24082 "2017-03-28T15:32:22Z")

</div>

hi David, I am trying today nearly the same thing, the paste bin you had there is gone, is it working what you tried, have you a working example to share around? Thanks!

---

## [Hosts file and security issues](https://forum.ansible.com/t/hosts-file-and-security-issues/24078)

<div class="topic-metadata">

**Author:** [@Marco\_Buttu](https://forum.ansible.com/u/Marco_Buttu)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 1:36pm UTC](https://forum.ansible.com/t/hosts-file-and-security-issues/24078 "2017-03-28T13:36:42Z")

</div>

Hi all, I have a public github repository for my ansible project. The hosts file has the private IP addresses (192.168…) of the production machines. Do you think this could be risky and it would be better to put the pro…

---

## [Windows installer fails via Ansible](https://forum.ansible.com/t/windows-installer-fails-via-ansible/23774)

<div class="topic-metadata">

**Author:** [@Justin\_Dugan](https://forum.ansible.com/u/Justin_Dugan)\
**Replies:** 13\
**Last updated:** [March 28, 2017, 9:30am UTC](https://forum.ansible.com/t/windows-installer-fails-via-ansible/23774 "2017-03-28T09:30:14Z")

</div>

I have a windows installer that fails when executed via Ansible. This installer connects to a SQLServer database during the install. It fails when attempting to connect to the database. ansible\_winrm\_kerberos\_delegation…

---

## [module.exit\_json with rc \> 0](https://forum.ansible.com/t/module-exit-json-with-rc-0/24070)

<div class="topic-metadata">

**Author:** [@Peter\_Oliver](https://forum.ansible.com/u/Peter_Oliver)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 8:34am UTC](https://forum.ansible.com/t/module-exit-json-with-rc-0/24070 "2017-03-28T08:34:56Z")

</div>

From a module, if I call module.exit\_json() with a variable called rc with some value greater than zero, Ansible always treats the task as failed (despite me not having called module.fail\_json()). Is there some way to …

---

## [Installing Ansible on AIX](https://forum.ansible.com/t/installing-ansible-on-aix/23900)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 14\
**Last updated:** [March 28, 2017, 5:38am UTC](https://forum.ansible.com/t/installing-ansible-on-aix/23900 "2017-03-28T05:38:00Z")

</div>

Hello, I need ansible to be installed on AIX 6.1 and 7.1. Kindly provide the pre-requisites and steps for installation of ansible Also, would it require any changes to be done in the playbook? Have been referring to …

---

## [Recovering from a failed playbook include](https://forum.ansible.com/t/recovering-from-a-failed-playbook-include/24076)

<div class="topic-metadata">

**Author:** [@lmeyer](https://forum.ansible.com/u/lmeyer)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 2:28am UTC](https://forum.ansible.com/t/recovering-from-a-failed-playbook-include/24076 "2017-03-28T02:28:51Z")

</div>

My use case is that I’m trying to run integration tests on playbooks - that is, test the playbooks under various scenarios. For each test, I want to spin up a docker container (or several) and use them as the inventory f…

---

## [Ansible-doc - is everything in it?](https://forum.ansible.com/t/ansible-doc-is-everything-in-it/24073)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 12:31am UTC](https://forum.ansible.com/t/ansible-doc-is-everything-in-it/24073 "2017-03-28T00:31:13Z")

</div>

Hi, Sometimes I need (offline) information about how to use specific arguments on modules like ‘with\_items’, ‘with\_files’, ‘tags’, ‘when’ etc. I would then like to use ansible-doc to get my playbook done, but I seem to …

---

## [Network config modules (eos\_config, ios\_config) fuzzy matching lines, and what is the "config" parameter?](https://forum.ansible.com/t/network-config-modules-eos-config-ios-config-fuzzy-matching-lines-and-what-is-the-config-parameter/23992)

<div class="topic-metadata">

**Author:** [@bboudrias](https://forum.ansible.com/u/bboudrias)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 11:36pm UTC](https://forum.ansible.com/t/network-config-modules-eos-config-ios-config-fuzzy-matching-lines-and-what-is-the-config-parameter/23992 "2017-03-27T23:36:47Z")

</div>

Heya, TLDR, the summary: I’m trying to use Ansible 2.2’s network modules to manage configs on EOS/IOS switches. I’m trying to find a module invocation that adds a number of, say, radius-server commands, removes any that…

---

## [Ansible 2.2.2 and 2.1.5 FINAL have been released!](https://forum.ansible.com/t/ansible-2-2-2-and-2-1-5-final-have-been-released/24074)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 11:36pm UTC](https://forum.ansible.com/t/ansible-2-2-2-and-2-1-5-final-have-been-released/24074 "2017-03-27T23:36:36Z")

</div>

Hi all, we are happy to announce that Ansible 2.2.2 and 2.1.5 have been released. This release fixes a few bugs introduced in the previous version, as well as another small tweak to catch an additional way in which CVE-…

---

## [Ansible 2.3.0 RC2 is available for testing](https://forum.ansible.com/t/ansible-2-3-0-rc2-is-available-for-testing/24075)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [March 27, 2017, 9:36pm UTC](https://forum.ansible.com/t/ansible-2-3-0-rc2-is-available-for-testing/24075 "2017-03-27T21:36:44Z")

</div>

We are happy to announce the availability of Ansible 2.3.0 RC2! This release candidate includes a lot of small bug fixes, including (but not limited to): Better detection of relative files (DWIM) for roles, fixing som…

---

## [Loop through inventory group and reference index of host](https://forum.ansible.com/t/loop-through-inventory-group-and-reference-index-of-host/24072)

<div class="topic-metadata">

**Author:** [@Kevin\_Cackler](https://forum.ansible.com/u/Kevin_Cackler)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 9:31pm UTC](https://forum.ansible.com/t/loop-through-inventory-group-and-reference-index-of-host/24072 "2017-03-27T21:31:40Z")

</div>

I have an inventory file defined as follows: \[app\] app1.service.com ansible\_host=192.168.1.1 app2.service.com ansible\_host=192.168.1.2 app3.service.com ansible\_host=192.168.1.3 I need to generate multiple configuration…

---

## [using a dict as task parameters](https://forum.ansible.com/t/using-a-dict-as-task-parameters/24064)

<div class="topic-metadata">

**Author:** [@lmeyer](https://forum.ansible.com/u/lmeyer)\
**Replies:** 5\
**Last updated:** [March 27, 2017, 6:20pm UTC](https://forum.ansible.com/t/using-a-dict-as-task-parameters/24064 "2017-03-27T18:20:10Z")

</div>

Under Ansible 2.2.1 and python 2.7 I have a playbook for generically creating a docker container and then adding it as a host (using the docker connection plugin of course): name: Start specified container gather\_fact…

---

## [Ansible 2.2.1.0 aliases does not work as expected](https://forum.ansible.com/t/ansible-2-2-1-0-aliases-does-not-work-as-expected/23949)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Lomanchuk](https://forum.ansible.com/u/Dmitriy_Lomanchuk)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 4:39pm UTC](https://forum.ansible.com/t/ansible-2-2-1-0-aliases-does-not-work-as-expected/23949 "2017-03-27T16:39:53Z")

</div>

Hi everybody! It seems, inventory aliases does not work if trying to connect to hosts behind NAT with same address and different ssh\_port. I,m wondering, if I have made some mistake in configuration, or it is a bug or …

---

## [How to pass multiple special symbols with shell module?](https://forum.ansible.com/t/how-to-pass-multiple-special-symbols-with-shell-module/24069)

<div class="topic-metadata">

**Author:** [@Bhavin\_Parmar](https://forum.ansible.com/u/Bhavin_Parmar)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 3:01pm UTC](https://forum.ansible.com/t/how-to-pass-multiple-special-symbols-with-shell-module/24069 "2017-03-27T15:01:03Z")

</div>

I am using shell command to execute sed output piped to cut. Task in a playbook is as follow: tasks: name: “Task 1: Fetch inv” shell: ‘/bin/sed -n ‘/’{{ group }}’/,/^$/p’ {{ var\_file }} | cut -d’=’ -s -f2’ register:…

---

## [man1 docs do not exist when attempting to build ansible rpm for centos 5](https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066)

<div class="topic-metadata">

**Author:** [@Haani\_Niyaz](https://forum.ansible.com/u/Haani_Niyaz)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 1:25pm UTC](https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066 "2017-03-27T13:25:30Z")

</div>

I am attempting to build the ansible rpm from source for Centos 5 based on instructions here: http://docs.ansible.com/ansible/intro\_installation.html#basics-what-will-be-installed When i run the ‘make rpm’ command I en…

---

## [Download all files from a url](https://forum.ansible.com/t/download-all-files-from-a-url/24059)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 3\
**Last updated:** [March 27, 2017, 11:38am UTC](https://forum.ansible.com/t/download-all-files-from-a-url/24059 "2017-03-27T11:38:14Z")

</div>

win\_get\_url has options to download all files from an url with uid and pwd and save it locally? i tried with one file but it needs file extensions and exact file names for destination

---

## [Best Approach- Writing powershell scripts or using Modules?](https://forum.ansible.com/t/best-approach-writing-powershell-scripts-or-using-modules/24068)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 3\
**Last updated:** [March 27, 2017, 11:35am UTC](https://forum.ansible.com/t/best-approach-writing-powershell-scripts-or-using-modules/24068 "2017-03-27T11:35:58Z")

</div>

I am new to ansible, what is best approach , is it to use ansible’s windows modules for all the things or writing powershell scripts and running that powershell script in all servers through ansible. For example: i have …

---

## [How to read sub-members from group, within YAML file (i.e. like custom Ansible hosts file)](https://forum.ansible.com/t/how-to-read-sub-members-from-group-within-yaml-file-i-e-like-custom-ansible-hosts-file/24067)

<div class="topic-metadata">

**Author:** [@Bhavin\_Parmar](https://forum.ansible.com/u/Bhavin_Parmar)\
**Replies:** 4\
**Last updated:** [March 27, 2017, 11:25am UTC](https://forum.ansible.com/t/how-to-read-sub-members-from-group-within-yaml-file-i-e-like-custom-ansible-hosts-file/24067 "2017-03-27T11:25:53Z")

</div>

One of my Ansible roles is creating AWS infrastructure. Same time, it also creates YAML file, like Ansible hosts file. Structure is as follow: \[master\] 1.1.1.1 instance-id=i-011111111 # key1=val1 2.2.2.2 instance-id=i…

---

## [Using Ansible 2.3 to Clone a VM from one VMware vDC to another vDC](https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061)

<div class="topic-metadata">

**Author:** [@lcartwri99](https://forum.ansible.com/u/lcartwri99)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 7:51am UTC](https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061 "2017-03-27T07:51:35Z")

</div>

Hi Experts, I’d like to know if it is possible to clone a VM from one VMware vDC to another vDC? I know that I can clone a VM from a template within the same vDC but wanted to know if it was possible to clone between v…

---

## [win\_feature--Choose only selective sub features](https://forum.ansible.com/t/win-feature-choose-only-selective-sub-features/24048)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 7\
**Last updated:** [March 26, 2017, 9:23pm UTC](https://forum.ansible.com/t/win-feature-choose-only-selective-sub-features/24048 "2017-03-26T21:23:08Z")

</div>

is it possible to choose only selective sub features ? for example: IIS has so many sub features, if we install them all , there would be unnecessary footprint, so is it possible to pick and choose and install the requir…

---

## [how to organize hosts](https://forum.ansible.com/t/how-to-organize-hosts/23807)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [March 26, 2017, 9:16pm UTC](https://forum.ansible.com/t/how-to-organize-hosts/23807 "2017-03-26T21:16:33Z")

</div>

I’m struggling with this problem, hoping to get some feedback on how others solve it: The situation is this: I have two apps, App1 and App2. Each app is configured using a collection of roles and variables In UAT, bot…

[Previous page](https://forum.ansible.com/latest.md?page=671)

[Next page](https://forum.ansible.com/latest.md?page=673)
