# Latest

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

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

**Page:** 857

---

## [Playbook directory organisation](https://forum.ansible.com/t/playbook-directory-organisation/18603)

<div class="topic-metadata">

**Author:** [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Replies:** 10\
**Last updated:** [June 30, 2015, 2:41pm UTC](https://forum.ansible.com/t/playbook-directory-organisation/18603 "2015-06-30T14:41:07Z")

</div>

Hi, This has probably been covered before but I can’t find any solutions. My project pulls in roles from other projects via Maven. This means that we can have company wide roles reused. This all works fine, all the ro…

---

## [Need for aptitude to perform apt upgrades?](https://forum.ansible.com/t/need-for-aptitude-to-perform-apt-upgrades/18602)

<div class="topic-metadata">

**Author:** [@Phyks](https://forum.ansible.com/u/Phyks)\
**Replies:** 3\
**Last updated:** [June 30, 2015, 12:03pm UTC](https://forum.ansible.com/t/need-for-aptitude-to-perform-apt-upgrades/18602 "2015-06-30T12:03:12Z")

</div>

Hi, It seems that aptitude is needed by the apt module to handle apt upgrades. Is there any way to cut this dependency? Thanks

---

## [uri\_module - json post](https://forum.ansible.com/t/uri-module-json-post/18567)

<div class="topic-metadata">

**Author:** [@Darvin\_Denmian](https://forum.ansible.com/u/Darvin_Denmian)\
**Replies:** 5\
**Last updated:** [June 30, 2015, 4:30am UTC](https://forum.ansible.com/t/uri-module-json-post/18567 "2015-06-30T04:30:01Z")

</div>

Hi guys, this is the first time I ever use the “uri\_module” and I’m facing a problem that I just can’t solve… here it is name: Sending Stash to Sensu - {{ item }} uri: url=http://10.0.0.8:4567/stashes method=POST …

---

## [environment variables for a role](https://forum.ansible.com/t/environment-variables-for-a-role/18627)

<div class="topic-metadata">

**Author:** [@Majid\_al-Dosari](https://forum.ansible.com/u/Majid_al-Dosari)\
**Replies:** 3\
**Last updated:** [June 30, 2015, 4:28am UTC](https://forum.ansible.com/t/environment-variables-for-a-role/18627 "2015-06-30T04:28:21Z")

</div>

http://docs.ansible.com/faq.html#how-can-i-set-the-path-or-any-other-environment-variable-for-a-task-or-entire-playbook i get this. ^^ …but how do i set environment variables for a role? i want it associated with a role…

---

## [lookup\_plugins config does not seem to work](https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 1\
**Last updated:** [June 30, 2015, 1:57am UTC](https://forum.ansible.com/t/lookup-plugins-config-does-not-seem-to-work/18635 "2015-06-30T01:57:00Z")

</div>

I have been using filter plugins with the ansible.cfg setting: \` filter\_plugins = plugins/filter\_plugins \` This is and has been working great. But now when I add: \` lookup\_plugins = plugins/lookup\_plugins \` No lo…

---

## [ansible does not recognize parameter "stat"](https://forum.ansible.com/t/ansible-does-not-recognize-parameter-stat/18633)

<div class="topic-metadata">

**Author:** [@Guohua\_Ouyang1](https://forum.ansible.com/u/Guohua_Ouyang1)\
**Replies:** 1\
**Last updated:** [June 30, 2015, 12:01am UTC](https://forum.ansible.com/t/ansible-does-not-recognize-parameter-stat/18633 "2015-06-30T00:01:14Z")

</div>

Hello, I meet an odd issue is that ansible does not recognize parameter “stat” on one of my hosts, but it work on another host. Checked that /usr/lib/python2.7/site-packages/ansible/modules/core/files/stat.py is existe…

---

## [\[feature request\] module assemble](https://forum.ansible.com/t/feature-request-module-assemble/18572)

<div class="topic-metadata">

**Author:** [@wojtas](https://forum.ansible.com/u/wojtas)\
**Replies:** 5\
**Last updated:** [June 29, 2015, 9:32pm UTC](https://forum.ansible.com/t/feature-request-module-assemble/18572 "2015-06-29T21:32:09Z")

</div>

Hi, Is there any possibility to add now feature to assemble? I would like have smt like mix of subversion and assemble. Config files are kept in SVN and make from one folder a single file. playbook can look like that …

---

## [Ansible playbook to install Ansible Roles for new Ansible Installs](https://forum.ansible.com/t/ansible-playbook-to-install-ansible-roles-for-new-ansible-installs/18638)

<div class="topic-metadata">

**Author:** [@Phill\_Pafford](https://forum.ansible.com/u/Phill_Pafford)\
**Replies:** 2\
**Last updated:** [June 29, 2015, 8:53pm UTC](https://forum.ansible.com/t/ansible-playbook-to-install-ansible-roles-for-new-ansible-installs/18638 "2015-06-29T20:53:22Z")

</div>

I’d like to automate Developers Laptops with the correct roles using Ansible to install the Roles. Example: I have 25 Roles, some internal and some external, is there a Role to install Roles?

---

## [\[Feature Request\] Galaxy Role Statistics](https://forum.ansible.com/t/feature-request-galaxy-role-statistics/18626)

<div class="topic-metadata">

**Author:** [@Phill\_Pafford](https://forum.ansible.com/u/Phill_Pafford)\
**Replies:** 2\
**Last updated:** [June 29, 2015, 8:36pm UTC](https://forum.ansible.com/t/feature-request-galaxy-role-statistics/18626 "2015-06-29T20:36:27Z")

</div>

How does one request a Feature Request for the Galaxy site? I’d like some additional information on Role Statistics Download count Last Updated Date/Actively Maintained Also better search capabilities would be nice, …

---

## [aws s3 module - multi part files](https://forum.ansible.com/t/aws-s3-module-multi-part-files/18077)

<div class="topic-metadata">

**Author:** [@Andrew\_Craft](https://forum.ansible.com/u/Andrew_Craft)\
**Replies:** 2\
**Last updated:** [June 29, 2015, 6:11pm UTC](https://forum.ansible.com/t/aws-s3-module-multi-part-files/18077 "2015-06-29T18:11:28Z")

</div>

As discussed previously in the past on the list, the current AWS S3 module doesn’t work with files upload as multi-part (done automatically for example when using the awsCLI tools to sync a folder) https://github.com/an…

---

## [Postgres - grant role to user](https://forum.ansible.com/t/postgres-grant-role-to-user/18628)

<div class="topic-metadata">

**Author:** [@Ian\_Levesque](https://forum.ansible.com/u/Ian_Levesque)\
**Replies:** 1\
**Last updated:** [June 29, 2015, 3:18pm UTC](https://forum.ansible.com/t/postgres-grant-role-to-user/18628 "2015-06-29T15:18:33Z")

</div>

Hi, I’m trying to figure out if/how I can use the postgresql\_user module to grant a role to a user. I thought I may be able to specify the role via role\_attr\_flags but that doesn’t work for granting a custom role. Doe…

---

## [Applications version dependencies over multiple hosts](https://forum.ansible.com/t/applications-version-dependencies-over-multiple-hosts/18634)

<div class="topic-metadata">

**Author:** [@Christian\_Strassle](https://forum.ansible.com/u/Christian_Strassle)\
**Replies:** 0\
**Last updated:** [June 29, 2015, 2:09pm UTC](https://forum.ansible.com/t/applications-version-dependencies-over-multiple-hosts/18634 "2015-06-29T14:09:26Z")

</div>

Hi all, I would like to have something like application dependencies over multiple hosts. For example: Application-Y version 5 on frontend needs at least Application-Z version 3 on backend installed. Is this doable …

---

## [AWS s3 module and IAM-role-based access control](https://forum.ansible.com/t/aws-s3-module-and-iam-role-based-access-control/17383)

<div class="topic-metadata">

**Author:** [@Markus\_Klems](https://forum.ansible.com/u/Markus_Klems)\
**Replies:** 1\
**Last updated:** [June 29, 2015, 6:33am UTC](https://forum.ansible.com/t/aws-s3-module-and-iam-role-based-access-control/17383 "2015-06-29T06:33:56Z")

</div>

Hi, it seems like the s3 module (http://docs.ansible.com/s3\_module.html) does not support a “security\_token” parameter (like the ec2 module http://docs.ansible.com/ec2\_module.html). This would be desirable, for example,…

---

## [Ansible playbooks collection](https://forum.ansible.com/t/ansible-playbooks-collection/18631)

<div class="topic-metadata">

**Author:** [@Adithya\_Khamithkar](https://forum.ansible.com/u/Adithya_Khamithkar)\
**Replies:** 0\
**Last updated:** [June 29, 2015, 1:32am UTC](https://forum.ansible.com/t/ansible-playbooks-collection/18631 "2015-06-29T01:32:08Z")

</div>

Hey Guys, I have put together some ansible playbooks would like your feedback and help in optimizing, use of best practices. I have a repo where I have pushed every thing. https://github.com/adithyakhamithkar/ansible …

---

## [Skip empty lookup results in template](https://forum.ansible.com/t/skip-empty-lookup-results-in-template/18629)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev](https://forum.ansible.com/u/Anand_Buddhdev)\
**Replies:** 5\
**Last updated:** [June 29, 2015, 12:16am UTC](https://forum.ansible.com/t/skip-empty-lookup-results-in-template/18629 "2015-06-29T00:16:35Z")

</div>

Hi folk, I have a BIND template in which I want to insert the result of the new “dig” lookup, like this: masters blah { {% for host in hosts %} {{ lookup(‘dig’,h }} port P key K; {{ lookup(‘dig’,h+‘/aaaa’) }} port P…

---

## [Ansible 1.9.2 has been released](https://forum.ansible.com/t/ansible-1-9-2-has-been-released/18612)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [June 28, 2015, 2:35pm UTC](https://forum.ansible.com/t/ansible-1-9-2-has-been-released/18612 "2015-06-28T14:35:13Z")

</div>

Hi all, Ansible 1.9.2 final has been released and is now available. Ansible 1.9.2 addresses two security bugs, so we recommend users update as soon as possible: Security fixes to check that hostnames match certificate…

---

## [ec2 Dynamic inventory and hostname](https://forum.ansible.com/t/ec2-dynamic-inventory-and-hostname/15526)

<div class="topic-metadata">

**Author:** [@Hernandes\_Sousa](https://forum.ansible.com/u/Hernandes_Sousa)\
**Replies:** 2\
**Last updated:** [June 28, 2015, 7:58am UTC](https://forum.ansible.com/t/ec2-dynamic-inventory-and-hostname/15526 "2015-06-28T07:58:26Z")

</div>

Hi, I wanted to use the machine hostnames with ec2.py, which I was able to by customizing the script to return the Name tag for the hostname instead of the public or private dns name, however, that requires an extra ste…

---

## [Recurring tasks](https://forum.ansible.com/t/recurring-tasks/18623)

<div class="topic-metadata">

**Author:** [@Darvin\_Denmian](https://forum.ansible.com/u/Darvin_Denmian)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 6:31pm UTC](https://forum.ansible.com/t/recurring-tasks/18623 "2015-06-26T18:31:56Z")

</div>

Hi ! I need a suggestion from you to solve a problem I’m facing, here it is… The problem: I have a ElasticSearch cluster composed of 6 nodes. During the non work hours I would like to substitute 4 of those 6 ec2 insta…

---

## [Anyone using F5 GTM Pools?](https://forum.ansible.com/t/anyone-using-f5-gtm-pools/18622)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 6:04pm UTC](https://forum.ansible.com/t/anyone-using-f5-gtm-pools/18622 "2015-06-26T18:04:57Z")

</div>

We've got a module we'd love your help reviewing: https://github.com/ansible/ansible-modules-extras/pull/554 Feel free to take it for a spin and leave feedback in the pull request. Thanks! --g

---

## [Skip task if variable isn't set?](https://forum.ansible.com/t/skip-task-if-variable-isnt-set/18621)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 3\
**Last updated:** [June 26, 2015, 5:23pm UTC](https://forum.ansible.com/t/skip-task-if-variable-isnt-set/18621 "2015-06-26T17:23:55Z")

</div>

I have a task that installs PHP and Perl modules against a group of servers. Servers w/ the word “batch” in their hostname run both Perl and PHP tasks (remove Perl tasks for simplicity). It seems the “Set PHP status succ…

---

## [copy fails silently on remote  host on small $HOME/.ansible/tmp](https://forum.ansible.com/t/copy-fails-silently-on-remote-host-on-small-home-ansible-tmp/18599)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 4:34pm UTC](https://forum.ansible.com/t/copy-fails-silently-on-remote-host-on-small-home-ansible-tmp/18599 "2015-06-26T16:34:30Z")

</div>

Hi, we are using Ansible 1.8.2, and we stumbled upon a problem after copying and unarchiving a (large) file: \` failed: \[myhost.com\] =\> {“failed”: true} msg: Failed to find handler to unarchive. Make sure the required…

---

## [Is the "all" group not at the same level as groups?](https://forum.ansible.com/t/is-the-all-group-not-at-the-same-level-as-groups/18610)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 2\
**Last updated:** [June 26, 2015, 4:25pm UTC](https://forum.ansible.com/t/is-the-all-group-not-at-the-same-level-as-groups/18610 "2015-06-26T16:25:14Z")

</div>

Ansible docs say: \* extra vars (-e in the command line) always win \* then comes connection variables defined in inventory (ansible\_ssh\_user, etc) \* then comes "most everything else" (command line switches, vars in play,…

---

## [Yum module using nested variables](https://forum.ansible.com/t/yum-module-using-nested-variables/18595)

<div class="topic-metadata">

**Author:** [@Arie\_Bregman](https://forum.ansible.com/u/Arie_Bregman)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 4:22pm UTC](https://forum.ansible.com/t/yum-module-using-nested-variables/18595 "2015-06-26T16:22:07Z")

</div>

Hi everyone, I have this task:

---

## [Parallel execution of local actions with multiple items](https://forum.ansible.com/t/parallel-execution-of-local-actions-with-multiple-items/18613)

<div class="topic-metadata">

**Author:** [@Baraa\_Basata](https://forum.ansible.com/u/Baraa_Basata)\
**Replies:** 2\
**Last updated:** [June 26, 2015, 3:44pm UTC](https://forum.ansible.com/t/parallel-execution-of-local-actions-with-multiple-items/18613 "2015-06-26T15:44:34Z")

</div>

Given a need to launch multiple cloud resources via local action, such as the below, is there a way to parallelize the execution of the task? I think I’m looking for something like --forks \<n\>, except this is different …

---

## [Error in 1.9.2](https://forum.ansible.com/t/error-in-1-9-2/18618)

<div class="topic-metadata">

**Author:** [@knacktus](https://forum.ansible.com/u/knacktus)\
**Replies:** 3\
**Last updated:** [June 26, 2015, 2:30pm UTC](https://forum.ansible.com/t/error-in-1-9-2/18618 "2015-06-26T14:30:47Z")

</div>

I’ve just installed the latest version from pipy, which to my excitement is 1.9.2 :slight\_smile: Unfortunately I get \` ERROR: file is not a legal parameter in an Ansible task or handler \` Any help is highly apprecia…

---

## [apt fails with root privileges](https://forum.ansible.com/t/apt-fails-with-root-privileges/18586)

<div class="topic-metadata">

**Author:** [@hamzeh\_alsalhi](https://forum.ansible.com/u/hamzeh_alsalhi)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 1:50pm UTC](https://forum.ansible.com/t/apt-fails-with-root-privileges/18586 "2015-06-26T13:50:30Z")

</div>

When I try to run the command: \` name: update apt-get apt: update\_cache=yes \` I get: \` msg: Failed to lock apt for exclusive operation \` Even though my users are configured \`

---

## [force ansible to show diffs always](https://forum.ansible.com/t/force-ansible-to-show-diffs-always/18619)

<div class="topic-metadata">

**Author:** [@user66](https://forum.ansible.com/u/user66)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 1:12pm UTC](https://forum.ansible.com/t/force-ansible-to-show-diffs-always/18619 "2015-06-26T13:12:25Z")

</div>

Good day! Is there any method to force ansible to show diffs always? I’m looking for config options in ansible.cfg Could not find such an option in docs.

---

## [jinja2 filters for state 'present'/'absent'](https://forum.ansible.com/t/jinja2-filters-for-state-present-absent/18620)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 2\
**Last updated:** [June 26, 2015, 12:20pm UTC](https://forum.ansible.com/t/jinja2-filters-for-state-present-absent/18620 "2015-06-26T12:20:40Z")

</div>

Every once in a while I have a situation in roles where I would like to set the state of a module to ‘present’ or ‘absent’ depending if a variable is empty or not. For example if I want to set a cron with a cron module I…

---

## [Vagrant and Private Repositories](https://forum.ansible.com/t/vagrant-and-private-repositories/18579)

<div class="topic-metadata">

**Author:** [@Phill\_Pafford](https://forum.ansible.com/u/Phill_Pafford)\
**Replies:** 2\
**Last updated:** [June 26, 2015, 7:47am UTC](https://forum.ansible.com/t/vagrant-and-private-repositories/18579 "2015-06-26T07:47:02Z")

</div>

I’ve read a couple posts like this one http://vicendominguez.blogspot.com/2014/05/ansible-generating-pub-key-file-and.html#comment-form But still no luck, but I wanted to know if I’m going about this the right or wron…

---

## [Single playbook for docker and ec2](https://forum.ansible.com/t/single-playbook-for-docker-and-ec2/18617)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 4:32am UTC](https://forum.ansible.com/t/single-playbook-for-docker-and-ec2/18617 "2015-06-26T04:32:27Z")

</div>

yes, check the facts, there are several that indicate the virtualization type.

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

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