# Archives

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

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

**Page:** 536

---

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

---

## [error while creaing Big IP pool ussing anisble yaml script](https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078)

<div class="topic-metadata">

**Author:** [@santu\_chaitu](https://forum.ansible.com/u/santu_chaitu)\
**Replies:** 1\
**Last updated:** [November 22, 2016, 10:25pm UTC](https://forum.ansible.com/t/error-while-creaing-big-ip-pool-ussing-anisble-yaml-script/23078 "2016-11-22T22:25:10Z")

</div>

I am trying to create a pool using YAML as below (Note: I tried to executed the script as root user and as non-rrot user) IN both cases i am getting two different errors. inventory file webl22-p1.gain.tcprod.local ans…

---

## [Problem With Simple Template](https://forum.ansible.com/t/problem-with-simple-template/23069)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 5\
**Last updated:** [November 22, 2016, 9:27pm UTC](https://forum.ansible.com/t/problem-with-simple-template/23069 "2016-11-22T21:27:03Z")

</div>

(This might appear twice, sorry). (Ansible 2.2 - Mac OS 12.1) I’m having trouble with a template I’m trying to create. So, I cut it down to a bare minimum. Consider the following: jon.yml

---

## [Scaling the Ansible Hierarchy?](https://forum.ansible.com/t/scaling-the-ansible-hierarchy/23064)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Wen](https://forum.ansible.com/u/Jeffrey_Wen)\
**Replies:** 7\
**Last updated:** [November 22, 2016, 8:41pm UTC](https://forum.ansible.com/t/scaling-the-ansible-hierarchy/23064 "2016-11-22T20:41:05Z")

</div>

Hello, I am currently following the directory layout provided by Ansible. I understand that if I keep all of my roles/\* in a directory, I can easily call each role from the top level directory like so: site.yml # mast…

---

## [Ansible in the docker container?](https://forum.ansible.com/t/ansible-in-the-docker-container/22978)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 5\
**Last updated:** [November 22, 2016, 7:29pm UTC](https://forum.ansible.com/t/ansible-in-the-docker-container/22978 "2016-11-22T19:29:32Z")

</div>

Hi all, Am I being too picky here or just being naive in the ways I approach my works with Docker? There are times when I build a Docker image and then when I run the container with some environment variables then my st…

---

## [Make ansible-playbook accept a roles-path argument?](https://forum.ansible.com/t/make-ansible-playbook-accept-a-roles-path-argument/17482)

<div class="topic-metadata">

**Author:** [@Daniel\_Upton](https://forum.ansible.com/u/Daniel_Upton)\
**Replies:** 5\
**Last updated:** [November 22, 2016, 6:38pm UTC](https://forum.ansible.com/t/make-ansible-playbook-accept-a-roles-path-argument/17482 "2016-11-22T18:38:27Z")

</div>

Is it possible to pass the roles\_path parameter (from ansible.cfg) or an equivalent as an argument to ansible-playbook? My use case is: I’m using the ansible-galaxy (tool not web service) to pull my shared ansible roles…

---

## [Ansible Playbook - when: list?](https://forum.ansible.com/t/ansible-playbook-when-list/23065)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Wen](https://forum.ansible.com/u/Jeffrey_Wen)\
**Replies:** 2\
**Last updated:** [November 22, 2016, 6:26pm UTC](https://forum.ansible.com/t/ansible-playbook-when-list/23065 "2016-11-22T18:26:42Z")

</div>

\` localhost | SUCCESS =\> { “ansible\_facts”: { “ansible\_dns”: { “nameservers”: \[ “192.168.1.1”, “192.168.1.2” \], “search”: \[ “example.com”, \] } }, “changed”: false } \` I am trying to reference my nameserve…

---

## [Adding dict key to a list](https://forum.ansible.com/t/adding-dict-key-to-a-list/23075)

<div class="topic-metadata">

**Author:** [@William\_Hirsch](https://forum.ansible.com/u/William_Hirsch)\
**Replies:** 1\
**Last updated:** [November 22, 2016, 6:18pm UTC](https://forum.ansible.com/t/adding-dict-key-to-a-list/23075 "2016-11-22T18:18:27Z")

</div>

All, I need some help writing the following task. Need to find all devices on a RHEL system, but only if they don’t match sr0 For each of those devices found, run a number of tasks against them Thought this would be …

---

## [Changing variable depending on the host within a role](https://forum.ansible.com/t/changing-variable-depending-on-the-host-within-a-role/23072)

<div class="topic-metadata">

**Author:** [@Adnan\_Arab](https://forum.ansible.com/u/Adnan_Arab)\
**Replies:** 1\
**Last updated:** [November 22, 2016, 6:02pm UTC](https://forum.ansible.com/t/changing-variable-depending-on-the-host-within-a-role/23072 "2016-11-22T18:02:37Z")

</div>

Hi, I want to be able to change the value of a variable depending on a host. What I tried was roles/x/vars/host\_vars//main.yml but this does not seem to work. Could you please let me know how I can change a variable d…

---

## [Can conditional "OR" operator be syntactically indented similar to the "AND" operator?](https://forum.ansible.com/t/can-conditional-or-operator-be-syntactically-indented-similar-to-the-and-operator/23066)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 2\
**Last updated:** [November 22, 2016, 5:51pm UTC](https://forum.ansible.com/t/can-conditional-or-operator-be-syntactically-indented-similar-to-the-and-operator/23066 "2016-11-22T17:51:33Z")

</div>

Hello - Can the conditional “OR” operator be syntactically indented similar to the “AND” operator? “AND” can be written in either of these ways: Source when: django\_migration\_result|changed and ('Applying auth.0001\_…

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

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