# Latest

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

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

**Page:** 1024

---

## [Having trouble thinking of a structure for Nginx+PHP setup, with multiple vhosts.](https://forum.ansible.com/t/having-trouble-thinking-of-a-structure-for-nginx-php-setup-with-multiple-vhosts/13506)

<div class="topic-metadata">

**Author:** [@Dan7](https://forum.ansible.com/u/Dan7)\
**Replies:** 5\
**Last updated:** [September 21, 2013, 8:10am UTC](https://forum.ansible.com/t/having-trouble-thinking-of-a-structure-for-nginx-php-setup-with-multiple-vhosts/13506 "2013-09-21T08:10:25Z")

</div>

Hey, I have several servers and each server runs Nginx and Php-fpm. On each server I have several Vhosts, each Vhost (or a group of several) is owned by a linux user and is tied to a Php-fpm tool. I think that I need …

---

## [variables not defined when tasks are conditionally includes](https://forum.ansible.com/t/variables-not-defined-when-tasks-are-conditionally-includes/13517)

<div class="topic-metadata">

**Author:** [@Bruno\_Bonfils](https://forum.ansible.com/u/Bruno_Bonfils)\
**Replies:** 9\
**Last updated:** [September 20, 2013, 9:17pm UTC](https://forum.ansible.com/t/variables-not-defined-when-tasks-are-conditionally-includes/13517 "2013-09-20T21:17:09Z")

</div>

Hello folks, I’m a bit confuse with conditional includes. First, let me explained what I’m trying to do : I want to install bacula as agent on all servers, but few servers have another bacula roles (like director and …

---

## [state parameter in route53 (and rds)](https://forum.ansible.com/t/state-parameter-in-route53-and-rds/13512)

<div class="topic-metadata">

**Author:** [@Jim\_Dalton1](https://forum.ansible.com/u/Jim_Dalton1)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 3:14pm UTC](https://forum.ansible.com/t/state-parameter-in-route53-and-rds/13512 "2013-09-20T15:14:12Z")

</div>

Howdy, Just implementing some DNS stuff over here via the newish route53 module and it looks/works great. One thing that struck me, however, is that the API for route53 (and rds as well it appears) are lacking the “sta…

---

## [parent role name in name of task bug with includes ?](https://forum.ansible.com/t/parent-role-name-in-name-of-task-bug-with-includes/13516)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 2:42pm UTC](https://forum.ansible.com/t/parent-role-name-in-name-of-task-bug-with-includes/13516 "2013-09-20T14:42:43Z")

</div>

For information, I have a role for which in role/r/tasks/main.yml I include tasks from a file. All the included tasks seem to miss the “r|” in their name. it seems like a bug. Jerome

---

## [Disable logging on remote hosts](https://forum.ansible.com/t/disable-logging-on-remote-hosts/12978)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 9:39am UTC](https://forum.ansible.com/t/disable-logging-on-remote-hosts/12978 "2013-09-20T09:39:16Z")

</div>

Dear list, is there a way to disable syslogging module invocations on the remote hosts? I browsed the web and the code, and all I could find was the ability to set the (undocumented syslog\_facility configuration file …

---

## [Host variables with dict value?](https://forum.ansible.com/t/host-variables-with-dict-value/13509)

<div class="topic-metadata">

**Author:** [@Chris\_Shenton](https://forum.ansible.com/u/Chris_Shenton)\
**Replies:** 2\
**Last updated:** [September 20, 2013, 5:06am UTC](https://forum.ansible.com/t/host-variables-with-dict-value/13509 "2013-09-20T05:06:25Z")

</div>

In my playbook yaml file I had something like: vars: vpc: {id: vpc-12345, net: 10.0.0.0/16} and it worked when I referenced it: name: Launch instance local\_action: module: ec2 vpc\_subnet\_id: ‘{{vpc.id}}’ I want …

---

## [with\_items: groups\[\]](https://forum.ansible.com/t/with-items-groups/13503)

<div class="topic-metadata">

**Author:** [@Samuel\_Martin\_Moro](https://forum.ansible.com/u/Samuel_Martin_Moro)\
**Replies:** 8\
**Last updated:** [September 20, 2013, 1:24am UTC](https://forum.ansible.com/t/with-items-groups/13503 "2013-09-20T01:24:33Z")

</div>

Hi, Assuming ansible-1.3 from pip, python 2.7.3 from wheezy. Using something like: include: something.yml with\_items: groups\[‘all’\] I have some error about with\_items requiring a list. Meanwhile, the further works…

---

## [ansible-playbook output grep/diff friendly](https://forum.ansible.com/t/ansible-playbook-output-grep-diff-friendly/13484)

<div class="topic-metadata">

**Author:** [@Jeremy\_Schneider](https://forum.ansible.com/u/Jeremy_Schneider)\
**Replies:** 11\
**Last updated:** [September 20, 2013, 1:20am UTC](https://forum.ansible.com/t/ansible-playbook-output-grep-diff-friendly/13484 "2013-09-20T01:20:31Z")

</div>

Something I’ve been doing a lot of is parsing the output of ansible-playbook with diff or grep. Specific use cases: auto-deploy script which triggers a subversion pull on a group of hosts after ever commit to the repo,…

---

## [Ansible 1.3 Command Module: "OSError: \[Errno 24\] Too many open files"](https://forum.ansible.com/t/ansible-1-3-command-module-oserror-errno-24-too-many-open-files/13504)

<div class="topic-metadata">

**Author:** [@Matt\_Ferrante](https://forum.ansible.com/u/Matt_Ferrante)\
**Replies:** 3\
**Last updated:** [September 19, 2013, 2:51pm UTC](https://forum.ansible.com/t/ansible-1-3-command-module-oserror-errno-24-too-many-open-files/13504 "2013-09-19T14:51:30Z")

</div>

I started using Ansible 1.3.0, installed via pip, and have a found an issue that went away when I used Ansible 1.2.2 (the version I was previously using) instead. I have gone back to 1.2.2 for increased stability. I did…

---

## [sudo\_user environment](https://forum.ansible.com/t/sudo-user-environment/13502)

<div class="topic-metadata">

**Author:** [@Victor\_Castell](https://forum.ansible.com/u/Victor_Castell)\
**Replies:** 8\
**Last updated:** [September 19, 2013, 12:54pm UTC](https://forum.ansible.com/t/sudo-user-environment/13502 "2013-09-19T12:54:27Z")

</div>

Maybe a dumb question… I detected sudo\_user is not loading the target user environment using the shell module. When running it super verbose: /bin/sh -c 'sudo -k && sudo -H -S -p “\[sudo via ansible, key=wfaxytdcpsvwjt…

---

## [pre-calculation of variable in role/../vars](https://forum.ansible.com/t/pre-calculation-of-variable-in-role-vars/13501)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [September 19, 2013, 11:59am UTC](https://forum.ansible.com/t/pre-calculation-of-variable-in-role-vars/13501 "2013-09-19T11:59:27Z")

</div>

Hello, In the ‘vars’ directory of my ‘base-user’ role, I added : homedir\_prefix: “{% if user != ‘root’%}/home{% endif %}” I thought I would be able to have the correct homedir for all users this way but I can’t seem t…

---

## [SSH returned 255 == too long Control Persist paths, updates coming](https://forum.ansible.com/t/ssh-returned-255-too-long-control-persist-paths-updates-coming/13505)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 18, 2013, 10:17pm UTC](https://forum.ansible.com/t/ssh-returned-255-too-long-control-persist-paths-updates-coming/13505 "2013-09-18T22:17:21Z")

</div>

Hi all, We’ve identified that many “SSH returned 255” errors come from too long SSH control persist paths (this can happen if you have long usernames coupled with long hostnames). Not only are we making this configurab…

---

## [remote\_user](https://forum.ansible.com/t/remote-user/13500)

<div class="topic-metadata">

**Author:** [@Laurent\_CREPET1](https://forum.ansible.com/u/Laurent_CREPET1)\
**Replies:** 4\
**Last updated:** [September 18, 2013, 5:24pm UTC](https://forum.ansible.com/t/remote-user/13500 "2013-09-18T17:24:56Z")

</div>

Hi, I’m new to Ansible. I’ve started by reading: http://ansibleworks.com/docs/playbooks.html This page says: " The remote\_user parameter was formerly called just user. It was renamed in Ansible 1.4 to make it more d…

---

## [vars\_files precedence unexpected behavior](https://forum.ansible.com/t/vars-files-precedence-unexpected-behavior/13222)

<div class="topic-metadata">

**Author:** [@Victor\_Castell](https://forum.ansible.com/u/Victor_Castell)\
**Replies:** 13\
**Last updated:** [September 18, 2013, 3:02pm UTC](https://forum.ansible.com/t/vars-files-precedence-unexpected-behavior/13222 "2013-09-18T15:02:23Z")

</div>

Suposse I’m using the recommended file structure and I want to import external vars\_files at the top level: file: site.yml

---

## [Git private repo, and ssh agent forwarding](https://forum.ansible.com/t/git-private-repo-and-ssh-agent-forwarding/13449)

<div class="topic-metadata">

**Author:** [@Aaron\_Robinson](https://forum.ansible.com/u/Aaron_Robinson)\
**Replies:** 7\
**Last updated:** [September 18, 2013, 12:10pm UTC](https://forum.ansible.com/t/git-private-repo-and-ssh-agent-forwarding/13449 "2013-09-18T12:10:27Z")

</div>

This problem sounds like a very similar issues to what some others are experiencing and have been able to resolve. However, looking at those examples I do not see a clear and compete answer on the solution. I am trying …

---

## [Archive Module?](https://forum.ansible.com/t/archive-module/13498)

<div class="topic-metadata">

**Author:** [@JP\_Richardson](https://forum.ansible.com/u/JP_Richardson)\
**Replies:** 2\
**Last updated:** [September 17, 2013, 11:16pm UTC](https://forum.ansible.com/t/archive-module/13498 "2013-09-17T23:16:53Z")

</div>

So far, I’m loving Ansible! What do you think about creating an archive module? A module that could handle tarballs, zip files, and bzipped files?

---

## [digital\_ocean: any real-world examples of this working for droplet creation?](https://forum.ansible.com/t/digital-ocean-any-real-world-examples-of-this-working-for-droplet-creation/13497)

<div class="topic-metadata">

**Author:** [@John\_D](https://forum.ansible.com/u/John_D)\
**Replies:** 1\
**Last updated:** [September 17, 2013, 9:08pm UTC](https://forum.ansible.com/t/digital-ocean-any-real-world-examples-of-this-working-for-droplet-creation/13497 "2013-09-17T21:08:06Z")

</div>

I’m sure this is just me being obtuse, but I’ve never figured out how to make digital\_ocean idempotent (it will keep creating new instances) http://www.ansibleworks.com/docs/modules.html#digital-ocean Can I register a …

---

## [apt: update\_cache=yes failing in ansible 1.3](https://forum.ansible.com/t/apt-update-cache-yes-failing-in-ansible-1-3/13496)

<div class="topic-metadata">

**Author:** [@Dan\_CaJacob](https://forum.ansible.com/u/Dan_CaJacob)\
**Replies:** 5\
**Last updated:** [September 17, 2013, 8:34pm UTC](https://forum.ansible.com/t/apt-update-cache-yes-failing-in-ansible-1-3/13496 "2013-09-17T20:34:17Z")

</div>

I am getting a new error in 1.3 when running apt: update\_cache=yes: yields msg: Failed to lock apt for exclusive operation But, I can run sudo apt-get update on the node just fine and this worked before the upgrade t…

---

## [looking for best practice for alternate user git clone of a private repo](https://forum.ansible.com/t/looking-for-best-practice-for-alternate-user-git-clone-of-a-private-repo/13494)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [September 17, 2013, 7:26pm UTC](https://forum.ansible.com/t/looking-for-best-practice-for-alternate-user-git-clone-of-a-private-repo/13494 "2013-09-17T19:26:52Z")

</div>

Hello, my question is half-ansible, half-sysop so I hope it is ok on the list. my ‘ansibler’ user needs to git clone a repo on behalf of user ‘app’. ‘ansibler’ is the only user having ssh access to the machine. the g…

---

## [Ansible 1.3 and AWX 1.3 Released!](https://forum.ansible.com/t/ansible-1-3-and-awx-1-3-released/13471)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 19\
**Last updated:** [September 17, 2013, 5:20pm UTC](https://forum.ansible.com/t/ansible-1-3-and-awx-1-3-released/13471 "2013-09-17T17:20:19Z")

</div>

Hi everyone, I’m very happy to announce that we’ve just released Ansible 1.3 (“Top of the World”) and AWX 1.3! You can read the full announcement on our blog here: http://blog.ansibleworks.com/2013/09/13/ansible-1-3-a…

---

## [ec2\_vol module return value](https://forum.ansible.com/t/ec2-vol-module-return-value/13495)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 2\
**Last updated:** [September 17, 2013, 3:47pm UTC](https://forum.ansible.com/t/ec2-vol-module-return-value/13495 "2013-09-17T15:47:47Z")

</div>

Hi, I want to register the return value of ec2\_vol module so that I can retrieve the volume id and use it later. My playbook is - name: Add volume local\_action: ec2\_vol instance={{item.id}} volume\_size=5 aws\_access…

---

## [No Module to support Elastic ip Addresses Feature](https://forum.ansible.com/t/no-module-to-support-elastic-ip-addresses-feature/13492)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 1\
**Last updated:** [September 17, 2013, 12:04pm UTC](https://forum.ansible.com/t/no-module-to-support-elastic-ip-addresses-feature/13492 "2013-09-17T12:04:41Z")

</div>

Hi, The official documentation of ansible does not have a separate module to create and attach elastic IP addresses. But I found a thread on github issues of adding ‘ec2\_eip’ module to core library to support elastic ip…

---

## [pass profile instead of access key and secret key as parameter](https://forum.ansible.com/t/pass-profile-instead-of-access-key-and-secret-key-as-parameter/13493)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 10:23am UTC](https://forum.ansible.com/t/pass-profile-instead-of-access-key-and-secret-key-as-parameter/13493 "2013-09-17T10:23:38Z")

</div>

Hi, I have used AWS CLI with --profile option to manage instances w.r.t different users. My config file is as shown below. \[default\] aws\_access\_key\_id=xxxx aws\_secret\_access\_key=xxxx \[profile Test\] aws\_access\_key\_i…

---

## [passing aws\_secret\_key and aws\_access\_key as parameters in playbook task fails](https://forum.ansible.com/t/passing-aws-secret-key-and-aws-access-key-as-parameters-in-playbook-task-fails/13485)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 4\
**Last updated:** [September 17, 2013, 7:20am UTC](https://forum.ansible.com/t/passing-aws-secret-key-and-aws-access-key-as-parameters-in-playbook-task-fails/13485 "2013-09-17T07:20:42Z")

</div>

Hi, I have a playbook which spins/deletes servers, adds volumes to previously created instances etc. I have exported my aws\_access\_key and aws\_secret\_key as environment variables. But when I try to pass them via paramet…

---

## [Grouping EC2 inventory by DNS](https://forum.ansible.com/t/grouping-ec2-inventory-by-dns/13491)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 2:31am UTC](https://forum.ansible.com/t/grouping-ec2-inventory-by-dns/13491 "2013-09-17T02:31:11Z")

</div>

Hello all. Currently the (quite useful) EC2 inventory plugin provides grouping for AWS instances based off of each instance’s individual attributes, such as tags, the region where the instance is located, etc. But one…

---

## [Access to the job id variable from running tasks?](https://forum.ansible.com/t/access-to-the-job-id-variable-from-running-tasks/13488)

<div class="topic-metadata">

**Author:** [@Ryan\_Mitchell](https://forum.ansible.com/u/Ryan_Mitchell)\
**Replies:** 2\
**Last updated:** [September 16, 2013, 10:06pm UTC](https://forum.ansible.com/t/access-to-the-job-id-variable-from-running-tasks/13488 "2013-09-16T22:06:00Z")

</div>

I’m working on a play where I use the template module to put a shell script on the remote filesystem and then run that script. However, it’s inherently single-threaded because a) it’s a delegated task to a single databas…

---

## [roles and "script:" module.](https://forum.ansible.com/t/roles-and-script-module/13489)

<div class="topic-metadata">

**Author:** [@Kashyap\_Bhatt](https://forum.ansible.com/u/Kashyap_Bhatt)\
**Replies:** 1\
**Last updated:** [September 16, 2013, 9:28pm UTC](https://forum.ansible.com/t/roles-and-script-module/13489 "2013-09-16T21:28:34Z")

</div>

Hi, According to this documentation of Roles feature “Any script tasks can reference scripts in roles/x/files/ without having to path them relatively or absolutely” But this seems to be true only for tasks belonging t…

---

## [Lineup for AnsibleFest posted (October 22nd, downtown San Francisco)](https://forum.ansible.com/t/lineup-for-ansiblefest-posted-october-22nd-downtown-san-francisco/13490)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 9:27pm UTC](https://forum.ansible.com/t/lineup-for-ansiblefest-posted-october-22nd-downtown-san-francisco/13490 "2013-09-16T21:27:05Z")

</div>

Hi everyone, Just wanted to share that the speaker lineup for AnsibleFest in San Francisco is now posted: http://www.ansibleworks.com/fest/ We have a lot of great talks lined up and looking forward to meeting many mor…

---

## [with\_items collapses lists](https://forum.ansible.com/t/with-items-collapses-lists/13487)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 4\
**Last updated:** [September 16, 2013, 9:21pm UTC](https://forum.ansible.com/t/with-items-collapses-lists/13487 "2013-09-16T21:21:47Z")

</div>

Running HEAD as of several minutes ago: - hosts: foo tasks: - debug: msg={{item}} with\_items: - \[foo, hey\] - \[doo, noway\] Prints: ok: \[foo\] =\> (item=foo) =\> …

---

## [Local action in playbook tree](https://forum.ansible.com/t/local-action-in-playbook-tree/13462)

<div class="topic-metadata">

**Author:** [@Jens\_Hoffrichter](https://forum.ansible.com/u/Jens_Hoffrichter)\
**Replies:** 14\
**Last updated:** [September 16, 2013, 3:51pm UTC](https://forum.ansible.com/t/local-action-in-playbook-tree/13462 "2013-09-16T15:51:00Z")

</div>

Hello all, Since yesterday, I am struggling with a problem where I can’t find a real solution at the moment. As stated a week back, I am currently in the process of configuring a bunch of postfix mail servers with ansi…

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

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