# Latest

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

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

**Page:** 789

---

## [Create Multiple WMware VMs Through Ansible](https://forum.ansible.com/t/create-multiple-wmware-vms-through-ansible/20666)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 0\
**Last updated:** [February 24, 2016, 3:03pm UTC](https://forum.ansible.com/t/create-multiple-wmware-vms-through-ansible/20666 "2016-02-24T15:03:04Z")

</div>

Hi Is it at all possible to create multiple VMware VM’s using an Ansible playbook? Giving each VM a unique name (server1, server2, server3) I can see anyway of doing this using the following playbooks - vsphere\_guest:…

---

## [Ansible Tower credentials issue](https://forum.ansible.com/t/ansible-tower-credentials-issue/20658)

<div class="topic-metadata">

**Author:** [@matias](https://forum.ansible.com/u/matias)\
**Replies:** 1\
**Last updated:** [February 24, 2016, 2:14pm UTC](https://forum.ansible.com/t/ansible-tower-credentials-issue/20658 "2016-02-24T14:14:10Z")

</div>

Hi guys. I have an Ansible Tower installation which was working great until a couple of weeks ago when started to ask for login all the time. Watching the console I get “Invalid Token” all the time, and Tower keeps logg…

---

## [Getting this error while splitting arguments, either an unbalanced jinja2 block or quotes](https://forum.ansible.com/t/getting-this-error-while-splitting-arguments-either-an-unbalanced-jinja2-block-or-quotes/20664)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 0\
**Last updated:** [February 24, 2016, 10:57am UTC](https://forum.ansible.com/t/getting-this-error-while-splitting-arguments-either-an-unbalanced-jinja2-block-or-quotes/20664 "2016-02-24T10:57:23Z")

</div>

I am a newbie to ansible. I have a playbook(playbook1) with a role and defined variables

---

## [group\_vars produces error](https://forum.ansible.com/t/group-vars-produces-error/20509)

<div class="topic-metadata">

**Author:** [@Sascha\_Andres](https://forum.ansible.com/u/Sascha_Andres)\
**Replies:** 3\
**Last updated:** [February 24, 2016, 9:28am UTC](https://forum.ansible.com/t/group-vars-produces-error/20509 "2016-02-24T09:28:44Z")

</div>

Hello, I have two machines both running ansible 2.0.0.2 on Ubuntu 14.04.3 LTS. On one machine ( my work machine ) the yaml file works well while on the deployment server it throws an error “ERROR! failed to combine var…

---

## [win\_package product\_id](https://forum.ansible.com/t/win-package-product-id/20608)

<div class="topic-metadata">

**Author:** [@Gerald\_Spencer1](https://forum.ansible.com/u/Gerald_Spencer1)\
**Replies:** 4\
**Last updated:** [February 24, 2016, 2:00am UTC](https://forum.ansible.com/t/win-package-product-id/20608 "2016-02-24T02:00:09Z")

</div>

I am currently going through and installing all of the various software that is needed to provision our windows 7 machines. Unfortunately, when I attempt to install the latest Anaconda3 from continuum, I am unable to loc…

---

## [YAML variable without using quotes?](https://forum.ansible.com/t/yaml-variable-without-using-quotes/20612)

<div class="topic-metadata">

**Author:** [@RobL](https://forum.ansible.com/u/RobL)\
**Replies:** 8\
**Last updated:** [February 24, 2016, 12:17am UTC](https://forum.ansible.com/t/yaml-variable-without-using-quotes/20612 "2016-02-24T00:17:52Z")

</div>

I’m hitting this error: We could be wrong, but this one looks like it might be an issue with missing quotes. Always quote template expression brackets when they start a value. For instance: with\_items: {{ foo }} S…

---

## [synchronize sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?](https://forum.ansible.com/t/synchronize-sudo-effective-uid-is-not-0-is-usr-bin-sudo-on-a-file-system-with-the-nosuid-option-set-or-an-nfs-file-system-without-root-privileges/20661)

<div class="topic-metadata">

**Author:** [@Gary\_Morse](https://forum.ansible.com/u/Gary_Morse)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 8:59pm UTC](https://forum.ansible.com/t/synchronize-sudo-effective-uid-is-not-0-is-usr-bin-sudo-on-a-file-system-with-the-nosuid-option-set-or-an-nfs-file-system-without-root-privileges/20661 "2016-02-23T20:59:55Z")

</div>

after upgrading to ansible 2.0 i am getting an error when trying to synchronize a directory to a remote server. Ansible version: 2.0.0.2 The entire playbook runs with sudo:yes, but the error only happens on the synchron…

---

## [Ansible Inventory - Groups by Regular Expression?](https://forum.ansible.com/t/ansible-inventory-groups-by-regular-expression/20650)

<div class="topic-metadata">

**Author:** [@Tomb](https://forum.ansible.com/u/Tomb)\
**Replies:** 1\
**Last updated:** [February 23, 2016, 8:13pm UTC](https://forum.ansible.com/t/ansible-inventory-groups-by-regular-expression/20650 "2016-02-23T20:13:05Z")

</div>

Is it possible to use regular expressions to create groups within an inventory file? Such as the below: hosts \` SRX110-1-GB SRX110-2-GB SRX110-5-GB SRX550-1-GB SRX110-1-US SRX240-1-US SRX240-2-GB \[MODEL-SRX11…

---

## [Use ec2\_remote\_facts in another playbook](https://forum.ansible.com/t/use-ec2-remote-facts-in-another-playbook/20663)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 0\
**Last updated:** [February 23, 2016, 7:51pm UTC](https://forum.ansible.com/t/use-ec2-remote-facts-in-another-playbook/20663 "2016-02-23T19:51:36Z")

</div>

So the ec2\_remote\_facts has been great at getting the facts, but because it has to run against localhost, I have to run it as a separate play and can’t use the registered information in a play run against other hosts. Ho…

---

## [Ansible1.9.4 on vagrant returning an error when using dynamic inventory script.](https://forum.ansible.com/t/ansible1-9-4-on-vagrant-returning-an-error-when-using-dynamic-inventory-script/20654)

<div class="topic-metadata">

**Author:** [@Olu\_Oyedipe](https://forum.ansible.com/u/Olu_Oyedipe)\
**Replies:** 1\
**Last updated:** [February 23, 2016, 7:17pm UTC](https://forum.ansible.com/t/ansible1-9-4-on-vagrant-returning-an-error-when-using-dynamic-inventory-script/20654 "2016-02-23T19:17:07Z")

</div>

Hello, I’m getting the following error when running ansible on a vagrant vm: \[vagrant@localhost vagrant\]$ sudo ansible all -i /vagrant/genhosts.py -m ping ERROR: problem running /vagrant/genhosts.py --list (\[Errno 2\] …

---

## ['unsupported parameter for module: notify' error when trying to call notify from a task](https://forum.ansible.com/t/unsupported-parameter-for-module-notify-error-when-trying-to-call-notify-from-a-task/20628)

<div class="topic-metadata">

**Author:** [@Colin\_Anderson](https://forum.ansible.com/u/Colin_Anderson)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 5:55pm UTC](https://forum.ansible.com/t/unsupported-parameter-for-module-notify-error-when-trying-to-call-notify-from-a-task/20628 "2016-02-23T17:55:45Z")

</div>

Hi, I’m trying to run a playbook that installs and restarts a tomcat instance but when I run it it fails with the following message: TASK \[tomcat-datagateway : Configure the tomcat-datagateway server.xml\] \*\*\*\*\*\*\*\* fata…

---

## [Share object between modules](https://forum.ansible.com/t/share-object-between-modules/20655)

<div class="topic-metadata">

**Author:** [@Nitin\_Kumar](https://forum.ansible.com/u/Nitin_Kumar)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 5:54pm UTC](https://forum.ansible.com/t/share-object-between-modules/20655 "2016-02-23T17:54:25Z")

</div>

Hi All, We have different module to do different activity. https://github.com/Juniper/ansible-junos-stdlib/tree/master/library Every time each modules/tasks will connect to the device (and close the connection). So i…

---

## [Simplest way to pass username & password to Git, when using http(s)?](https://forum.ansible.com/t/simplest-way-to-pass-username-password-to-git-when-using-http-s/20621)

<div class="topic-metadata">

**Author:** [@eric3](https://forum.ansible.com/u/eric3)\
**Replies:** 3\
**Last updated:** [February 23, 2016, 3:08pm UTC](https://forum.ansible.com/t/simplest-way-to-pass-username-password-to-git-when-using-http-s/20621 "2016-02-23T15:08:28Z")

</div>

I’m using Ansible to clone / update a Git repository that I’m accessing via HTTP, using username & password. Except that the “git” task really doesn’t help me. I can’t put those credentials in the URL, because they then…

---

## [ERROR! 'item' is undefined" with synchronize module + with items](https://forum.ansible.com/t/error-item-is-undefined-with-synchronize-module-with-items/20627)

<div class="topic-metadata">

**Author:** [@AS1](https://forum.ansible.com/u/AS1)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 11:06am UTC](https://forum.ansible.com/t/error-item-is-undefined-with-synchronize-module-with-items/20627 "2016-02-23T11:06:23Z")

</div>

Do you guys know why ansible gives me an error ‘item’ is undefined on this specific case? Version: Ansible 2.0.0.2 Ubuntu 15.10 name: Synchronize files synchronize: src: “{{ item.source }}” dest: “{{ item.dest }}…

---

## [Inventory file and hosts: localhost](https://forum.ansible.com/t/inventory-file-and-hosts-localhost/20653)

<div class="topic-metadata">

**Author:** [@Peter\_W](https://forum.ansible.com/u/Peter_W)\
**Replies:** 0\
**Last updated:** [February 23, 2016, 2:46am UTC](https://forum.ansible.com/t/inventory-file-and-hosts-localhost/20653 "2016-02-23T02:46:26Z")

</div>

Hi, I’m using ansible-1.9.4 (from CentOS7 distro) and also I’m new to the product. I’m trying to come up with some form of bootstrapping after kickstart where ansible-pull will run a few tasks regardless of the hostnam…

---

## [Understanding ansible branching model](https://forum.ansible.com/t/understanding-ansible-branching-model/20594)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 1:11am UTC](https://forum.ansible.com/t/understanding-ansible-branching-model/20594 "2016-02-23T01:11:34Z")

</div>

Can anyone point me to a doc or site that details what branching model the ansible project is following? I’d like to better understand what I’m seeing in the github repository, and apply some of that to our internal wor…

---

## [Inventory file and hosts: localhost](https://forum.ansible.com/t/inventory-file-and-hosts-localhost/20651)

<div class="topic-metadata">

**Author:** [@Peter\_W](https://forum.ansible.com/u/Peter_W)\
**Replies:** 0\
**Last updated:** [February 23, 2016, 12:58am UTC](https://forum.ansible.com/t/inventory-file-and-hosts-localhost/20651 "2016-02-23T00:58:52Z")

</div>

Hi, I’m using ansible-1.9.4 (from CentOS7 distro) and also I’m new to the product. I’m trying to come up with some form of bootstrapping after kickstart where ansible-pull will run a few tasks regardless of the hostnam…

---

## [Random return host in groups and balanced accross the cluster](https://forum.ansible.com/t/random-return-host-in-groups-and-balanced-accross-the-cluster/20609)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 4\
**Last updated:** [February 23, 2016, 12:50am UTC](https://forum.ansible.com/t/random-return-host-in-groups-and-balanced-accross-the-cluster/20609 "2016-02-23T00:50:56Z")

</div>

Hi, I have an inventory file with the bellow servers : servers \` \[dbservers\] db01 db02 db03 db04 \` In my template I want to populate the config by choosing randomly one of the servers from the dbservers group . …

---

## [The PR Bot -- currently for modules only](https://forum.ansible.com/t/the-pr-bot-currently-for-modules-only/20648)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 2\
**Last updated:** [February 22, 2016, 10:33pm UTC](https://forum.ansible.com/t/the-pr-bot-currently-for-modules-only/20648 "2016-02-22T22:33:02Z")

</div>

For those of you who don't know, Robyn and I don't actually do all of the triage of all of these PRs by ourselves. We have a semi-autonomous bot that helps. Here's the code: https://github.com/ansibull/ansibullbot B…

---

## [Re-using "register" variable in multiple tasks](https://forum.ansible.com/t/re-using-register-variable-in-multiple-tasks/20604)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 5\
**Last updated:** [February 22, 2016, 5:13pm UTC](https://forum.ansible.com/t/re-using-register-variable-in-multiple-tasks/20604 "2016-02-22T17:13:46Z")

</div>

I have the following play in a playbook: hosts: talk gather\_facts: false tasks: name: win update win\_updates: category: \[‘SecurityUpdates’,‘CriticalUpdates’,‘Updates’,‘Tools’,‘DefinitionUpdates’,‘UpdateRollups’\] …

---

## [Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mk](https://forum.ansible.com/t/authentication-or-permission-failure-in-some-cases-you-may-have-been-able-to-authenticate-and-did-not-have-permissions-on-the-remote-directory-consider-changing-the-remote-temp-path-in-ansible-cfg-to-a-path-rooted-in-tmp-failed-command-was-mk/18032)

<div class="topic-metadata">

**Author:** [@rrrkiran12](https://forum.ansible.com/u/rrrkiran12)\
**Replies:** 5\
**Last updated:** [February 22, 2016, 3:23pm UTC](https://forum.ansible.com/t/authentication-or-permission-failure-in-some-cases-you-may-have-been-able-to-authenticate-and-did-not-have-permissions-on-the-remote-directory-consider-changing-the-remote-temp-path-in-ansible-cfg-to-a-path-rooted-in-tmp-failed-command-was-mk/18032 "2016-02-22T15:23:13Z")

</div>

I am getting this error when I ran the playbook for the remote node . Could you please let me know how to resolve this error ?

---

## [copy file from remote windows server to local machine?](https://forum.ansible.com/t/copy-file-from-remote-windows-server-to-local-machine/20611)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 6\
**Last updated:** [February 22, 2016, 3:09pm UTC](https://forum.ansible.com/t/copy-file-from-remote-windows-server-to-local-machine/20611 "2016-02-22T15:09:28Z")

</div>

In Ansible 2.0, the win\_copy module will move a local file to a remote windows machine. Is there an Ansible way to fetch a remote file on a windows server and move it to a local machine? J

---

## [Executing python script on ansible master once playbook finishes](https://forum.ansible.com/t/executing-python-script-on-ansible-master-once-playbook-finishes/20647)

<div class="topic-metadata">

**Author:** [@Martin\_Schenk](https://forum.ansible.com/u/Martin_Schenk)\
**Replies:** 2\
**Last updated:** [February 22, 2016, 2:39pm UTC](https://forum.ansible.com/t/executing-python-script-on-ansible-master-once-playbook-finishes/20647 "2016-02-22T14:39:47Z")

</div>

Dear all, i am new to the awesomeness of ansible. i’ve done some playbooks for now an am amazed of the capability of ansible. :slight\_smile: great product. Now i got to a certain point where i could need some help. M…

---

## [Ansible playbook to install compass](https://forum.ansible.com/t/ansible-playbook-to-install-compass/20645)

<div class="topic-metadata">

**Author:** [@yaron\_idan](https://forum.ansible.com/u/yaron_idan)\
**Replies:** 2\
**Last updated:** [February 22, 2016, 11:03am UTC](https://forum.ansible.com/t/ansible-playbook-to-install-compass/20645 "2016-02-22T11:03:21Z")

</div>

'm receiving an error when trying to install compass using a playbook (on an AWS EC2 instance) Usually we use the following script to install compass - curl -L \[https://get.rvm.io\](https://get.rvm.io/) | bash -s stable…

---

## [Ansible Playbooks can run PowerShell scripts but not long ones](https://forum.ansible.com/t/ansible-playbooks-can-run-powershell-scripts-but-not-long-ones/20644)

<div class="topic-metadata">

**Author:** [@Kiran1](https://forum.ansible.com/u/Kiran1)\
**Replies:** 1\
**Last updated:** [February 22, 2016, 9:03am UTC](https://forum.ansible.com/t/ansible-playbooks-can-run-powershell-scripts-but-not-long-ones/20644 "2016-02-22T09:03:06Z")

</div>

I have Ansible on CentOS. I have some Windows 2012 Servers that get PowerShell scripts pushed down. Various PowerShell scripts can be ran if they don’t take much time. One PowerShell script runs an installer process. The…

---

## [Anyone used ansible playbook running using nodejs ?](https://forum.ansible.com/t/anyone-used-ansible-playbook-running-using-nodejs/20603)

<div class="topic-metadata">

**Author:** [@Preeti\_Tailor](https://forum.ansible.com/u/Preeti_Tailor)\
**Replies:** 1\
**Last updated:** [February 21, 2016, 7:21am UTC](https://forum.ansible.com/t/anyone-used-ansible-playbook-running-using-nodejs/20603 "2016-02-21T07:21:20Z")

</div>

Hello, We are running anisble playbook using nodejs ansible module. Is there a way to get status back from ansible playbook? We basically wanted to know if playbook execution was success or not. Thanks

---

## [How to supply defaults to tasks in 2.x?](https://forum.ansible.com/t/how-to-supply-defaults-to-tasks-in-2-x/20635)

<div class="topic-metadata">

**Author:** [@Yvo1](https://forum.ansible.com/u/Yvo1)\
**Replies:** 5\
**Last updated:** [February 20, 2016, 10:44pm UTC](https://forum.ansible.com/t/how-to-supply-defaults-to-tasks-in-2-x/20635 "2016-02-20T22:44:59Z")

</div>

Hi, I’m upgrading a few Ansible scripts from 1.8 to 2.0 and I’m not sure how to solve this deprecation issue: "\[DEPRECATION WARNING\]: Using variables for task params is unsafe, especially if the variables come from an …

---

## [keystone\_user: role=admin 2.x equivelent](https://forum.ansible.com/t/keystone-user-role-admin-2-x-equivelent/20643)

<div class="topic-metadata">

**Author:** [@John\_Favorite](https://forum.ansible.com/u/John_Favorite)\
**Replies:** 0\
**Last updated:** [February 20, 2016, 10:43pm UTC](https://forum.ansible.com/t/keystone-user-role-admin-2-x-equivelent/20643 "2016-02-20T22:43:43Z")

</div>

Hello, What is the correct way to create OpenStack roles and adding my users to them with 2.x? keystone\_user is deprecated so if there is a better way I would like to use it. Thanks!

---

## [jinja2 it's very cool](https://forum.ansible.com/t/jinja2-its-very-cool/20642)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [February 20, 2016, 7:54pm UTC](https://forum.ansible.com/t/jinja2-its-very-cool/20642 "2016-02-20T19:54:57Z")

</div>

I believe we already answered in IRC, not wanting to repeat the long version: ignore it unless you need it, you won’t need it unless you are using advanced jinja2 templating features, in which case you would know what t…

---

## [Dynamic Inventory in 2.0 with children](https://forum.ansible.com/t/dynamic-inventory-in-2-0-with-children/20641)

<div class="topic-metadata">

**Author:** [@Bruce\_Freeman](https://forum.ansible.com/u/Bruce_Freeman)\
**Replies:** 1\
**Last updated:** [February 20, 2016, 7:48pm UTC](https://forum.ansible.com/t/dynamic-inventory-in-2-0-with-children/20641 "2016-02-20T19:48:39Z")

</div>

I’m seeing a difference in dynamic inventory between 1.9.4 and 2.0 but what we have seems to be correct according to the documentation. Here is a simple Shell script to demonstrate: #!/bin/sh cat \<\<! { “fooservers”:…

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

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