# Latest

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

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

**Page:** 1026

---

## [Weird behaviour when embedding ansible](https://forum.ansible.com/t/weird-behaviour-when-embedding-ansible/13455)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 1\
**Last updated:** [September 12, 2013, 5:39pm UTC](https://forum.ansible.com/t/weird-behaviour-when-embedding-ansible/13455 "2013-09-12T17:39:37Z")

</div>

Hi, I ran across a weird effect when integrating ansible in my program (running a YAML playbook, returning data to my process). Apparently host variables may leak between playbook invocations. Test script: https://gi…

---

## [EC2 module docs are incorrect](https://forum.ansible.com/t/ec2-module-docs-are-incorrect/13432)

<div class="topic-metadata">

**Author:** [@John\_Fuller](https://forum.ansible.com/u/John_Fuller)\
**Replies:** 2\
**Last updated:** [September 12, 2013, 1:02am UTC](https://forum.ansible.com/t/ec2-module-docs-are-incorrect/13432 "2013-09-12T01:02:58Z")

</div>

The docs for the EC2 module mention that you have to set aws\_secret\_key, aws\_access\_key and aws\_url. But in Ansible version 2.3 (pulled from the PPA) both the env variables and the parameters should be ec2\_secret\_key, et…

---

## [Any concept of host specific files rather than role based files?](https://forum.ansible.com/t/any-concept-of-host-specific-files-rather-than-role-based-files/13452)

<div class="topic-metadata">

**Author:** [@Rishi](https://forum.ansible.com/u/Rishi)\
**Replies:** 5\
**Last updated:** [September 12, 2013, 12:38am UTC](https://forum.ansible.com/t/any-concept-of-host-specific-files-rather-than-role-based-files/13452 "2013-09-12T00:38:38Z")

</div>

A few of my hosts need to have specific unique files copied to the host during configuration. They all share the same role but the files contents are different per host, I could go route of templating it but it would be …

---

## [How to access host inventory file entry from playbook?](https://forum.ansible.com/t/how-to-access-host-inventory-file-entry-from-playbook/13458)

<div class="topic-metadata">

**Author:** [@Pierre\_Thibault](https://forum.ansible.com/u/Pierre_Thibault)\
**Replies:** 2\
**Last updated:** [September 11, 2013, 10:42pm UTC](https://forum.ansible.com/t/how-to-access-host-inventory-file-entry-from-playbook/13458 "2013-09-11T22:42:09Z")

</div>

It is possible to access the host name or the ip address used in the inventory file from a playbook?

---

## [lineinfile fails with a path only containing a file name](https://forum.ansible.com/t/lineinfile-fails-with-a-path-only-containing-a-file-name/13457)

<div class="topic-metadata">

**Author:** [@Pierre\_Thibault](https://forum.ansible.com/u/Pierre_Thibault)\
**Replies:** 3\
**Last updated:** [September 11, 2013, 10:17pm UTC](https://forum.ansible.com/t/lineinfile-fails-with-a-path-only-containing-a-file-name/13457 "2013-09-11T22:17:59Z")

</div>

Hello, It seems that I found a bug with the lineinfile module: name: lineinfile fails with a path only containing a file name lineinfile: dest=afile regexp=“something” line=“something” It fails with an error like: f…

---

## [The ansibles](https://forum.ansible.com/t/the-ansibles/13439)

<div class="topic-metadata">

**Author:** [@pjan\_vandaele](https://forum.ansible.com/u/pjan_vandaele)\
**Replies:** 2\
**Last updated:** [September 11, 2013, 5:50pm UTC](https://forum.ansible.com/t/the-ansibles/13439 "2013-09-11T17:50:29Z")

</div>

I just released a whole bunch of roles (basic server setup, security hardening, firewall, nginx (from package or even from source - fully customizable with modules), mysql, python, postfix, dovecot, oracle JDK, scala, vp…

---

## [Problem assigning value to new variable on conditional definition of 2 other variables](https://forum.ansible.com/t/problem-assigning-value-to-new-variable-on-conditional-definition-of-2-other-variables/13428)

<div class="topic-metadata">

**Author:** [@Konstantin\_Root](https://forum.ansible.com/u/Konstantin_Root)\
**Replies:** 6\
**Last updated:** [September 11, 2013, 5:28pm UTC](https://forum.ansible.com/t/problem-assigning-value-to-new-variable-on-conditional-definition-of-2-other-variables/13428 "2013-09-11T17:28:10Z")

</div>

Hi, I’m having trouble getting simple construction to work - I want to assign to new variable value of var1 or var2 depending if they are defined or not. And in case both of them are defined then var2 should win. I cr…

---

## [Syntax help for "lookup"](https://forum.ansible.com/t/syntax-help-for-lookup/13454)

<div class="topic-metadata">

**Author:** [@Dean\_Song](https://forum.ansible.com/u/Dean_Song)\
**Replies:** 1\
**Last updated:** [September 11, 2013, 3:58pm UTC](https://forum.ansible.com/t/syntax-help-for-lookup/13454 "2013-09-11T15:58:42Z")

</div>

Hi guys, Newbie in ansible. Anybody can help me to understand the the lookup syntax below. hosts: test roles: { role: test data\_file: {{ lookup(‘file’, ‘xyz/abc’) }} } Note sure I’ll get all the content of the ‘xy…

---

## [I am trying to run ansible from cron and looking for some advice](https://forum.ansible.com/t/i-am-trying-to-run-ansible-from-cron-and-looking-for-some-advice/13290)

<div class="topic-metadata">

**Author:** [@Jimmy\_Ezell](https://forum.ansible.com/u/Jimmy_Ezell)\
**Replies:** 5\
**Last updated:** [September 11, 2013, 3:22pm UTC](https://forum.ansible.com/t/i-am-trying-to-run-ansible-from-cron-and-looking-for-some-advice/13290 "2013-09-11T15:22:06Z")

</div>

The goal is to create a Amazon instance from a script. This works fine if I am logged in as the user account but not from cron. I believe SSH authentication is the problem. I am specifing the key in the ansible-playboo…

---

## [Syntax error in Variable](https://forum.ansible.com/t/syntax-error-in-variable/13426)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 7\
**Last updated:** [September 11, 2013, 12:28pm UTC](https://forum.ansible.com/t/syntax-error-in-variable/13426 "2013-09-11T12:28:12Z")

</div>

Hi All, Having trouble with this bit of code; it’s intended for AIX, but the error happens before the module get’s sent to the AIX server. I’m thinking I made a syntax error somewhere but I cannot find it :frowning: #…

---

## [with\_items and groups of hosts](https://forum.ansible.com/t/with-items-and-groups-of-hosts/13442)

<div class="topic-metadata">

**Author:** [@Boden\_Garman](https://forum.ansible.com/u/Boden_Garman)\
**Replies:** 3\
**Last updated:** [September 11, 2013, 12:26pm UTC](https://forum.ansible.com/t/with-items-and-groups-of-hosts/13442 "2013-09-11T12:26:44Z")

</div>

Hello! We’re trying to set up a MySQL user for each one of our FreeRADIUS nodes on our master MySQL host. file /etc/ansible/hosts \[mysql-masters\] db.company.local \[radius-servers\] radius1.company.local radius2.coma…

---

## [missing option in docu?](https://forum.ansible.com/t/missing-option-in-docu/13451)

<div class="topic-metadata">

**Author:** [@Hikari\_Boulders](https://forum.ansible.com/u/Hikari_Boulders)\
**Replies:** 2\
**Last updated:** [September 11, 2013, 12:23pm UTC](https://forum.ansible.com/t/missing-option-in-docu/13451 "2013-09-11T12:23:10Z")

</div>

Hello. In the examples of the mongodb\_user module, there's the option "name", but it isn't mentioned in the table. should that be like this?

---

## [Tasks per host same playbook.](https://forum.ansible.com/t/tasks-per-host-same-playbook/13445)

<div class="topic-metadata">

**Author:** [@Manuel\_Jimenez](https://forum.ansible.com/u/Manuel_Jimenez)\
**Replies:** 3\
**Last updated:** [September 11, 2013, 12:20pm UTC](https://forum.ansible.com/t/tasks-per-host-same-playbook/13445 "2013-09-11T12:20:47Z")

</div>

Hello, I have 3 differents servers with nginx. Each one has its own vhost with custom configuration. But all 3 servers uses the same piece of configuration in one section of the vhost. My question is, im trying to do t…

---

## [Changing $HOME](https://forum.ansible.com/t/changing-home/13448)

<div class="topic-metadata">

**Author:** [@Skylar\_Saveland](https://forum.ansible.com/u/Skylar_Saveland)\
**Replies:** 2\
**Last updated:** [September 11, 2013, 4:11am UTC](https://forum.ansible.com/t/changing-home/13448 "2013-09-11T04:11:45Z")

</div>

The user I’m trying to ssh in with has no home directory. In fact, the variable, $HOME, is wrong on the machine for this user’s shell. I try to set the variable to something that would be valid in the ANSIBLE\_HOSTS file …

---

## [accessing facts from from a group](https://forum.ansible.com/t/accessing-facts-from-from-a-group/13450)

<div class="topic-metadata">

**Author:** [@Fred\_Badel](https://forum.ansible.com/u/Fred_Badel)\
**Replies:** 4\
**Last updated:** [September 10, 2013, 8:28pm UTC](https://forum.ansible.com/t/accessing-facts-from-from-a-group/13450 "2013-09-10T20:28:22Z")

</div>

Hello, I just started playing with ansible a couple of weeks ago … and so far, I must say that it looks like The Tools I’ve been looking for a long time! Being a newbie, I am facing newbie’s problem… I would like to g…

---

## [service enable/disable not working on fresh systemd debian install](https://forum.ansible.com/t/service-enable-disable-not-working-on-fresh-systemd-debian-install/13444)

<div class="topic-metadata">

**Author:** [@aurelien](https://forum.ansible.com/u/aurelien)\
**Replies:** 7\
**Last updated:** [September 10, 2013, 5:45pm UTC](https://forum.ansible.com/t/service-enable-disable-not-working-on-fresh-systemd-debian-install/13444 "2013-09-10T17:45:55Z")

</div>

Hi all, I’m trying to use ansible to handle services on a fresh Debian Wheezy on which I installed and enabled systemd (by following these instructions). Using the service module, start/stop seems to be working ok, exa…

---

## [Matching against any nested elements in a variable](https://forum.ansible.com/t/matching-against-any-nested-elements-in-a-variable/13430)

<div class="topic-metadata">

**Author:** [@Kent\_R\_Spillner](https://forum.ansible.com/u/Kent_R_Spillner)\
**Replies:** 6\
**Last updated:** [September 10, 2013, 4:26pm UTC](https://forum.ansible.com/t/matching-against-any-nested-elements-in-a-variable/13430 "2013-09-10T16:26:10Z")

</div>

I want to use Ansible to install the appropriate RAID controller utility for every server but work in a fairly mixed environment with different vendors and different RAID controllers. I think the best way to handle this…

---

## [CLI option to not output skipped tasks](https://forum.ansible.com/t/cli-option-to-not-output-skipped-tasks/13443)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 5\
**Last updated:** [September 10, 2013, 1:59pm UTC](https://forum.ansible.com/t/cli-option-to-not-output-skipped-tasks/13443 "2013-09-10T13:59:37Z")

</div>

Is there a command line option that allows to not output ignored tasks? Currently and by default, ansible-playbook outputs thetask name followed by a line “skipping: {{ inventory\_hostname }}” and if used with with\_items…

---

## [Pip module issue - install seems to hang when installing from a requirements file](https://forum.ansible.com/t/pip-module-issue-install-seems-to-hang-when-installing-from-a-requirements-file/13297)

<div class="topic-metadata">

**Author:** [@Jason\_brooks](https://forum.ansible.com/u/Jason_brooks)\
**Replies:** 6\
**Last updated:** [September 10, 2013, 12:35pm UTC](https://forum.ansible.com/t/pip-module-issue-install-seems-to-hang-when-installing-from-a-requirements-file/13297 "2013-09-10T12:35:50Z")

</div>

Can anyone help with this issue… When log into the remote machine and manually pip install -r production.txt it works fine In my playbook i have: name: Update the virtualenv with production requirements. pip: requir…

---

## [Can you use with\_nested with with\_together?](https://forum.ansible.com/t/can-you-use-with-nested-with-with-together/13438)

<div class="topic-metadata">

**Author:** [@Michael\_Lieberman](https://forum.ansible.com/u/Michael_Lieberman)\
**Replies:** 2\
**Last updated:** [September 10, 2013, 12:34pm UTC](https://forum.ansible.com/t/can-you-use-with-nested-with-with-together/13438 "2013-09-10T12:34:11Z")

</div>

I’m trying to have nested looping but I also want one of the lists to only be run through once. e.g. if i had 3 lists x=\[‘a’, ‘b’\] y=\[‘1’\] z=\[‘A’, ‘B’\] I would do something like: with\_together: \[‘a’, ‘b’\] with\_nested: …

---

## [Losing environment with sudo](https://forum.ansible.com/t/losing-environment-with-sudo/13441)

<div class="topic-metadata">

**Author:** [@Ian\_Young](https://forum.ansible.com/u/Ian_Young)\
**Replies:** 1\
**Last updated:** [September 10, 2013, 7:07am UTC](https://forum.ansible.com/t/losing-environment-with-sudo/13441 "2013-09-10T07:07:55Z")

</div>

I’ve got some environment variables I need and am running into trouble when trying to access them while sudo’d to another user. Here’s me using the ansible tool to look for a var that’s set in /etc/bash.bashrc: $ ansibl…

---

## [Simple template/vars file issue](https://forum.ansible.com/t/simple-template-vars-file-issue/13436)

<div class="topic-metadata">

**Author:** [@James\_Reece](https://forum.ansible.com/u/James_Reece)\
**Replies:** 3\
**Last updated:** [September 9, 2013, 11:26pm UTC](https://forum.ansible.com/t/simple-template-vars-file-issue/13436 "2013-09-09T23:26:47Z")

</div>

I apologise now for the simplicity of this query… I’ve read a lot of related posts but I am still no closer to understanding the problem. I have a very simple play. The specific issue I am stuck on only started on Frid…

---

## [ansible-openstack: vm's unable to see internet](https://forum.ansible.com/t/ansible-openstack-vms-unable-to-see-internet/13369)

<div class="topic-metadata">

**Author:** [@kesten\_broughton1](https://forum.ansible.com/u/kesten_broughton1)\
**Replies:** 10\
**Last updated:** [September 9, 2013, 10:32pm UTC](https://forum.ansible.com/t/ansible-openstack-vms-unable-to-see-internet/13369 "2013-09-09T22:32:18Z")

</div>

Howdy. My two nodes - Controller 10.0.9.170 and Compute - can see the internet. My vms can see each other and the Controller. However, i can’t ping 8.8.8.8 from my vms. root@2.2.2.4 # ping 2.2.2.2, ping 1.1.1.3, ping 1…

---

## [AnsibleWorks AWX is now available!](https://forum.ansible.com/t/ansibleworks-awx-is-now-available/13231)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 9\
**Last updated:** [September 9, 2013, 3:58pm UTC](https://forum.ansible.com/t/ansibleworks-awx-is-now-available/13231 "2013-09-09T15:58:38Z")

</div>

Hi everyone, Today AnsibleWorks is happy to announce the first release of AnsibleWorks AWX. AWX is a modern Web Interface, Centralized Logging Server, and REST API endpoint for Ansible. Flexible Role Based Access Contr…

---

## [Include a task for each element of a list](https://forum.ansible.com/t/include-a-task-for-each-element-of-a-list/13405)

<div class="topic-metadata">

**Author:** [@stephane](https://forum.ansible.com/u/stephane)\
**Replies:** 15\
**Last updated:** [September 9, 2013, 6:48am UTC](https://forum.ansible.com/t/include-a-task-for-each-element-of-a-list/13405 "2013-09-09T06:48:37Z")

</div>

Hi! I’d like to manage users on my servers. Basically, I want 3 variables for each group of servers (may be overrided for a specific host) containing the users I want to create : users: basic users sudo\_users: users i…

---

## [Configuring an HP GbE2c switch with SCP.](https://forum.ansible.com/t/configuring-an-hp-gbe2c-switch-with-scp/13435)

<div class="topic-metadata">

**Author:** [@Chris10](https://forum.ansible.com/u/Chris10)\
**Replies:** 1\
**Last updated:** [September 9, 2013, 2:04am UTC](https://forum.ansible.com/t/configuring-an-hp-gbe2c-switch-with-scp/13435 "2013-09-09T02:04:30Z")

</div>

Hi there, I’m brand new to Ansible and I would like to know how you would approach the following situation: I’m trying to push some configuration files to HP GbE2c L2/L3 switches that I maintain. I can access the switch…

---

## [group\_var usage use var to define next var](https://forum.ansible.com/t/group-var-usage-use-var-to-define-next-var/13433)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 2\
**Last updated:** [September 8, 2013, 3:43pm UTC](https://forum.ansible.com/t/group-var-usage-use-var-to-define-next-var/13433 "2013-09-08T15:43:31Z")

</div>

I’m getting and error on the 2nd line bitnami\_home: /opt/bitnami httpd\_conf\_home: {{ bitnami\_home }}/apache2/conf In a group\_var file. Is it possible to make this sort of compund construction possible? thanks

---

## [Abort entire run at one task failure](https://forum.ansible.com/t/abort-entire-run-at-one-task-failure/13420)

<div class="topic-metadata">

**Author:** [@Rumen\_Telbizov](https://forum.ansible.com/u/Rumen_Telbizov)\
**Replies:** 11\
**Last updated:** [September 6, 2013, 11:51pm UTC](https://forum.ansible.com/t/abort-entire-run-at-one-task-failure/13420 "2013-09-06T23:51:03Z")

</div>

Hello everyone, I have a rolling upgrade performed over an inventory of say 20 hosts.The playbook that runs this uses serial: 3, so 3 hosts only are being upgraded at a time. What I want to achieve right now is: for an…

---

## [can't find package ansible unbutu lts 12.04](https://forum.ansible.com/t/cant-find-package-ansible-unbutu-lts-12-04/13429)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 2\
**Last updated:** [September 6, 2013, 8:58pm UTC](https://forum.ansible.com/t/cant-find-package-ansible-unbutu-lts-12-04/13429 "2013-09-06T20:58:19Z")

</div>

Built (Launched) Ubuntu server 64bit lts 12.04 from the amazon ec2 marketing place ssh into the instance then sudo add-apt-repository ppa:rquillo/ansible appeared to work correctly … gpg: key 5504681D: public key “L…

---

## [Release of 1.3 moved to next Friday (Sept. 13th)](https://forum.ansible.com/t/release-of-1-3-moved-to-next-friday-sept-13th/13427)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 6, 2013, 1:03pm UTC](https://forum.ansible.com/t/release-of-1-3-moved-to-next-friday-sept-13th/13427 "2013-09-06T13:03:35Z")

</div>

Hi all, We wanted to allow for a bit more time for testing of things like accelerate mode. Release is planned for 9/13, feature freeze is still in effect. (If we have extra time more bugs will get squashed and feature…

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

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