# Latest

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

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

**Page:** 1023

---

## [S3 problem ( ImportError: No module named hashlib )](https://forum.ansible.com/t/s3-problem-importerror-no-module-named-hashlib/13507)

<div class="topic-metadata">

**Author:** [@Steven\_Goodliff](https://forum.ansible.com/u/Steven_Goodliff)\
**Replies:** 9\
**Last updated:** [September 25, 2013, 2:51pm UTC](https://forum.ansible.com/t/s3-problem-importerror-no-module-named-hashlib/13507 "2013-09-25T14:51:46Z")

</div>

Hi, I’m running ansible 1.3 from git on RHEL5 and is all working great, I’m trying to get the s3 module up and running for some log archiving but when i try something like tasks: name: GET OBJECT from S3 local\_actio…

---

## [Create softlink without source file present](https://forum.ansible.com/t/create-softlink-without-source-file-present/13538)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 12:25pm UTC](https://forum.ansible.com/t/create-softlink-without-source-file-present/13538 "2013-09-25T12:25:51Z")

</div>

Hi, Currently, to create softlink, this is what I do: action: file src=${gSrcSoftlink} dest=${gDestLocation} state=link This works well if the source file is physically present on the client. However, if the source fi…

---

## [Problems with global scoping & lazy template evaluation in playbooks & roles/includes](https://forum.ansible.com/t/problems-with-global-scoping-lazy-template-evaluation-in-playbooks-roles-includes/13545)

<div class="topic-metadata">

**Author:** [@Thomas\_Omans](https://forum.ansible.com/u/Thomas_Omans)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 3:23am UTC](https://forum.ansible.com/t/problems-with-global-scoping-lazy-template-evaluation-in-playbooks-roles-includes/13545 "2013-09-25T03:23:39Z")

</div>

Hello Ansible Users & Devs, I’m writing because I’ve found some strange behavior when trying to build abstractions out of roles (roles that include more generic roles in specific, configurable ways). I intend to use ro…

---

## [Ansible community survey --- need your help! Yes you! Right there, with the computer!](https://forum.ansible.com/t/ansible-community-survey-need-your-help-yes-you-right-there-with-the-computer/13546)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 25, 2013, 3:03am UTC](https://forum.ansible.com/t/ansible-community-survey-need-your-help-yes-you-right-there-with-the-computer/13546 "2013-09-25T03:03:59Z")

</div>

Hi everyone! So I think it’s no secret I like surveys, but it’s been a while since we’ve done this and we’ve grown a lot larger since. There are a lot of questions we’d like to know about how we are doing and who are us…

---

## [Get IP address facts after configuring DHCP](https://forum.ansible.com/t/get-ip-address-facts-after-configuring-dhcp/13544)

<div class="topic-metadata">

**Author:** [@Kent\_R\_Spillner](https://forum.ansible.com/u/Kent_R_Spillner)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 12:47am UTC](https://forum.ansible.com/t/get-ip-address-facts-after-configuring-dhcp/13544 "2013-09-25T00:47:20Z")

</div>

Does anyone have a good method of getting the IP address leased to an interface in the middle of a play? I have some RHEL 6 servers that use DHCP. I want to configure source-based routing on each so I need to know the …

---

## [organizing groups of ansible projects](https://forum.ansible.com/t/organizing-groups-of-ansible-projects/13543)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 12:46am UTC](https://forum.ansible.com/t/organizing-groups-of-ansible-projects/13543 "2013-09-25T00:46:21Z")

</div>

If you are using ansible to deploy many technologies, each with its own github repo, what is the preferred way to combine projects? ProjectA/ hosts playbooks roles ProjectB hosts playbooks roles Merge? MetaProj…

---

## [strange issue with shell or command modules never returning](https://forum.ansible.com/t/strange-issue-with-shell-or-command-modules-never-returning/11630)

<div class="topic-metadata">

**Author:** [@Jonathan1](https://forum.ansible.com/u/Jonathan1)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 12:38am UTC](https://forum.ansible.com/t/strange-issue-with-shell-or-command-modules-never-returning/11630 "2013-09-25T00:38:14Z")

</div>

Hi everyone, I am stumped on an issue trying to run a command (/sbin/service jetty start) via any combination of ansible command line, playbook with either the shell or command modules and ansible never exiting. If I as…

---

## [passing data to roles via parameters without accidentally flattening it](https://forum.ansible.com/t/passing-data-to-roles-via-parameters-without-accidentally-flattening-it/13423)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 21\
**Last updated:** [September 25, 2013, 12:26am UTC](https://forum.ansible.com/t/passing-data-to-roles-via-parameters-without-accidentally-flattening-it/13423 "2013-09-25T00:26:54Z")

</div>

Hello, I’ve been having some problems passing parameters to roles. Essentially the data in my parameter is getting flattened into a string using {{}} interpolation, but not with ${} interpolation. Is there a recommended…

---

## [mysql\_user module - adding users if they don't exist.](https://forum.ansible.com/t/mysql-user-module-adding-users-if-they-dont-exist/13541)

<div class="topic-metadata">

**Author:** [@Michael\_Bogucki](https://forum.ansible.com/u/Michael_Bogucki)\
**Replies:** 2\
**Last updated:** [September 25, 2013, 12:25am UTC](https://forum.ansible.com/t/mysql-user-module-adding-users-if-they-dont-exist/13541 "2013-09-25T00:25:45Z")

</div>

Hello Everyone, I’ve been working on a simple playbook to add multiple-users to a mysql-database using the mysql\_user module. One thing I’ve discovered is that every time I rerun the playbook, it’ll reset the password,…

---

## [Zypper module repo](https://forum.ansible.com/t/zypper-module-repo/13532)

<div class="topic-metadata">

**Author:** [@Andrii\_Radyk](https://forum.ansible.com/u/Andrii_Radyk)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 3:47pm UTC](https://forum.ansible.com/t/zypper-module-repo/13532 "2013-09-24T15:47:42Z")

</div>

Hi All, Could you please point me to the place where zypper module repo is located? I want to extended the functionality and contribute the code to the project.

---

## [role|name of task bug with includes](https://forum.ansible.com/t/role-name-of-task-bug-with-includes/13518)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 15\
**Last updated:** [September 24, 2013, 1:36pm UTC](https://forum.ansible.com/t/role-name-of-task-bug-with-includes/13518 "2013-09-24T13:36:37Z")

</div>

I re-post beneath the exchange with James Cammarata on ansible-project. James, your patch if os.path.isfile(handler): nt = dict(include=pipes.quote(handler), vars=role\_vars, role\_name=role\[‘role’\]) nt = dict(includ…

---

## [How does merging hashes work?](https://forum.ansible.com/t/how-does-merging-hashes-work/13535)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 3\
**Last updated:** [September 23, 2013, 11:00pm UTC](https://forum.ansible.com/t/how-does-merging-hashes-work/13535 "2013-09-23T23:00:09Z")

</div>

How does merging hashes work? I’ve set “hash\_behaviour=merge” in my ansible.cfg file. So my hashes should merge. But they don’t. Or at least, not in a way that makes sense to me. Here’s pretty much what I have: file: g…

---

## [Ansible managed in file copy](https://forum.ansible.com/t/ansible-managed-in-file-copy/13510)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 5\
**Last updated:** [September 23, 2013, 7:43pm UTC](https://forum.ansible.com/t/ansible-managed-in-file-copy/13510 "2013-09-23T19:43:38Z")

</div>

Hi, I don’t think this is possible, but it would be nice if it was. Is it possible to use the {{ ansible\_managed }} with a regular file (no template)? Sometimes you don’t need a template because the content is static,…

---

## [delegate\_to and notify handler to run once](https://forum.ansible.com/t/delegate-to-and-notify-handler-to-run-once/13533)

<div class="topic-metadata">

**Author:** [@Tom\_Hawley](https://forum.ansible.com/u/Tom_Hawley)\
**Replies:** 5\
**Last updated:** [September 23, 2013, 6:10pm UTC](https://forum.ansible.com/t/delegate-to-and-notify-handler-to-run-once/13533 "2013-09-23T18:10:42Z")

</div>

Hello, I use ansible to configure several servers and use “delegate\_to” to write out their nagios configs on the nagios server. If the config is changed a notify handler is fired like below:

---

## [help w/ add\_host](https://forum.ansible.com/t/help-w-add-host/13531)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 1\
**Last updated:** [September 23, 2013, 11:44am UTC](https://forum.ansible.com/t/help-w-add-host/13531 "2013-09-23T11:44:52Z")

</div>

In trying to wrangle my inventory to be more dynamic, I’ve come to find group\_by and add\_hosts. group\_by seems to work well, but I’m having trouble understanding why add\_host seems to only add a single host to a new grou…

---

## [clarification of variables in selecting targets](https://forum.ansible.com/t/clarification-of-variables-in-selecting-targets/13530)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 3\
**Last updated:** [September 23, 2013, 11:41am UTC](https://forum.ansible.com/t/clarification-of-variables-in-selecting-targets/13530 "2013-09-23T11:41:52Z")

</div>

http://www.ansibleworks.com/docs/patterns.html#selecting-targets says: webservers:!{{excluded}}:&{{required}} what check is being done? will any host or group with the excluded variable specified or otherwise defined b…

---

## [Dependency related issue](https://forum.ansible.com/t/dependency-related-issue/13529)

<div class="topic-metadata">

**Author:** [@Arnon\_Marcus](https://forum.ansible.com/u/Arnon_Marcus)\
**Replies:** 3\
**Last updated:** [September 23, 2013, 11:40am UTC](https://forum.ansible.com/t/dependency-related-issue/13529 "2013-09-23T11:40:45Z")

</div>

I have 2 roles: longstash and elasticsearch. The logstash role is dependant on elasticsearch. In each role, all tasks are flagged with the name of the role. In addition, in elasticsearch role I have tasks that open po…

---

## [ec2 module how to differ servers in the same launch](https://forum.ansible.com/t/ec2-module-how-to-differ-servers-in-the-same-launch/13486)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 6\
**Last updated:** [September 23, 2013, 11:16am UTC](https://forum.ansible.com/t/ec2-module-how-to-differ-servers-in-the-same-launch/13486 "2013-09-23T11:16:24Z")

</div>

Hi all, Following the example in The Manifesto for Agentic Automation I have the bellow playbook : ec2-example.yml : “”" Launch instances, runs some tasks - name: Define mysql launch hosts: localhost gather\_facts: Fa…

---

## [10 well paid jobs of the future By Jessica Winch paidjobs.eu](https://forum.ansible.com/t/10-well-paid-jobs-of-the-future-by-jessica-winch-paidjobs-eu/13527)

<div class="topic-metadata">

**Author:** [@Joel\_Rebello](https://forum.ansible.com/u/Joel_Rebello)\
**Replies:** 0\
**Last updated:** [September 22, 2013, 5:56pm UTC](https://forum.ansible.com/t/10-well-paid-jobs-of-the-future-by-jessica-winch-paidjobs-eu/13527 "2013-09-22T17:56:43Z")

</div>

10 well paid jobs of the future paidjobs.eu By Jessica Winch 9:34AM GMT 23 Sept 2013 Grandparents and parents are being advised to radically update the careers advice they give to children on the jobs that will earn…

---

## [mysql\_user module with nested loops](https://forum.ansible.com/t/mysql-user-module-with-nested-loops/13522)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 4\
**Last updated:** [September 22, 2013, 5:52pm UTC](https://forum.ansible.com/t/mysql-user-module-with-nested-loops/13522 "2013-09-22T17:52:35Z")

</div>

Hi I am trying to add multiple users with mysql\_user module: name: Create local DB users and set permissions action: mysql\_user login\_user=root login\_password=xxxxxxx name={{ item\[0\] }} password={{ item\[1\] }} priv=.:…

---

## [Weekly recap](https://forum.ansible.com/t/weekly-recap/13525)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 0\
**Last updated:** [September 22, 2013, 4:21pm UTC](https://forum.ansible.com/t/weekly-recap/13525 "2013-09-22T16:21:30Z")

</div>

Hi all, just wanted to give a quick run-down of the changes we’ve implemented this week. As you may have noticed, we did two small point releases this week to address small bugs found in 1.3, so the official version of …

---

## [Limitations of the file module](https://forum.ansible.com/t/limitations-of-the-file-module/13465)

<div class="topic-metadata">

**Author:** [@Nils\_Pascal\_Illensee](https://forum.ansible.com/u/Nils_Pascal_Illensee)\
**Replies:** 7\
**Last updated:** [September 22, 2013, 2:22pm UTC](https://forum.ansible.com/t/limitations-of-the-file-module/13465 "2013-09-22T14:22:11Z")

</div>

Hi, right now the file module does not create files, if they do not exist. But in contrast to that it creates directories, if they do not exist. I personally think this is inconsistent. And there are good reasons to cr…

---

## [The following settings don't exist: inventory\_file](https://forum.ansible.com/t/the-following-settings-dont-exist-inventory-file/13523)

<div class="topic-metadata">

**Author:** [@dirtybob464](https://forum.ansible.com/u/dirtybob464)\
**Replies:** 6\
**Last updated:** [September 22, 2013, 12:48am UTC](https://forum.ansible.com/t/the-following-settings-dont-exist-inventory-file/13523 "2013-09-22T00:48:34Z")

</div>

I’ve pulled down a git repo and ran vagrant up but I’m getting this error message The following settings don’t exist: inventory\_file I’ve installed virtual box and vagrant and ansible for osx mountain lion. But I can’…

---

## [distributing files via several repos to balance load](https://forum.ansible.com/t/distributing-files-via-several-repos-to-balance-load/13514)

<div class="topic-metadata">

**Author:** [@Walid](https://forum.ansible.com/u/Walid)\
**Replies:** 10\
**Last updated:** [September 21, 2013, 3:32pm UTC](https://forum.ansible.com/t/distributing-files-via-several-repos-to-balance-load/13514 "2013-09-21T15:32:39Z")

</div>

Dear All, I was going through Will Thames Ansible examples to Brisbane devops day and I notice the configuration file copy, or file transfer pattern below: - name: download java action: get\_url url={{repo\_url}}/{{ja…

---

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

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 21, 2013, 1:08pm UTC](https://forum.ansible.com/t/parent-role-name-in-name-of-task-bug-with-include/13521 "2013-09-21T13:08:23Z")

</div>

FYI: This has already been dealt with on ansible-devel.

---

## [How to use extra vars with fail module](https://forum.ansible.com/t/how-to-use-extra-vars-with-fail-module/13511)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 6\
**Last updated:** [September 21, 2013, 1:06pm UTC](https://forum.ansible.com/t/how-to-use-extra-vars-with-fail-module/13511 "2013-09-21T13:06:06Z")

</div>

Hi I have: tasks: name: Check if dbid is set correctly action: fail msg=“Please set correct dbid variable” when: dbid is not defined or dbid != 1 or dbid != 2 I run: ansible-playbook test.yml --extra-vars “dbid=1…

---

## [parent role name in the name line versus notify](https://forum.ansible.com/t/parent-role-name-in-the-name-line-versus-notify/13515)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [September 21, 2013, 1:04pm UTC](https://forum.ansible.com/t/parent-role-name-in-the-name-line-versus-notify/13515 "2013-09-21T13:04:15Z")

</div>

Hello, Just to clarify after the commit https://github.com/ansible/ansible/commit/a5ee6ff1e56ff3abdcb42a9b2ac4518a0eeead13 Display parent role name of tasks in the name line I have a “notify: restart nginx instances”…

---

## [how to get name tag from ec2\_facts](https://forum.ansible.com/t/how-to-get-name-tag-from-ec2-facts/13508)

<div class="topic-metadata">

**Author:** [@Brian\_Schott](https://forum.ansible.com/u/Brian_Schott)\
**Replies:** 4\
**Last updated:** [September 21, 2013, 1:03pm UTC](https://forum.ansible.com/t/how-to-get-name-tag-from-ec2-facts/13508 "2013-09-21T13:03:35Z")

</div>

I have a playbook where I’m launching some instances, adding them to a host group, doing package installs, then I want to bundle each instance with a unique image name. My first thought was to use an instance tag, but ca…

---

## [first\_available\_file not providing its results to item variable?](https://forum.ansible.com/t/first-available-file-not-providing-its-results-to-item-variable/13499)

<div class="topic-metadata">

**Author:** [@Javier\_Candeira](https://forum.ansible.com/u/Javier_Candeira)\
**Replies:** 4\
**Last updated:** [September 21, 2013, 1:02pm UTC](https://forum.ansible.com/t/first-available-file-not-providing-its-results-to-item-variable/13499 "2013-09-21T13:02:44Z")

</div>

I'm having trouble with first-available file, which I'm using to authorise a ssh key for a given user like so: # TODO: add a forced-command so only gitpulling is allowed - name: put coreapi public key in cms user …

---

## [Linux journal readers choice awards 2013 voting/ configuration management](https://forum.ansible.com/t/linux-journal-readers-choice-awards-2013-voting-configuration-management/13520)

<div class="topic-metadata">

**Author:** [@Walid](https://forum.ansible.com/u/Walid)\
**Replies:** 1\
**Last updated:** [September 21, 2013, 12:58pm UTC](https://forum.ansible.com/t/linux-journal-readers-choice-awards-2013-voting-configuration-management/13520 "2013-09-21T12:58:16Z")

</div>

Hi All, it is time of the year to vote for your favorite Open Source project for the Linux Journal awards, you do not need to answer all questions, however one is in particular you should “question 45” Ansible is not m…

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

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