# Latest

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

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

**Page:** 754

---

## [Reliable way to detect when EC2 instance is ready for login](https://forum.ansible.com/t/reliable-way-to-detect-when-ec2-instance-is-ready-for-login/21736)

<div class="topic-metadata">

**Author:** [@Michael\_Spiegle](https://forum.ansible.com/u/Michael_Spiegle)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 5:38pm UTC](https://forum.ansible.com/t/reliable-way-to-detect-when-ec2-instance-is-ready-for-login/21736 "2016-06-10T17:38:04Z")

</div>

When I provision an EC2 instance, I add a user\_data script which drops an SSH pubkey so I can login as root. The problem is that it’s difficult to tell exactly when cloud-init has been completed. Even if port 22 is accep…

---

## [jboss config and ansible](https://forum.ansible.com/t/jboss-config-and-ansible/21737)

<div class="topic-metadata">

**Author:** [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Replies:** 0\
**Last updated:** [June 10, 2016, 5:34pm UTC](https://forum.ansible.com/t/jboss-config-and-ansible/21737 "2016-06-10T17:34:42Z")

</div>

Have a new gig which is JBoss heavy, and I'm trying to come up with a sane approach to manage configuration. As far as I can make out changes via the jboss cli immediately update the underlying XML configuration, so t…

---

## [Using module vs copying conf file](https://forum.ansible.com/t/using-module-vs-copying-conf-file/21727)

<div class="topic-metadata">

**Author:** [@Pat\_Roy](https://forum.ansible.com/u/Pat_Roy)\
**Replies:** 2\
**Last updated:** [June 10, 2016, 4:42pm UTC](https://forum.ansible.com/t/using-module-vs-copying-conf-file/21727 "2016-06-10T16:42:47Z")

</div>

I’m using the sysctl module to add a bunch of parameters to the /etc/sysctl.conf but should I just keep a local copy of my updated sysctl.conf file and upload it? It does take longer to run one sysctl command at a time …

---

## [Variable in a variable](https://forum.ansible.com/t/variable-in-a-variable/21734)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 3\
**Last updated:** [June 10, 2016, 4:05pm UTC](https://forum.ansible.com/t/variable-in-a-variable/21734 "2016-06-10T16:05:06Z")

</div>

Hi, In a Jijna2 template I need a following variable from hostvars. hostvars\['{{project}}-example.com'\].ansible\_eth0.ipv4.address As you can see part of the hostname is dynamical created based external variable. I do…

---

## [Recommended way to run core module tests in Travis?](https://forum.ansible.com/t/recommended-way-to-run-core-module-tests-in-travis/21728)

<div class="topic-metadata">

**Author:** [@Mark\_Maglana](https://forum.ansible.com/u/Mark_Maglana)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 3:54pm UTC](https://forum.ansible.com/t/recommended-way-to-run-core-module-tests-in-travis/21728 "2016-06-10T15:54:25Z")

</div>

I’m learning how to write modules that I’d like to eventually submit to this repo. In the meantime, I’m working on it from my fork. I’m writing unit tests alongside my module under the test directory and would like for t…

---

## [How to debug 'changed' files from template module?](https://forum.ansible.com/t/how-to-debug-changed-files-from-template-module/21651)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 2:50pm UTC](https://forum.ansible.com/t/how-to-debug-changed-files-from-template-module/21651 "2016-06-10T14:50:02Z")

</div>

Dear all, I sometimes see files being reported as changed, although the contents (apart from the ansible\_managed) have not changed. The permissions are the same. I thought that in these cases, where only the ansible\_…

---

## [Template problem with bash array length syntax](https://forum.ansible.com/t/template-problem-with-bash-array-length-syntax/13304)

<div class="topic-metadata">

**Author:** [@Dmitry\_Horbach](https://forum.ansible.com/u/Dmitry_Horbach)\
**Replies:** 5\
**Last updated:** [June 10, 2016, 2:39pm UTC](https://forum.ansible.com/t/template-problem-with-bash-array-length-syntax/13304 "2016-06-10T14:39:18Z")

</div>

Hi, Having simple template file with bash valid content like: ${#ArrayName\[@\]} will break template module: template: src=template dest=template2 TASK: \[template src=template dest=template2\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Anisble - host file](https://forum.ansible.com/t/anisble-host-file/21725)

<div class="topic-metadata">

**Author:** [@Paulh](https://forum.ansible.com/u/Paulh)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 2:25pm UTC](https://forum.ansible.com/t/anisble-host-file/21725 "2016-06-10T14:25:19Z")

</div>

Hello, Can the vars\_file be passed into the hosts file using the -include: statment? eg: vars\_file.yml DBserver\_1\_FDQN: host1.us.com DBserver\_1\_IP: 10.15.87.220 DBserver\_2\_FDQN: host2.us.com DBserver\_2\_IP: 10.15.8…

---

## [Disable Handlers?](https://forum.ansible.com/t/disable-handlers/21682)

<div class="topic-metadata">

**Author:** [@james4](https://forum.ansible.com/u/james4)\
**Replies:** 4\
**Last updated:** [June 10, 2016, 2:23pm UTC](https://forum.ansible.com/t/disable-handlers/21682 "2016-06-10T14:23:07Z")

</div>

Any one know a good way to disable all handlers in a role w/o putting conditionals on each of the handlers/tasks?

---

## [\[os\_port\] Add allowed-address-pairs to an existing openstack server port](https://forum.ansible.com/t/os-port-add-allowed-address-pairs-to-an-existing-openstack-server-port/21018)

<div class="topic-metadata">

**Author:** [@Jorge\_L](https://forum.ansible.com/u/Jorge_L)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 9:57am UTC](https://forum.ansible.com/t/os-port-add-allowed-address-pairs-to-an-existing-openstack-server-port/21018 "2016-06-10T09:57:14Z")

</div>

I want to set up nginx HA with keepalived and I’m preparing an ansible role for this purpose in an openstack environment (I’m using ansible 2). I would like to update the server port, that is already existing, to add all…

---

## [Installing latest Ansible Version 2.1.0.0 on CentOS 6.8](https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722)

<div class="topic-metadata">

**Author:** [@Kaushal\_Shriyan](https://forum.ansible.com/u/Kaushal_Shriyan)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 11:39pm UTC](https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722 "2016-06-09T23:39:28Z")

</div>

Hi, I have installed Ansible application on CentOS 6.8 using yum after installing epel repo and i see the below version ansible --version ansible 2.0.2.0 config file = /etc/ansible/ansible.cfg configured module sear…

---

## [Netconf module for Ansible](https://forum.ansible.com/t/netconf-module-for-ansible/21712)

<div class="topic-metadata">

**Author:** [@K\_Krishna](https://forum.ansible.com/u/K_Krishna)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 11:31pm UTC](https://forum.ansible.com/t/netconf-module-for-ansible/21712 "2016-06-09T23:31:26Z")

</div>

Hi, Is there a generic Netconf module support ? Is there any plan to add such as module ? Thanks, Krishna

---

## [Trying to put output in Sqlite3](https://forum.ansible.com/t/trying-to-put-output-in-sqlite3/21685)

<div class="topic-metadata">

**Author:** [@Kevin\_Csuka](https://forum.ansible.com/u/Kevin_Csuka)\
**Replies:** 3\
**Last updated:** [June 9, 2016, 10:58pm UTC](https://forum.ansible.com/t/trying-to-put-output-in-sqlite3/21685 "2016-06-09T22:58:00Z")

</div>

Hi, I’m kinda new to Ansible, love the program so far. I want two facts, hostname and serial number,in a Sqlite database. I’m trying to achieve it with the callback plugin, which is written in Python. I came across th…

---

## [Windows installer failing with error 1603](https://forum.ansible.com/t/windows-installer-failing-with-error-1603/21703)

<div class="topic-metadata">

**Author:** [@Justin\_Dugan](https://forum.ansible.com/u/Justin_Dugan)\
**Replies:** 4\
**Last updated:** [June 9, 2016, 8:02pm UTC](https://forum.ansible.com/t/windows-installer-failing-with-error-1603/21703 "2016-06-09T20:02:21Z")

</div>

I am trying to install software on some windows machines using ansible. I have tried raw and win\_package to do this. Both of them result in a 1603 error from windows. The same command run fine when logged into the machin…

---

## [Ansible Windows Winrm Authentication or permission failure.](https://forum.ansible.com/t/ansible-windows-winrm-authentication-or-permission-failure/20311)

<div class="topic-metadata">

**Author:** [@Dan\_Gibbons](https://forum.ansible.com/u/Dan_Gibbons)\
**Replies:** 5\
**Last updated:** [June 9, 2016, 7:45pm UTC](https://forum.ansible.com/t/ansible-windows-winrm-authentication-or-permission-failure/20311 "2016-06-09T19:45:04Z")

</div>

Hi, I’m doing a POC with Ansible and Puppet but currently I can’t even get Ansible to talk to Windows using WinRM. Here is my setup in Vagrant: Control server Centos 7.1 with all the right extras installed (pywinrm et…

---

## [deploying template with vsphere\_guest failing](https://forum.ansible.com/t/deploying-template-with-vsphere-guest-failing/21710)

<div class="topic-metadata">

**Author:** [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Replies:** 3\
**Last updated:** [June 9, 2016, 7:27pm UTC](https://forum.ansible.com/t/deploying-template-with-vsphere-guest-failing/21710 "2016-06-09T19:27:26Z")

</div>

When trying to deploy a template (Ansible 1.9.6) as follows: hosts: 127.0.0.1 connection: local user: root sudo: false gather\_facts: false serial: 1 tasks: vsphere\_guest: vcenter\_hostname: XXXXXXXXX username:…

---

## [Parallel plays](https://forum.ansible.com/t/parallel-plays/21719)

<div class="topic-metadata">

**Author:** [@Paul\_Angus](https://forum.ansible.com/u/Paul_Angus)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 5:56pm UTC](https://forum.ansible.com/t/parallel-plays/21719 "2016-06-09T17:56:20Z")

</div>

Hi, I have a bunch of roles/plays to build different kinds of hosts, but i want to build them in parallel, and then wait at the end for all to be finished. ie. build a load of app hosts + build a load of web servers + …

---

## [win\_iis\_webbinding : binding net.tcp and net.pipe](https://forum.ansible.com/t/win-iis-webbinding-binding-net-tcp-and-net-pipe/21694)

<div class="topic-metadata">

**Author:** [@James\_Hong](https://forum.ansible.com/u/James_Hong)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 5:53pm UTC](https://forum.ansible.com/t/win-iis-webbinding-binding-net-tcp-and-net-pipe/21694 "2016-06-09T17:53:55Z")

</div>

HI Im trying to bind a net.tcp and net.pipe to IIS I would like the website to have following bindings Bindings

---

## [Concatenate variable name with 2 other variables name ?](https://forum.ansible.com/t/concatenate-variable-name-with-2-other-variables-name/21716)

<div class="topic-metadata">

**Author:** [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Replies:** 2\
**Last updated:** [June 9, 2016, 4:35pm UTC](https://forum.ansible.com/t/concatenate-variable-name-with-2-other-variables-name/21716 "2016-06-09T16:35:31Z")

</div>

Hi, I try to concatenate 2 variables value to form one another variable but i don’t found how to do this :confused: Exemple: group\_host\_type: HOST1: node\_id: 0 HOST2: node\_id: 1 I want to use “group\_host\_type” …

---

## [lineinfile and blockinfile hang when using sudo](https://forum.ansible.com/t/lineinfile-and-blockinfile-hang-when-using-sudo/21726)

<div class="topic-metadata">

**Author:** [@Fraser\_Goffin](https://forum.ansible.com/u/Fraser_Goffin)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 3:49pm UTC](https://forum.ansible.com/t/lineinfile-and-blockinfile-hang-when-using-sudo/21726 "2016-06-09T15:49:13Z")

</div>

Ansible version: 2.1.0.0 Platform : Centos 7.2 / RHEL 7.2 Hey everyone, my first post to this group. I am very new to Ansible, so expect to be doing something foolish. I have RTFM’d and googled and phoned a friend and…

---

## [Ansible for turning off/turning on VMs](https://forum.ansible.com/t/ansible-for-turning-off-turning-on-vms/21724)

<div class="topic-metadata">

**Author:** [@Scott\_Lee](https://forum.ansible.com/u/Scott_Lee)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 3:08pm UTC](https://forum.ansible.com/t/ansible-for-turning-off-turning-on-vms/21724 "2016-06-09T15:08:20Z")

</div>

Hi, I’m fairly new to Ansible, but I think I have a grasp of it now. I’m looking into leveraging it to make management of our VMs a bit easier, including being able to turn on/off our VMs via playbook. I’m thinking the …

---

## [boto 3](https://forum.ansible.com/t/boto-3/21707)

<div class="topic-metadata">

**Author:** [@Eric\_S1](https://forum.ansible.com/u/Eric_S1)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 2:27pm UTC](https://forum.ansible.com/t/boto-3/21707 "2016-06-09T14:27:56Z")

</div>

Can I use boto3 to create a custom module for use with ansible 2.x?

---

## [iterations within iterations OH NOES (1.9)](https://forum.ansible.com/t/iterations-within-iterations-oh-noes-1-9/21723)

<div class="topic-metadata">

**Author:** [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 2:05pm UTC](https://forum.ansible.com/t/iterations-within-iterations-oh-noes-1-9/21723 "2016-06-09T14:05:43Z")

</div>

Hi all (tldr: i want to run a task for each hash in a list . can i iterate twice?) I want to define a 'global' user list like this (e.g in roles/accounts/defaults/main.yml): all\_the\_users: - support: - nam…

---

## [Unable to change user for play](https://forum.ansible.com/t/unable-to-change-user-for-play/21720)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 1:45pm UTC](https://forum.ansible.com/t/unable-to-change-user-for-play/21720 "2016-06-09T13:45:49Z")

</div>

Hi, Oam.yml name: apply common configuration to all nodes hosts: all user: root become: yes become\_user: sudo become\_method: sudo vars\_files: dependency\_list.yml client\_dependency\_list.yml roles: { ro…

---

## [How to locate the proper file?](https://forum.ansible.com/t/how-to-locate-the-proper-file/21688)

<div class="topic-metadata">

**Author:** [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Replies:** 1\
**Last updated:** [June 9, 2016, 10:10am UTC](https://forum.ansible.com/t/how-to-locate-the-proper-file/21688 "2016-06-09T10:10:04Z")

</div>

Hi everyone, I have to copy a file (on the client) to a certain location (also on the client). I know the copy module, but my problem is the source location. The filename is always the same, like foo.pem. - if the d…

---

## [How to replace ansible.utils.load\_vars() in Ansible 2.0 plugins?](https://forum.ansible.com/t/how-to-replace-ansible-utils-load-vars-in-ansible-2-0-plugins/21718)

<div class="topic-metadata">

**Author:** [@Karsten](https://forum.ansible.com/u/Karsten)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 10:05am UTC](https://forum.ansible.com/t/how-to-replace-ansible-utils-load-vars-in-ansible-2-0-plugins/21718 "2016-06-09T10:05:36Z")

</div>

Hi there, i’ve extended our ansible inventory for ansible 1.9.4 with a custom vars-plugin. This plugin uses the method load\_vars from the utils module/class imported by “from ansible import utils” (sorry for this simple…

---

## [Disks being added as thick provisioned](https://forum.ansible.com/t/disks-being-added-as-thick-provisioned/21717)

<div class="topic-metadata">

**Author:** [@Ayan\_Dasgupta](https://forum.ansible.com/u/Ayan_Dasgupta)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 9:45am UTC](https://forum.ansible.com/t/disks-being-added-as-thick-provisioned/21717 "2016-06-09T09:45:18Z")

</div>

Hi , While I am trying to add disks via the vsphere\_guest with vm\_disk ; new disks are always being added as thick provisioned ? Did anyone face this issue earlier ? Warm regards, Ayan

---

## [ios\_template, nxos\_template breaking order of src config](https://forum.ansible.com/t/ios-template-nxos-template-breaking-order-of-src-config/21696)

<div class="topic-metadata">

**Author:** [@David\_Vavra](https://forum.ansible.com/u/David_Vavra)\
**Replies:** 2\
**Last updated:** [June 9, 2016, 7:17am UTC](https://forum.ansible.com/t/ios-template-nxos-template-breaking-order-of-src-config/21696 "2016-06-09T07:17:26Z")

</div>

Hi, I would like to clarify how network template modules are handling given src configuration because so far I’ve found out several cases where its breaking the order of configuration commands. This is my used playbook. …

---

## [Template module converting CRLF line endings to LF type on its own](https://forum.ansible.com/t/template-module-converting-crlf-line-endings-to-lf-type-on-its-own/21715)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 6:52am UTC](https://forum.ansible.com/t/template-module-converting-crlf-line-endings-to-lf-type-on-its-own/21715 "2016-06-09T06:52:27Z")

</div>

I am trying to create some configuration files which i intend to copy on windows host and for that i am using the template module: name: generate template template: src=“{{item.src}}” dest=“{{item.dest}}” with\_items:…

---

## [Ansible Create AMI and Copy AMI - Tagging Doesn't always work](https://forum.ansible.com/t/ansible-create-ami-and-copy-ami-tagging-doesnt-always-work/21714)

<div class="topic-metadata">

**Author:** [@einar.coutin](https://forum.ansible.com/u/einar.coutin)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 3:14am UTC](https://forum.ansible.com/t/ansible-create-ami-and-copy-ami-tagging-doesnt-always-work/21714 "2016-06-09T03:14:11Z")

</div>

Hello, I’m trying to use Ansible to create an AMi out of an EC2 instance and tag it with NAME: AMI\_NAME and then copy it over to another region and do the same thing (TAG it with NAME) to ultimately add it to a Launch C…

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

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