# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=582

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

**Page:** 583

---

## [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…

---

## [parallel execution](https://forum.ansible.com/t/parallel-execution/13136)

<div class="topic-metadata">

**Author:** [@Istdb](https://forum.ansible.com/u/Istdb)\
**Replies:** 41\
**Last updated:** [June 9, 2016, 2:57am UTC](https://forum.ansible.com/t/parallel-execution/13136 "2016-06-09T02:57:55Z")

</div>

Dear all! I’m in the process of exploring ansible and already found it pretty cool. There is one thing, however, which I could not figure out: parallel execution. I have a simple play: hosts: all serial: 5 tasks: …

---

## [Why are \`group\_vars\` and \`host\_vars\` paths relative to playbook basedir?](https://forum.ansible.com/t/why-are-group-vars-and-host-vars-paths-relative-to-playbook-basedir/21709)

<div class="topic-metadata">

**Author:** [@kevin.phillips](https://forum.ansible.com/u/kevin.phillips)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 12:39am UTC](https://forum.ansible.com/t/why-are-group-vars-and-host-vars-paths-relative-to-playbook-basedir/21709 "2016-06-09T00:39:53Z")

</div>

Hi All, Can someone explain why ansible.inventory.Inventory.\_find\_group\_vars\_files() and ansible.inventory.Inventory.\_find\_host\_vars\_files() are relative to the basedir of the playbook? From my armchair, I suppose it ma…

---

## [rds module | determining endpoint when module exits without complete result data](https://forum.ansible.com/t/rds-module-determining-endpoint-when-module-exits-without-complete-result-data/21592)

<div class="topic-metadata">

**Author:** [@Darren\_S](https://forum.ansible.com/u/Darren_S)\
**Replies:** 5\
**Last updated:** [June 8, 2016, 9:30pm UTC](https://forum.ansible.com/t/rds-module-determining-endpoint-when-module-exits-without-complete-result-data/21592 "2016-06-08T21:30:01Z")

</div>

OS X 10.10.5 Python 2.7.11 Ansible 2.0.2.0 boto 2.40.0 boto3 1.3.1 botocore 1.4.24 Using the following tasks in a play: - name: db | rds | create RDS instance become: no local\_action: rds args: comma…

---

## [Interserver dependencies](https://forum.ansible.com/t/interserver-dependencies/21699)

<div class="topic-metadata">

**Author:** [@anthony.t.may](https://forum.ansible.com/u/anthony.t.may)\
**Replies:** 2\
**Last updated:** [June 8, 2016, 9:26pm UTC](https://forum.ansible.com/t/interserver-dependencies/21699 "2016-06-08T21:26:23Z")

</div>

New to Ansible. Looking for help with orchestrating actions which depend on the state of applications on other servers. Can this be done in Ansible? Scenario: server 1 running app 1 server 2 running app 2 server 3 ru…

---

## [command ps -ef | grep failed in Ansible](https://forum.ansible.com/t/command-ps-ef-grep-failed-in-ansible/21537)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 8\
**Last updated:** [June 8, 2016, 9:16pm UTC](https://forum.ansible.com/t/command-ps-ef-grep-failed-in-ansible/21537 "2016-06-08T21:16:25Z")

</div>

Hello, I want to check if a process to run on my server by using the ps command: name: Test if openhr runs shell: ps -ef | grep -v grep | grep {{ ansible\_user }} | grep dispatcher | grep {{ rep\_user }}/{{ openhrname …

---

## [ansible ad-hoc cli command does not respect ANSIBLE\_STDOUT\_CALLBACK](https://forum.ansible.com/t/ansible-ad-hoc-cli-command-does-not-respect-ansible-stdout-callback/21705)

<div class="topic-metadata">

**Author:** [@John\_Buxton](https://forum.ansible.com/u/John_Buxton)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 8:29pm UTC](https://forum.ansible.com/t/ansible-ad-hoc-cli-command-does-not-respect-ansible-stdout-callback/21705 "2016-06-08T20:29:19Z")

</div>

I just raised this issue with Ansible which has been immediately closed. I’m going to copy / paste my report verbatim so as to avoid repeating myself all over again (hopefully the formatting doesn’t screw up). ISSUE …

---

## [order of handler](https://forum.ansible.com/t/order-of-handler/21704)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 8:09pm UTC](https://forum.ansible.com/t/order-of-handler/21704 "2016-06-08T20:09:18Z")

</div>

Hey, i would like to discuss the idea of handler orders, because working with a lot of rules could be difficult (+handler definition order). example: role1 create share on windows host (notify: remove share) r…

---

## [Python for AIX](https://forum.ansible.com/t/python-for-aix/21673)

<div class="topic-metadata">

**Author:** [@anthony.t.may](https://forum.ansible.com/u/anthony.t.may)\
**Replies:** 13\
**Last updated:** [June 8, 2016, 5:54pm UTC](https://forum.ansible.com/t/python-for-aix/21673 "2016-06-08T17:54:26Z")

</div>

New to Ansible. I understand that Ansible requires Python to be installed on target machines.This is not standard on IBM’s Power AIX machines. I am looking for advice and experience regading AIX i.e. is there a known ve…

---

## [Can the host group that is used on the playbook be recalled as a variable in a template?](https://forum.ansible.com/t/can-the-host-group-that-is-used-on-the-playbook-be-recalled-as-a-variable-in-a-template/21695)

<div class="topic-metadata">

**Author:** [@Max\_Leon](https://forum.ansible.com/u/Max_Leon)\
**Replies:** 1\
**Last updated:** [June 8, 2016, 3:24pm UTC](https://forum.ansible.com/t/can-the-host-group-that-is-used-on-the-playbook-be-recalled-as-a-variable-in-a-template/21695 "2016-06-08T15:24:58Z")

</div>

Hi, I’m trying to set a playbook that will get the fqdn or the IPs of the host group where it is being run on (to automatically populate nodes of a cluster on all nodes). So, can the host group that is define in the si…

---

## [Unsure about YAML syntax](https://forum.ansible.com/t/unsure-about-yaml-syntax/21700)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 1\
**Last updated:** [June 8, 2016, 2:52pm UTC](https://forum.ansible.com/t/unsure-about-yaml-syntax/21700 "2016-06-08T14:52:44Z")

</div>

Hi all, I'm a bit unsure about YAML syntax regarding lists. Could someone please verify that the following two lists are equivalent? No indentation for list items:

---

## [Migration to Ansible 2.0: problem with changed (internal) APIs: utils.load\_vars missing](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698)

<div class="topic-metadata">

**Author:** [@Karsten](https://forum.ansible.com/u/Karsten)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 2:24pm UTC](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698 "2016-06-08T14:24:38Z")

</div>

Hi there, i’ve extended our ansible inventory for ansible 1.9.1 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…

---

## [the issue #10758 "meta: flush\_handlers does not work in roles if --tags is used" is not fixed](https://forum.ansible.com/t/the-issue-10758-meta-flush-handlers-does-not-work-in-roles-if-tags-is-used-is-not-fixed/21697)

<div class="topic-metadata">

**Author:** [@Christophe\_Pot](https://forum.ansible.com/u/Christophe_Pot)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 12:13pm UTC](https://forum.ansible.com/t/the-issue-10758-meta-flush-handlers-does-not-work-in-roles-if-tags-is-used-is-not-fixed/21697 "2016-06-08T12:13:30Z")

</div>

Hi, Related to : https://github.com/ansible/ansible/issues/10758 The fix https://github.com/ansible/ansible/commit/3c817be531de939e1267df39306f9d8c977b0b9d does not work. I still have the same issue today, using 1.9.2 …

---

## [Execute first role (tasks) as root, then proceed with regular admin user](https://forum.ansible.com/t/execute-first-role-tasks-as-root-then-proceed-with-regular-admin-user/21693)

<div class="topic-metadata">

**Author:** [@Rens\_Verhage](https://forum.ansible.com/u/Rens_Verhage)\
**Replies:** 6\
**Last updated:** [June 8, 2016, 8:28am UTC](https://forum.ansible.com/t/execute-first-role-tasks-as-root-then-proceed-with-regular-admin-user/21693 "2016-06-08T08:28:52Z")

</div>

I’ve been struggling with this some time now. Our production servers authenticate users against an LDAP. Therefore, in the playbook to setup a production server, I’d like to first execute the role that configures SSH to …

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

[Next page](https://forum.ansible.com/c/archives/31.md?page=583)
