# Latest

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

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

**Page:** 749

---

## [\[RFC\] - Migrating ansible's paramiko SSH client to asynchronous parallel SSH client](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672)

<div class="topic-metadata">

**Author:** [@Dan9](https://forum.ansible.com/u/Dan9)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 11:17pm UTC](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672 "2016-06-28T23:17:05Z")

</div>

Hello dev list, Many thanks for your efforts on ansible, very useful tool. Have a new feature I’d like to work on that would like to float by you for comments and if it sounds like a good feature to implement before su…

---

## [Windows - Ansible freezes when network connection disrupted](https://forum.ansible.com/t/windows-ansible-freezes-when-network-connection-disrupted/21342)

<div class="topic-metadata">

**Author:** [@hodgese](https://forum.ansible.com/u/hodgese)\
**Replies:** 10\
**Last updated:** [June 28, 2016, 10:52pm UTC](https://forum.ansible.com/t/windows-ansible-freezes-when-network-connection-disrupted/21342 "2016-06-28T22:52:57Z")

</div>

I am running Windows modules that disrupt the network connection. For instance, the installation of a network driver or the creation of a Network Team. The IP address doesn’t change, and the network connection is only ou…

---

## [500 WinRMTransport. SSL: CERTIFCATE\_VERIFY\_FAILED](https://forum.ansible.com/t/500-winrmtransport-ssl-certifcate-verify-failed/21881)

<div class="topic-metadata">

**Author:** [@Brian](https://forum.ansible.com/u/Brian)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 10:01pm UTC](https://forum.ansible.com/t/500-winrmtransport-ssl-certifcate-verify-failed/21881 "2016-06-28T22:01:30Z")

</div>

Installed ansible 2.1.0.0 on Ubuntu and I’m getting the infamous: ssl: 500 WinRMTransport. \[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed (\_ssl.c:590) error when trying to connect to a windows client. I fol…

---

## [Ubuntu playbook syntax](https://forum.ansible.com/t/ubuntu-playbook-syntax/21879)

<div class="topic-metadata">

**Author:** [@teddy\_mills](https://forum.ansible.com/u/teddy_mills)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 9:12pm UTC](https://forum.ansible.com/t/ubuntu-playbook-syntax/21879 "2016-06-28T21:12:06Z")

</div>

This playbook works, but I dont think this is the proper way to install multiple packages. Can someone correct this and show how it should be done ? TIA ansible-playbook /root/aplays/core.pb -u teddy -k

---

## [Authentication or Permission Failure](https://forum.ansible.com/t/authentication-or-permission-failure/21882)

<div class="topic-metadata">

**Author:** [@brendan\_maynard](https://forum.ansible.com/u/brendan_maynard)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 8:33pm UTC](https://forum.ansible.com/t/authentication-or-permission-failure/21882 "2016-06-28T20:33:32Z")

</div>

I am getting a issue that appears to be a file E & W error on my local machine when executing simple ad hoc modules (i.e. ping) - test@ubuntu:~$ ansible hosts -m ping -vvvv Using /etc/ansible/ansible.cfg as config file …

---

## [Environment-separated inventories ignored with cached host data](https://forum.ansible.com/t/environment-separated-inventories-ignored-with-cached-host-data/21880)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 7:08pm UTC](https://forum.ansible.com/t/environment-separated-inventories-ignored-with-cached-host-data/21880 "2016-06-28T19:08:21Z")

</div>

I have my inventory separated into environment-specific directories, with an ec2 dynamic inventory script in each inventory dir. Each ec2 inventory script filters out instances by their “Environment” tag. I run my playbo…

---

## [Creating Dynamic Inventory with CloudFormation Outputs](https://forum.ansible.com/t/creating-dynamic-inventory-with-cloudformation-outputs/21799)

<div class="topic-metadata">

**Author:** [@divya\_mangotra](https://forum.ansible.com/u/divya_mangotra)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 6:04pm UTC](https://forum.ansible.com/t/creating-dynamic-inventory-with-cloudformation-outputs/21799 "2016-06-28T18:04:50Z")

</div>

I am using AWS CloudFormation to create infrastructure and the template creates EC2 instances, Elasticache cluster and RDS instance. Now, I am wondering as to how to use the CloudFormation outputs to create Ansible Dynam…

---

## [ec2.py and the incredibly no good bad corporate overlords policies.](https://forum.ansible.com/t/ec2-py-and-the-incredibly-no-good-bad-corporate-overlords-policies/21856)

<div class="topic-metadata">

**Author:** [@Joe\_Garcia](https://forum.ansible.com/u/Joe_Garcia)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 4:04pm UTC](https://forum.ansible.com/t/ec2-py-and-the-incredibly-no-good-bad-corporate-overlords-policies/21856 "2016-06-28T16:04:06Z")

</div>

Hey All, Our corporate overlords have deemed it prudent to not allow IP addresses to go out through our proxy. So we cannot ssh to an IP address and have to use the FQDN. The ec2.py script does not return the DNS record…

---

## [ansible when statement error](https://forum.ansible.com/t/ansible-when-statement-error/21877)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 2:07pm UTC](https://forum.ansible.com/t/ansible-when-statement-error/21877 "2016-06-28T14:07:12Z")

</div>

\--- - hosts: all gather\_facts: no vars: XQWATCHER\_GIT\_IDENTITY: !!null tasks: - debug: msg: "Test Success" when: XQWATCHER\_GIT\_IDENTITY is defined Getting this error when I run the playbook …

---

## [lineinfile with a backslash in the regexp field](https://forum.ansible.com/t/lineinfile-with-a-backslash-in-the-regexp-field/21876)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 2:01pm UTC](https://forum.ansible.com/t/lineinfile-with-a-backslash-in-the-regexp-field/21876 "2016-06-28T14:01:23Z")

</div>

Hello, I would like to replace the following line: jstl.jar,taglibs-standard-spec-.jar\*\*,\* with: jstl.jar,taglibs-standard-spec-\*.jar,icu4j-2.6.1.jar,\\ I tried to double the backslash without any success, the issue …

---

## [compare dates in filenames to variable](https://forum.ansible.com/t/compare-dates-in-filenames-to-variable/21874)

<div class="topic-metadata">

**Author:** [@Guy\_Przytula](https://forum.ansible.com/u/Guy_Przytula)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 11:20am UTC](https://forum.ansible.com/t/compare-dates-in-filenames-to-variable/21874 "2016-06-28T11:20:17Z")

</div>

we are using an older version of ansible 1.4 (Because we had a problem after upgarde) on linux and targetting linux and aix I have a question about how to : having a folder with filenames like : SAP500.4.db2istm5.DBPAR…

---

## [by using ansible-playbook how to built a server on awazon web service cloud](https://forum.ansible.com/t/by-using-ansible-playbook-how-to-built-a-server-on-awazon-web-service-cloud/21873)

<div class="topic-metadata">

**Author:** [@rameshlinux86](https://forum.ansible.com/u/rameshlinux86)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 9:26am UTC](https://forum.ansible.com/t/by-using-ansible-playbook-how-to-built-a-server-on-awazon-web-service-cloud/21873 "2016-06-28T09:26:13Z")

</div>

Hi how to create ansible-playbook on awazon web services cloud.? install a t2.micro server in the “us east” region with 15Gb additional EBS storage. pick ubuntu 14.04 LTS 64 bit and install apache,php,mysql,ntp pleas…

---

## [how can i use delegate\_to with special connection plugin](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872)

<div class="topic-metadata">

**Author:** [@Fans\_Miea](https://forum.ansible.com/u/Fans_Miea)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 7:48am UTC](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872 "2016-06-28T07:48:29Z")

</div>

i rewrite the connection plugin, and i can use it with name: check version shell: sudo -u admin rpm -q tair | grep -v {{ version }} but when i use it like name: check version shell: sudo -u admin rpm -q tair | gre…

---

## [copy module bug?](https://forum.ansible.com/t/copy-module-bug/21869)

<div class="topic-metadata">

**Author:** [@Oscar\_Hodgson](https://forum.ansible.com/u/Oscar_Hodgson)\
**Replies:** 2\
**Last updated:** [June 27, 2016, 10:39pm UTC](https://forum.ansible.com/t/copy-module-bug/21869 "2016-06-27T22:39:40Z")

</div>

Ansible 2.2.0 Copy module documentation says, “Options / force: the default is yes, which will replace the remote file when contents are different than the source. If no, the file will only be transferred if the destina…

---

## [Handling changes to \`ansible\_user\` host/group var for Windows hosts that change Active Directory domain membership](https://forum.ansible.com/t/handling-changes-to-ansible-user-host-group-var-for-windows-hosts-that-change-active-directory-domain-membership/21858)

<div class="topic-metadata">

**Author:** [@Kenny\_Evitt](https://forum.ansible.com/u/Kenny_Evitt)\
**Replies:** 2\
**Last updated:** [June 27, 2016, 7:17pm UTC](https://forum.ansible.com/t/handling-changes-to-ansible-user-host-group-var-for-windows-hosts-that-change-active-directory-domain-membership/21858 "2016-06-27T19:17:45Z")

</div>

I’m currently using Ansible to automate an Active Directory domain migration. I’m developing playbooks (and modules and, eventually, roles) in a test environment currently, but this particular issue seems applicable to a…

---

## [jenkins+Ansible](https://forum.ansible.com/t/jenkins-ansible/21863)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 1\
**Last updated:** [June 27, 2016, 5:55pm UTC](https://forum.ansible.com/t/jenkins-ansible/21863 "2016-06-27T17:55:06Z")

</div>

Hello , i want to execute a playbook from jenkins ,so i installed ansible plugin .but when i try to execute the playbook i got a problem of permission denied . is there some roles to attribute to jenkins ? need some h…

---

## [If/when should playbooks manage concerns across multiple hosts / groups?](https://forum.ansible.com/t/if-when-should-playbooks-manage-concerns-across-multiple-hosts-groups/21868)

<div class="topic-metadata">

**Author:** [@Andrew\_Feller](https://forum.ansible.com/u/Andrew_Feller)\
**Replies:** 0\
**Last updated:** [June 27, 2016, 3:15pm UTC](https://forum.ansible.com/t/if-when-should-playbooks-manage-concerns-across-multiple-hosts-groups/21868 "2016-06-27T15:15:44Z")

</div>

Scenario: Application A needs 1) SSH access to Application B hosts and 2) database privileges to database on Database C hosts. Solution 1: Application A’s SSH access and database privileges managed with Application B an…

---

## [IOS\_template - option to ignore errors](https://forum.ansible.com/t/ios-template-option-to-ignore-errors/21866)

<div class="topic-metadata">

**Author:** [@AmirC](https://forum.ansible.com/u/AmirC)\
**Replies:** 0\
**Last updated:** [June 27, 2016, 2:01pm UTC](https://forum.ansible.com/t/ios-template-option-to-ignore-errors/21866 "2016-06-27T14:01:01Z")

</div>

Hi, I am currently testing the functionality of the Ansible network configuration and the scenario i have is that i want to run a generic setup configuration against a number of switches. The configuration may contain s…

---

## [Python script using different ssh port](https://forum.ansible.com/t/python-script-using-different-ssh-port/21865)

<div class="topic-metadata">

**Author:** [@Idan\_null](https://forum.ansible.com/u/Idan_null)\
**Replies:** 0\
**Last updated:** [June 27, 2016, 1:30pm UTC](https://forum.ansible.com/t/python-script-using-different-ssh-port/21865 "2016-06-27T13:30:24Z")

</div>

Hello everyone, I’m using the Ansible 2 module in Python to connect to a host with different port (not 22) The script I’m using is: https://github.com/ansible/ansible/blob/devel/examples/scripts/uptime.py But my ssh …

---

## [Provisioning VMs](https://forum.ansible.com/t/provisioning-vms/21861)

<div class="topic-metadata">

**Author:** [@Sargon](https://forum.ansible.com/u/Sargon)\
**Replies:** 1\
**Last updated:** [June 27, 2016, 12:43pm UTC](https://forum.ansible.com/t/provisioning-vms/21861 "2016-06-27T12:43:41Z")

</div>

Hello I want to automate the creation of VMs on Virtualbox (CentOs) and then run a series of wget/yum commands to set up the necessary software. I am sure this has been done many times already, so before I re-invent t…

---

## [set\_fact with single item array gets flattened -- by design?](https://forum.ansible.com/t/set-fact-with-single-item-array-gets-flattened-by-design/21864)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [June 27, 2016, 11:19am UTC](https://forum.ansible.com/t/set-fact-with-single-item-array-gets-flattened-by-design/21864 "2016-06-27T11:19:53Z")

</div>

(ansible 2.1) I have a set\_fact like: name: Get plant agent data from consul set\_fact: myfact: “{{ lookup(‘consul\_kv’, ‘mykey recurse=true’) }}” When the lookup returns an array of size \>= 2, ‘myfact’ is assigned t…

---

## [How setup server on AWS cloud.using playbook.?](https://forum.ansible.com/t/how-setup-server-on-aws-cloud-using-playbook/21862)

<div class="topic-metadata">

**Author:** [@rameshlinux86](https://forum.ansible.com/u/rameshlinux86)\
**Replies:** 0\
**Last updated:** [June 27, 2016, 7:05am UTC](https://forum.ansible.com/t/how-setup-server-on-aws-cloud-using-playbook/21862 "2016-06-27T07:05:44Z")

</div>

Hi Team, I need small help from Ansible-playbooks. how to setup virtual server by using ansible-playbook on AWS cloud.? please reply me as soon as possible. Regards. Ramana.

---

## [Ansible ec2\_asg module  expiring AWS credentials if wait for long](https://forum.ansible.com/t/ansible-ec2-asg-module-expiring-aws-credentials-if-wait-for-long/21860)

<div class="topic-metadata">

**Author:** [@KARL](https://forum.ansible.com/u/KARL)\
**Replies:** 0\
**Last updated:** [June 26, 2016, 9:46am UTC](https://forum.ansible.com/t/ansible-ec2-asg-module-expiring-aws-credentials-if-wait-for-long/21860 "2016-06-26T09:46:00Z")

</div>

I have ansible module which generates temp AWS credentials fro 15 mins. My instances take about 20 mins to come up. So Ansible ASG module keep waiting untill they pass health checks. But after mins my AWS credentails e…

---

## [Docker and add\_host:  I'm doing it wrong.](https://forum.ansible.com/t/docker-and-add-host-im-doing-it-wrong/21850)

<div class="topic-metadata">

**Author:** [@William\_George](https://forum.ansible.com/u/William_George)\
**Replies:** 4\
**Last updated:** [June 25, 2016, 7:06pm UTC](https://forum.ansible.com/t/docker-and-add-host-im-doing-it-wrong/21850 "2016-06-25T19:06:09Z")

</div>

So I’ve got to manage a relatively dynamic fleet of machines in the wild. Wanting to keep the running environment of these things as bare-bones as possible, so decision was made to have all the complex bits inside of do…

---

## [Automating monitoring/alerting as part of ansible](https://forum.ansible.com/t/automating-monitoring-alerting-as-part-of-ansible/21859)

<div class="topic-metadata">

**Author:** [@Eric\_C](https://forum.ansible.com/u/Eric_C)\
**Replies:** 0\
**Last updated:** [June 25, 2016, 12:14am UTC](https://forum.ansible.com/t/automating-monitoring-alerting-as-part-of-ansible/21859 "2016-06-25T00:14:32Z")

</div>

I’m in the process of a complete overhall / rewrite of our deployment / provisioning systems using ansible for a distributed, microservices based, highly available architecture living on the AWS cloud. In parallel I’ve…

---

## [Host unreachable but I can ssh in without a password.](https://forum.ansible.com/t/host-unreachable-but-i-can-ssh-in-without-a-password/21857)

<div class="topic-metadata">

**Author:** [@Andy\_Wright](https://forum.ansible.com/u/Andy_Wright)\
**Replies:** 1\
**Last updated:** [June 24, 2016, 6:44pm UTC](https://forum.ansible.com/t/host-unreachable-but-i-can-ssh-in-without-a-password/21857 "2016-06-24T18:44:37Z")

</div>

Hey, I am loving Ansible and it works beautifully with Vagrant and Ubuntu 14.04. However, I have been trying to get it to provision a remote server (also Ubuntu 14.04). I am using a Mac running the latest El Capitan an…

---

## [Ansible bastion host unreachable?](https://forum.ansible.com/t/ansible-bastion-host-unreachable/21834)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 2\
**Last updated:** [June 24, 2016, 6:35pm UTC](https://forum.ansible.com/t/ansible-bastion-host-unreachable/21834 "2016-06-24T18:35:00Z")

</div>

I am trying to access an EC2 instance with Ansible installed on another EC2 instance; my hosts are setup with a bastion host. I have been following this post http://blog.scottlowe.org/2015/12/24/running-ansible-through-s…

---

## [Request to get elb instances fails randomly](https://forum.ansible.com/t/request-to-get-elb-instances-fails-randomly/21683)

<div class="topic-metadata">

**Author:** [@ivan\_farre\_Vicente](https://forum.ansible.com/u/ivan_farre_Vicente)\
**Replies:** 4\
**Last updated:** [June 24, 2016, 5:54pm UTC](https://forum.ansible.com/t/request-to-get-elb-instances-fails-randomly/21683 "2016-06-24T17:54:36Z")

</div>

Hi there, We have been seeing a very high number of SSL error ‘The read operation timed out’ while using the aws API via ec2\_elb ansible module. {“failed”: true, “item”: “eb-development”, “module\_stderr”: "Traceback (m…

---

## [Ansible and 'Ubuntu on Windows'](https://forum.ansible.com/t/ansible-and-ubuntu-on-windows/21117)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 5\
**Last updated:** [June 24, 2016, 4:55pm UTC](https://forum.ansible.com/t/ansible-and-ubuntu-on-windows/21117 "2016-06-24T16:55:11Z")

</div>

Hello, Microsoft announced Ubuntu on Windows recently - there’s a bit of information about it here: https://insights.ubuntu.com/2016/03/30/ubuntu-on-windows-the-ubuntu-userspace-for-windows-developers/ Obviously this …

---

## [Write raw file with newlines intact](https://forum.ansible.com/t/write-raw-file-with-newlines-intact/21849)

<div class="topic-metadata">

**Author:** [@Geoff\_Webster](https://forum.ansible.com/u/Geoff_Webster)\
**Replies:** 3\
**Last updated:** [June 24, 2016, 4:49pm UTC](https://forum.ansible.com/t/write-raw-file-with-newlines-intact/21849 "2016-06-24T16:49:07Z")

</div>

Hi all, I am attempting to slurp/cat a file from one server, store it as a variable and then write it out on a second server. This file however has newlines ‘\\n’ explicitly written in it and I need to write it back out …

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

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