# Latest

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

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

**Page:** 707

---

## [Proxmox network interface configuration: template error while templating string: Encountered unknown tag 'item'](https://forum.ansible.com/t/proxmox-network-interface-configuration-template-error-while-templating-string-encountered-unknown-tag-item/23112)

<div class="topic-metadata">

**Author:** [@Samuel\_Vandamme](https://forum.ansible.com/u/Samuel_Vandamme)\
**Replies:** 0\
**Last updated:** [November 27, 2016, 11:32am UTC](https://forum.ansible.com/t/proxmox-network-interface-configuration-template-error-while-templating-string-encountered-unknown-tag-item/23112 "2016-11-27T11:32:27Z")

</div>

Hi everyone I’m trying to setup multiple proxmox network interfaces for my containers with Ansible. Here is the code that I’m using. You can see in the netif property that I sometimes want to add a second interface to …

---

## [Syntax to access item in with\_sequence in a complex variable](https://forum.ansible.com/t/syntax-to-access-item-in-with-sequence-in-a-complex-variable/23110)

<div class="topic-metadata">

**Author:** [@bonheur.sorn](https://forum.ansible.com/u/bonheur.sorn)\
**Replies:** 1\
**Last updated:** [November 27, 2016, 6:06am UTC](https://forum.ansible.com/t/syntax-to-access-item-in-with-sequence-in-a-complex-variable/23110 "2016-11-27T06:06:46Z")

</div>

Hi everyone I’m trying to use the item value in ‘with\_sequence’ to access an element in my array variable. I understand that to access variables using the bracket syntax \[…\] in vars =\> use vars\[…\] hostvars =\> use…

---

## [is it possible to tag all tasks in a role?](https://forum.ansible.com/t/is-it-possible-to-tag-all-tasks-in-a-role/23109)

<div class="topic-metadata">

**Author:** [@Spike1](https://forum.ansible.com/u/Spike1)\
**Replies:** 0\
**Last updated:** [November 26, 2016, 11:35pm UTC](https://forum.ansible.com/t/is-it-possible-to-tag-all-tasks-in-a-role/23109 "2016-11-26T23:35:53Z")

</div>

Hi, I’d like to be able to tag all tasks in a role, however I’m not seeing an option… tags are not allowed globally in tasks/main.yml and if I tag a role in the play all depended roles will be tagged too. An option wou…

---

## [Possible Improvement to the 'command' Module](https://forum.ansible.com/t/possible-improvement-to-the-command-module/23105)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 1\
**Last updated:** [November 26, 2016, 4:29pm UTC](https://forum.ansible.com/t/possible-improvement-to-the-command-module/23105 "2016-11-26T16:29:32Z")

</div>

The Ansible documentation shows the following example for the 'command' module" - command: /usr/bin/make\_database.sh arg1 arg2 creates=/path/to/database The idea here is that if the /path/to/database file already exis…

---

## [ansible async module result in bind service is done](https://forum.ansible.com/t/ansible-async-module-result-in-bind-service-is-done/23108)

<div class="topic-metadata">

**Author:** [@hao\_huang](https://forum.ansible.com/u/hao_huang)\
**Replies:** 0\
**Last updated:** [November 26, 2016, 3:39pm UTC](https://forum.ansible.com/t/ansible-async-module-result-in-bind-service-is-done/23108 "2016-11-26T15:39:07Z")

</div>

ansible version : 2.1.1.0 hosts: hhh gather\_facts: no become: yes tasks: block: name: hhh conf shell: bash /tmp/hhh.sh async: 2000 poll: 0 register: update\_hhh name: check hhh async\_status: jid={{ upd…

---

## [Getting Access Denied while creating Cluster on Win2012 R2 using PywinRM](https://forum.ansible.com/t/getting-access-denied-while-creating-cluster-on-win2012-r2-using-pywinrm/23107)

<div class="topic-metadata">

**Author:** [@ashish\_chanda](https://forum.ansible.com/u/ashish_chanda)\
**Replies:** 0\
**Last updated:** [November 26, 2016, 6:10am UTC](https://forum.ansible.com/t/getting-access-denied-while-creating-cluster-on-win2012-r2-using-pywinrm/23107 "2016-11-26T06:10:44Z")

</div>

Hi, I am using Ansible PywinRm to connect and run powershell on the remote windows 2012 R2 server. I am getting the error access denied on new cluster command on adding the second node to the cluster. Below are the co…

---

## [ansible play getting failed due to sudo issue](https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100)

<div class="topic-metadata">

**Author:** [@stack4cl](https://forum.ansible.com/u/stack4cl)\
**Replies:** 1\
**Last updated:** [November 25, 2016, 4:55pm UTC](https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100 "2016-11-25T16:55:15Z")

</div>

Issue - \[sysadm@ccldevcftsebs1 ~\]$ sudo yum repolist -v \[sudo\] password for sysadm: User part of wheel group and still its asking password ,any idea to fix it ? \[sysadm@ccldevcftsebs1 ~\]$ id sysadm uid=504(sysadm) g…

---

## [Concatenate text and variable for a key in a dict](https://forum.ansible.com/t/concatenate-text-and-variable-for-a-key-in-a-dict/23098)

<div class="topic-metadata">

**Author:** [@Guillaume\_Abrioux](https://forum.ansible.com/u/Guillaume_Abrioux)\
**Replies:** 0\
**Last updated:** [November 25, 2016, 1:46pm UTC](https://forum.ansible.com/t/concatenate-text-and-variable-for-a-key-in-a-dict/23098 "2016-11-25T13:46:05Z")

</div>

Hi, I would like to define a dict in group\_vars/all.yml where a key inside this dict would consist of a fixed string concatened to the result of : “{{ hostvars\[inventory\_hostname\]\[‘ansible\_hostname’\] }}”. This should l…

---

## [i CANT connect to a windows server](https://forum.ansible.com/t/i-cant-connect-to-a-windows-server/23018)

<div class="topic-metadata">

**Author:** [@Aitor\_Gomez](https://forum.ansible.com/u/Aitor_Gomez)\
**Replies:** 11\
**Last updated:** [November 25, 2016, 1:11pm UTC](https://forum.ansible.com/t/i-cant-connect-to-a-windows-server/23018 "2016-11-25T13:11:05Z")

</div>

i configured host \[windows\] server.domain.es Windows.yml ansible\_user: domain\\user ansible\_password: passw ansible\_port: 5986 ansible\_connection: winrm ansible\_winrm\_server\_cert\_validation: ignore I’ve tried it …

---

## [dellos6\_command error on dell N2048](https://forum.ansible.com/t/dellos6-command-error-on-dell-n2048/23096)

<div class="topic-metadata">

**Author:** [@Ramiro\_de\_Zavalia](https://forum.ansible.com/u/Ramiro_de_Zavalia)\
**Replies:** 0\
**Last updated:** [November 24, 2016, 6:38pm UTC](https://forum.ansible.com/t/dellos6-command-error-on-dell-n2048/23096 "2016-11-24T18:38:58Z")

</div>

Hello, I’m testing dell06\_command on a dell N2048 switch without luck. I have this simple playbook:

---

## [Ansible Logs to Logstash](https://forum.ansible.com/t/ansible-logs-to-logstash/23093)

<div class="topic-metadata">

**Author:** [@Paul\_Atkinson](https://forum.ansible.com/u/Paul_Atkinson)\
**Replies:** 0\
**Last updated:** [November 24, 2016, 11:44am UTC](https://forum.ansible.com/t/ansible-logs-to-logstash/23093 "2016-11-24T11:44:41Z")

</div>

Hi Has anyone enabled / used the Ansible Callback function to send logs to logstash. If so, what were your steps? What is the logstash configuration file setup for loading the logs? Are their different formats / leve…

---

## [Change IP of VM after deploying it from template it in vSphere](https://forum.ansible.com/t/change-ip-of-vm-after-deploying-it-from-template-it-in-vsphere/23092)

<div class="topic-metadata">

**Author:** [@Tim3](https://forum.ansible.com/u/Tim3)\
**Replies:** 0\
**Last updated:** [November 24, 2016, 10:59am UTC](https://forum.ansible.com/t/change-ip-of-vm-after-deploying-it-from-template-it-in-vsphere/23092 "2016-11-24T10:59:53Z")

</div>

Hi everyone, I recently made a playbook which deploys a VM (Windows 2012 R2) from a template in my vCenter, which runs without problems. I wanted to set the IP (and maybe join the windows domain, if possible) of this ne…

---

## [configure VM IP along with vsphere\_guest](https://forum.ansible.com/t/configure-vm-ip-along-with-vsphere-guest/19946)

<div class="topic-metadata">

**Author:** [@Sri\_Krishna\_G](https://forum.ansible.com/u/Sri_Krishna_G)\
**Replies:** 1\
**Last updated:** [November 24, 2016, 10:50am UTC](https://forum.ansible.com/t/configure-vm-ip-along-with-vsphere-guest/19946 "2016-11-24T10:50:09Z")

</div>

hi all, i am trying to see how to assign IP to a VM after it is created with the vsphere\_guest module. i have gone through the pysphere SDK documentation, and i gather that it supports assigning an IP. has any one trie…

---

## [Ansible logs in remote machine](https://forum.ansible.com/t/ansible-logs-in-remote-machine/23091)

<div class="topic-metadata">

**Author:** [@dktgmn](https://forum.ansible.com/u/dktgmn)\
**Replies:** 0\
**Last updated:** [November 24, 2016, 6:58am UTC](https://forum.ansible.com/t/ansible-logs-in-remote-machine/23091 "2016-11-24T06:58:47Z")

</div>

Using a default ansible configure,when a Ansible command sended to a remote machine and executed in ssh，where can I find the command record or history in the remote machine to check the command be executed or not?

---

## [How to install Visual\_Studio\_Pro\_2008\_English\_Core\_MLF\_X14-26326.iso on Windows machine with ansible](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061)

<div class="topic-metadata">

**Author:** [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Replies:** 3\
**Last updated:** [November 24, 2016, 2:22am UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061 "2016-11-24T02:22:52Z")

</div>

Hi Ansible Team, I want to install Visual Studio(ISO file) on Windows machine with ansible. Below is my solution, but I met an issue to install it. Solution: copy Visual\_Studio\_Pro\_2008\_English\_Core\_MLF\_X14-26326.iso…

---

## [Provide feedback on Ansible/GCP integration](https://forum.ansible.com/t/provide-feedback-on-ansible-gcp-integration/23090)

<div class="topic-metadata">

**Author:** [@Tom\_Melendez](https://forum.ansible.com/u/Tom_Melendez)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 9:39pm UTC](https://forum.ansible.com/t/provide-feedback-on-ansible-gcp-integration/23090 "2016-11-23T21:39:58Z")

</div>

TL;DR: If you have no interest in Ansible/Google Cloud Platform integration, you can stop reading now. Hey Folks, I’m an engineer at Google, working on Ansible/Google Cloud Platform integration. If you’re a user of Ans…

---

## [Ansible shell module failure?](https://forum.ansible.com/t/ansible-shell-module-failure/23086)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 1\
**Last updated:** [November 23, 2016, 8:48pm UTC](https://forum.ansible.com/t/ansible-shell-module-failure/23086 "2016-11-23T20:48:36Z")

</div>

Hello - Assistance requested I’m encountering a shell module failure in a play I’m testing. My end goal is to validate if my app “MIP” is down or not. Plan is to check for the running process, then conditionally fail ou…

---

## [Creating a package module like the yum module](https://forum.ansible.com/t/creating-a-package-module-like-the-yum-module/23089)

<div class="topic-metadata">

**Author:** [@Peter\_Burns](https://forum.ansible.com/u/Peter_Burns)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 8:35pm UTC](https://forum.ansible.com/t/creating-a-package-module-like-the-yum-module/23089 "2016-11-23T20:35:18Z")

</div>

Hi there, I’m trying to create an ansible module to install packages using a custom package management system. I want it to function like the core yum module says it does when used in a loop, i.e. “Instead of calling th…

---

## [Ansible goes into a infinite sleep mode when it tries to start jboss server as root user](https://forum.ansible.com/t/ansible-goes-into-a-infinite-sleep-mode-when-it-tries-to-start-jboss-server-as-root-user/23088)

<div class="topic-metadata">

**Author:** [@Santhosh\_Chaitanya](https://forum.ansible.com/u/Santhosh_Chaitanya)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 7:46pm UTC](https://forum.ansible.com/t/ansible-goes-into-a-infinite-sleep-mode-when-it-tries-to-start-jboss-server-as-root-user/23088 "2016-11-23T19:46:10Z")

</div>

Hi all, I am stuck with below strange issue that ansible halts or goes into sleep mode when trying to start jboss as a root user using ansible on redhat machine1 Accordingly below are the details of the scripts that ar…

---

## [Multi host with multi role project](https://forum.ansible.com/t/multi-host-with-multi-role-project/23087)

<div class="topic-metadata">

**Author:** [@johankooijman](https://forum.ansible.com/u/johankooijman)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 7:06pm UTC](https://forum.ansible.com/t/multi-host-with-multi-role-project/23087 "2016-11-23T19:06:56Z")

</div>

First of all: my apologies for the chosen subject. I can’t think of anything better than this… Anyway - what I’d like to accomplish is the following: I have a brand new, shiny, fresh host which I’ll bootstrap with our c…

---

## [ansible\_play\_batch equivalant which excludes failed hosts?](https://forum.ansible.com/t/ansible-play-batch-equivalant-which-excludes-failed-hosts/23085)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 2\
**Last updated:** [November 23, 2016, 7:03pm UTC](https://forum.ansible.com/t/ansible-play-batch-equivalant-which-excludes-failed-hosts/23085 "2016-11-23T19:03:29Z")

</div>

I’m using pause with a prompt to display a list of devices that the current role is about to applied to. Here’s an example: \` name: Prompting To Continue pause: prompt: \>

---

## [Get a list of --limit servers](https://forum.ansible.com/t/get-a-list-of-limit-servers/23079)

<div class="topic-metadata">

**Author:** [@bmccarthy](https://forum.ansible.com/u/bmccarthy)\
**Replies:** 3\
**Last updated:** [November 23, 2016, 6:52pm UTC](https://forum.ansible.com/t/get-a-list-of-limit-servers/23079 "2016-11-23T18:52:37Z")

</div>

I’m using the icinga2-ansible-add-hosts role, which creates config files for each host. My playbook starts like this:

---

## [Ansible Tower Question](https://forum.ansible.com/t/ansible-tower-question/23084)

<div class="topic-metadata">

**Author:** [@Yasin\_Amadmia](https://forum.ansible.com/u/Yasin_Amadmia)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 6:06pm UTC](https://forum.ansible.com/t/ansible-tower-question/23084 "2016-11-23T18:06:09Z")

</div>

We have two SCM repos for our Ansible code-base (1)Core and (2)Platform. The Core SCM contains application specific playbooks (ex: nginx, fluentd etc) while the Platform SCM contains basic platform specific roles (ex: nt…

---

## [right usage of ansible v2 api with python](https://forum.ansible.com/t/right-usage-of-ansible-v2-api-with-python/23083)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 5:10pm UTC](https://forum.ansible.com/t/right-usage-of-ansible-v2-api-with-python/23083 "2016-11-23T17:10:26Z")

</div>

I am having trouble about finding the right syntax for running a playbook with ansible api below is my code

---

## [Validate setting is removed from a configuration](https://forum.ansible.com/t/validate-setting-is-removed-from-a-configuration/23082)

<div class="topic-metadata">

**Author:** [@Eric\_Marquez](https://forum.ansible.com/u/Eric_Marquez)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 3:25pm UTC](https://forum.ansible.com/t/validate-setting-is-removed-from-a-configuration/23082 "2016-11-23T15:25:06Z")

</div>

I'm working with some Dell OS 9 switches. I'm attempting to remove a command from the configuration. That part works. The part I'm having problems with is validating it was indeed removed from the configuration. How …

---

## [Regression in 'package' module?](https://forum.ansible.com/t/regression-in-package-module/23073)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 7\
**Last updated:** [November 23, 2016, 12:13pm UTC](https://forum.ansible.com/t/regression-in-package-module/23073 "2016-11-23T12:13:00Z")

</div>

Hi, I recently migrated from OS specific modules to the 'package' module to reduce the number of tasks \[1\]. At the time I used ansible 2.0 (and IIRC it worked but I'm not 100% sure). Now I'm running ansible 2.2 and a…

---

## [a module to create Keystone endpoints](https://forum.ansible.com/t/a-module-to-create-keystone-endpoints/22113)

<div class="topic-metadata">

**Author:** [@Evgeniy\_Ivanov](https://forum.ansible.com/u/Evgeniy_Ivanov)\
**Replies:** 1\
**Last updated:** [November 23, 2016, 6:49am UTC](https://forum.ansible.com/t/a-module-to-create-keystone-endpoints/22113 "2016-11-23T06:49:20Z")

</div>

I found os\_user module and a lot of other OS modules, but I can’t find almost the most important module to work with Keystone. Is there a way to create Keystone endpoints? Now I’m using shell module and openstack endpo…

---

## [How to find network device by macaddress ?](https://forum.ansible.com/t/how-to-find-network-device-by-macaddress/23077)

<div class="topic-metadata">

**Author:** [@Don\_Jackson](https://forum.ansible.com/u/Don_Jackson)\
**Replies:** 2\
**Last updated:** [November 23, 2016, 1:37am UTC](https://forum.ansible.com/t/how-to-find-network-device-by-macaddress/23077 "2016-11-23T01:37:21Z")

</div>

Here is a truncated version of a fact for one network interface on a server: “ansible\_eth2”: { “active”: true, “device”: “eth2”, “macaddress”: “30:0e:d5:cb:11:fe”, “type”: “ether” }, And there are similar facts …

---

## [skipped role, register and with\_items causing headaches](https://forum.ansible.com/t/skipped-role-register-and-with-items-causing-headaches/23081)

<div class="topic-metadata">

**Author:** [@Paul\_Baker](https://forum.ansible.com/u/Paul_Baker)\
**Replies:** 0\
**Last updated:** [November 23, 2016, 1:22am UTC](https://forum.ansible.com/t/skipped-role-register-and-with-items-causing-headaches/23081 "2016-11-23T01:22:26Z")

</div>

Hi All, It seems like issues along these lines have been raised as bugs and closed several times… see https://github.com/ansible/ansible/issues/17500 I have created a role, which I intend to skip under certain circumst…

---

## [Failed to install ansible on Ubuntu 14](https://forum.ansible.com/t/failed-to-install-ansible-on-ubuntu-14/23071)

<div class="topic-metadata">

**Author:** [@Boris\_Modylevsky](https://forum.ansible.com/u/Boris_Modylevsky)\
**Replies:** 1\
**Last updated:** [November 22, 2016, 11:02pm UTC](https://forum.ansible.com/t/failed-to-install-ansible-on-ubuntu-14/23071 "2016-11-22T23:02:30Z")

</div>

I am getting an error while installing ansible on Ubuntu 14: x86\_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE\_\_THREAD -I/usr/include/ffi -I/usr/include/lib…

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

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