# Latest

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

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

**Page:** 872

---

## [Openstack - auto\_floating\_ip](https://forum.ansible.com/t/openstack-auto-floating-ip/17040)

<div class="topic-metadata">

**Author:** [@Scott](https://forum.ansible.com/u/Scott)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 8:52pm UTC](https://forum.ansible.com/t/openstack-auto-floating-ip/17040 "2015-05-08T20:52:53Z")

</div>

I’m have a playbook which creates an instance in openstack. I have used the auto\_floating\_ip = yes to get a public IP address created and assigned but this fails with “msg: Unable to create floating ip: Floating ip pool …

---

## [Combine with\_items with when.](https://forum.ansible.com/t/combine-with-items-with-when/18180)

<div class="topic-metadata">

**Author:** [@Jonas\_Rottmann](https://forum.ansible.com/u/Jonas_Rottmann)\
**Replies:** 3\
**Last updated:** [May 8, 2015, 4:29pm UTC](https://forum.ansible.com/t/combine-with-items-with-when/18180 "2015-05-08T16:29:34Z")

</div>

Hi, Is it possible to combine with\_items with when? so i.e. name: Vhosts apache config template: src=apache\_vhost.j2 dest=/etc/apache2/sites-available/{{ item.domain }}.conf with\_items: apache.vhosts when: “ansible…

---

## [Problem using fetch and with\_items](https://forum.ansible.com/t/problem-using-fetch-and-with-items/18192)

<div class="topic-metadata">

**Author:** [@Jeff\_Potts](https://forum.ansible.com/u/Jeff_Potts)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 4:23pm UTC](https://forum.ansible.com/t/problem-using-fetch-and-with-items/18192 "2015-05-08T16:23:20Z")

</div>

I can successfully fetch a file with an explicit src. However, when I try to use with\_items, I am getting a “remote file does not exist” error. It doesn’t matter whether I use a hard-coded list for with\_items or a varia…

---

## [Error Submitting a job](https://forum.ansible.com/t/error-submitting-a-job/18191)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [May 8, 2015, 3:29pm UTC](https://forum.ansible.com/t/error-submitting-a-job/18191 "2015-05-08T15:29:27Z")

</div>

From that error it looks like there is no python at /usr/bin/python at the target host, normally this is due to not having python install or having it in an alternate location (which you can direct ansible to with t…

---

## [Role default vars not being read?](https://forum.ansible.com/t/role-default-vars-not-being-read/18185)

<div class="topic-metadata">

**Author:** [@ticktockhouse](https://forum.ansible.com/u/ticktockhouse)\
**Replies:** 3\
**Last updated:** [May 8, 2015, 2:42pm UTC](https://forum.ansible.com/t/role-default-vars-not-being-read/18185 "2015-05-08T14:42:24Z")

</div>

I’ve got a role I’m using for testing, but I seem to be stumbling at the first hurdle. My embryonic playbook looks like this: \`

---

## [Using statsd for playbooks](https://forum.ansible.com/t/using-statsd-for-playbooks/18178)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 7\
**Last updated:** [May 8, 2015, 1:29pm UTC](https://forum.ansible.com/t/using-statsd-for-playbooks/18178 "2015-05-08T13:29:24Z")

</div>

Hi all, I was wondering if anyone had considered statsd integration with Ansible and if so, the best way to go about it. For example, it'd be cool to use statsd to record how many times a playbook is run or how long a …

---

## [Super long delay with playbook](https://forum.ansible.com/t/super-long-delay-with-playbook/18186)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 1:12pm UTC](https://forum.ansible.com/t/super-long-delay-with-playbook/18186 "2015-05-08T13:12:40Z")

</div>

I ran into an issue where, at the end of GATHERING FACTS, ansible-playbook just sits there. I’d added -v’s until I had -vvvv and that didn’t tell me anything, until i got distracted and left it running for several minute…

---

## [Windows: Do not re-use ansible\_ssh\_user (etc) variable names for WinRM connections](https://forum.ansible.com/t/windows-do-not-re-use-ansible-ssh-user-etc-variable-names-for-winrm-connections/18082)

<div class="topic-metadata">

**Author:** [@Lars\_Sommer](https://forum.ansible.com/u/Lars_Sommer)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 1:03pm UTC](https://forum.ansible.com/t/windows-do-not-re-use-ansible-ssh-user-etc-variable-names-for-winrm-connections/18082 "2015-05-08T13:03:33Z")

</div>

Hello, I am feeling some pain with Windows WinRM connections re-using a variable name that’s A.) inaccurate and B.) shared with SSH connections for linux. Reference docs: http://docs.ansible.com/intro\_windows.html Re-…

---

## [mount module creates fstab entry even if it cannot mount a volume #1252](https://forum.ansible.com/t/mount-module-creates-fstab-entry-even-if-it-cannot-mount-a-volume-1252/18177)

<div class="topic-metadata">

**Author:** [@blackreed9](https://forum.ansible.com/u/blackreed9)\
**Replies:** 4\
**Last updated:** [May 8, 2015, 12:06pm UTC](https://forum.ansible.com/t/mount-module-creates-fstab-entry-even-if-it-cannot-mount-a-volume-1252/18177 "2015-05-08T12:06:07Z")

</div>

I’m just getting started with Ansible and I wanted to dip my toe in on a couple of easier bugs. https://github.com/ansible/ansible-modules-core/issues/1252 This request is looking to change the ‘mount’ process to remov…

---

## [Trying to run script from inside directory](https://forum.ansible.com/t/trying-to-run-script-from-inside-directory/18187)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 2\
**Last updated:** [May 8, 2015, 10:17am UTC](https://forum.ansible.com/t/trying-to-run-script-from-inside-directory/18187 "2015-05-08T10:17:15Z")

</div>

I’m using ‘unarchive’ to extract a tarball to /tmp/ Inside, I have a shell script with includes references to relative paths. This made my script fail as it was looking for the files relative to whatever directory it’s r…

---

## [when item not in key of hash](https://forum.ansible.com/t/when-item-not-in-key-of-hash/18183)

<div class="topic-metadata">

**Author:** [@Rishi](https://forum.ansible.com/u/Rishi)\
**Replies:** 2\
**Last updated:** [May 7, 2015, 8:20pm UTC](https://forum.ansible.com/t/when-item-not-in-key-of-hash/18183 "2015-05-07T20:20:52Z")

</div>

Trying to figure out if the following is possible. I have a hash map e.g. tools: a: foobar: 1 b: barfoo: 3 file: path=/some/dir/{{ item }} state=absent with\_items: contents.stdout\_lines when: item not in \[\[ lis…

---

## [unarchive complaining about nonexistent file](https://forum.ansible.com/t/unarchive-complaining-about-nonexistent-file/18174)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 4\
**Last updated:** [May 7, 2015, 7:54pm UTC](https://forum.ansible.com/t/unarchive-complaining-about-nonexistent-file/18174 "2015-05-07T19:54:32Z")

</div>

ansible 1.9.0.1 name: Untar DoD certificate installer unarchive: src=dod\_java\_certs.tgz dest=/tmp/ copy=yes Results in: TASK: \[Untar DoD certificate installer\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[quad\]…

---

## [What are the file formats supported?](https://forum.ansible.com/t/what-are-the-file-formats-supported/18165)

<div class="topic-metadata">

**Author:** [@Saleh\_Alobaid](https://forum.ansible.com/u/Saleh_Alobaid)\
**Replies:** 6\
**Last updated:** [May 7, 2015, 5:16pm UTC](https://forum.ansible.com/t/what-are-the-file-formats-supported/18165 "2015-05-07T17:16:20Z")

</div>

Hello everyone, My question might seem a bit broad but I would like to know what file formats are exactly supported that can be edited and monitored? For example a Microsoft Office file, PDF’s, and/or Solidworks and Aut…

---

## [Changes in ec2.py that will break things](https://forum.ansible.com/t/changes-in-ec2-py-that-will-break-things/18179)

<div class="topic-metadata">

**Author:** [@Navid\_Paya](https://forum.ansible.com/u/Navid_Paya)\
**Replies:** 4\
**Last updated:** [May 7, 2015, 3:34pm UTC](https://forum.ansible.com/t/changes-in-ec2-py-that-will-break-things/18179 "2015-05-07T15:34:53Z")

</div>

Hi guys I’ve already posted this to the Tower support channel but was told to post it here as well since this is part of Ansible Core rather than Ansible Tower. I have an older version of ec2.py and ec2.ini checked int…

---

## [get stdout from a registered variable](https://forum.ansible.com/t/get-stdout-from-a-registered-variable/18181)

<div class="topic-metadata">

**Author:** [@Yariv\_Graf](https://forum.ansible.com/u/Yariv_Graf)\
**Replies:** 2\
**Last updated:** [May 7, 2015, 2:35pm UTC](https://forum.ansible.com/t/get-stdout-from-a-registered-variable/18181 "2015-05-07T14:35:37Z")

</div>

Hi, I have this piece of yaml playbook: name: get read block device such /dev/sdX shell: “readlink -f /dev/disk/by-id/google-{{ item.block }}” with\_items: mounts register: device debug: var=device.results Tr…

---

## [Ansible skips evaluation of dependencies](https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182)

<div class="topic-metadata">

**Author:** [@Jiri](https://forum.ansible.com/u/Jiri)\
**Replies:** 1\
**Last updated:** [May 7, 2015, 2:26pm UTC](https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182 "2015-05-07T14:26:59Z")

</div>

I think I have discovered an inconsistent behavior in Ansible when dealing with role dependencies. When I’m trying to use a role through another role twice in the same play, it seems like the second execution of the role…

---

## [Roles that don't use tags get ignored](https://forum.ansible.com/t/roles-that-dont-use-tags-get-ignored/18176)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 3\
**Last updated:** [May 7, 2015, 12:43pm UTC](https://forum.ansible.com/t/roles-that-dont-use-tags-get-ignored/18176 "2015-05-07T12:43:24Z")

</div>

Hello, I developed a series of roles that accept some common tags (e.g. create, destroy, etc). I also have a "common" role that doesn't make use of tags, all its tasks should run regardless. If I specify the roles li…

---

## [How to control when notify gets triggered by i.e. command](https://forum.ansible.com/t/how-to-control-when-notify-gets-triggered-by-i-e-command/18167)

<div class="topic-metadata">

**Author:** [@Jonas\_Rottmann](https://forum.ansible.com/u/Jonas_Rottmann)\
**Replies:** 2\
**Last updated:** [May 7, 2015, 6:10am UTC](https://forum.ansible.com/t/how-to-control-when-notify-gets-triggered-by-i-e-command/18167 "2015-05-07T06:10:23Z")

</div>

Hi, I have for an example an task which enables modules in apache2 in debian with the command a2enmod. So I have: name: Debian | Apache | Enable Basic Mods command: a2enmod {{ item }} with\_items: rewrite ssl when:…

---

## [Extras triage proposal](https://forum.ansible.com/t/extras-triage-proposal/18041)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 20\
**Last updated:** [May 7, 2015, 4:30am UTC](https://forum.ansible.com/t/extras-triage-proposal/18041 "2015-05-07T04:30:51Z")

</div>

Hi all. Starting to think about ways to open up the contribution process a little bit, while maintaining a high level of code quality. The purpose of splitting out modules originally into Core and Extras was to create…

---

## [Fixing mysql\_user privs using columns - #1120](https://forum.ansible.com/t/fixing-mysql-user-privs-using-columns-1120/18172)

<div class="topic-metadata">

**Author:** [@Bryan\_Fleming](https://forum.ansible.com/u/Bryan_Fleming)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 9:57pm UTC](https://forum.ansible.com/t/fixing-mysql-user-privs-using-columns-1120/18172 "2015-05-06T21:57:44Z")

</div>

Hey all, Just joined the group, did a search for mysql\_user and didn’t find anything with what I’m trying to fix. Trying to help out with a bug/feature that would be nice to have when setting permissions which is privs…

---

## [become\_user question](https://forum.ansible.com/t/become-user-question/18173)

<div class="topic-metadata">

**Author:** [@watsonb](https://forum.ansible.com/u/watsonb)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 7:49pm UTC](https://forum.ansible.com/t/become-user-question/18173 "2015-05-06T19:49:05Z")

</div>

First some background info: Using Ansible 1.9.0.1 All hosts are Ubuntu 14.04 My Ansible-fu level: novice (couple/few weeks of use) I’m trying to cobble together a streamlined development system using Jenkins + Ansible…

---

## [sudo localhost mac failure yosemite](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer](https://forum.ansible.com/u/Eric_Palmer)\
**Replies:** 3\
**Last updated:** [May 6, 2015, 7:25pm UTC](https://forum.ansible.com/t/sudo-localhost-mac-failure-yosemite/18175 "2015-05-06T19:25:39Z")

</div>

I have a set of playbooks that sets up a development env on mac os x. It worked until Yosemite. the playbooks won’t prompt for the sudo password I have sshpass installed and it passes sshpass -V This simple script sho…

---

## [Project organization](https://forum.ansible.com/t/project-organization/18170)

<div class="topic-metadata">

**Author:** [@Synaesthete](https://forum.ansible.com/u/Synaesthete)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 6:02pm UTC](https://forum.ansible.com/t/project-organization/18170 "2015-05-06T18:02:58Z")

</div>

Curious how others are organizing their Ansible projects. There are a lot of possible schemes and all seem basically equivalent, but I’ve not been able to settle on one that really works. My “units” for configuration inc…

---

## [Variable in template include?](https://forum.ansible.com/t/variable-in-template-include/18168)

<div class="topic-metadata">

**Author:** [@Kyle](https://forum.ansible.com/u/Kyle)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 3:23pm UTC](https://forum.ansible.com/t/variable-in-template-include/18168 "2015-05-06T15:23:29Z")

</div>

The following syntax doesn’t seem to work in a template - the file never gets included. What am I doing wrong? Is this not possible? {% include “{{ clean\_app\_name }}.inputs.conf.j2” ignore missing %} I’ve tried single…

---

## [Any way to re-read ssh\_config on-the-fly from Ansible playbook?](https://forum.ansible.com/t/any-way-to-re-read-ssh-config-on-the-fly-from-ansible-playbook/17360)

<div class="topic-metadata">

**Author:** [@user32](https://forum.ansible.com/u/user32)\
**Replies:** 2\
**Last updated:** [May 6, 2015, 3:00pm UTC](https://forum.ansible.com/t/any-way-to-re-read-ssh-config-on-the-fly-from-ansible-playbook/17360 "2015-05-06T15:00:31Z")

</div>

Hello, Ansible admins and users! I am using Ansible with Amazon EC2. I’ve configured provisioning of EC2 private hosts over public SSH bastions (exactly as specified here: http://alexbilbie.com/2014/07/using-ansible-wi…

---

## [How to resolve relative paths given as arguments in custom modules?](https://forum.ansible.com/t/how-to-resolve-relative-paths-given-as-arguments-in-custom-modules/18159)

<div class="topic-metadata">

**Author:** [@Eyal\_Roth](https://forum.ansible.com/u/Eyal_Roth)\
**Replies:** 3\
**Last updated:** [May 6, 2015, 2:28pm UTC](https://forum.ansible.com/t/how-to-resolve-relative-paths-given-as-arguments-in-custom-modules/18159 "2015-05-06T14:28:52Z")

</div>

I’m referring a question into here after opening an issue on github. I’ll copy my question from the issue: Say I’m writing a new module, and I want to have an argument which points to a file (which I’d like to read or w…

---

## [pass variables to the role with file from playbook or from dependencies](https://forum.ansible.com/t/pass-variables-to-the-role-with-file-from-playbook-or-from-dependencies/18169)

<div class="topic-metadata">

**Author:** [@Oleksii\_Asiutin](https://forum.ansible.com/u/Oleksii_Asiutin)\
**Replies:** 0\
**Last updated:** [May 6, 2015, 2:15pm UTC](https://forum.ansible.com/t/pass-variables-to-the-role-with-file-from-playbook-or-from-dependencies/18169 "2015-05-06T14:15:30Z")

</div>

Hallo everyone. I have the next problem. I have two roles: database and service1 for example. database role has defaults/main.yml with default variables. I want service1 role has a dependency on the database role and…

---

## [Bug in get\_url: https with explicit port fails to validate certificate](https://forum.ansible.com/t/bug-in-get-url-https-with-explicit-port-fails-to-validate-certificate/18164)

<div class="topic-metadata">

**Author:** [@Rumen\_Telbizov](https://forum.ansible.com/u/Rumen_Telbizov)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 8:04am UTC](https://forum.ansible.com/t/bug-in-get-url-https-with-explicit-port-fails-to-validate-certificate/18164 "2015-05-06T08:04:43Z")

</div>

Hello everyone, I found a bug in the get\_url module of ansible. It comes down to it failing to verify the SSL certificate when the port is part of the supplied URL (\[https://host:4443/path/to/something\](https://host:444…

---

## [Ansible not connecting to all hosts if using common azure cloud service for multiple VMs](https://forum.ansible.com/t/ansible-not-connecting-to-all-hosts-if-using-common-azure-cloud-service-for-multiple-vms/18163)

<div class="topic-metadata">

**Author:** [@satheesh\_kumar](https://forum.ansible.com/u/satheesh_kumar)\
**Replies:** 2\
**Last updated:** [May 5, 2015, 10:31pm UTC](https://forum.ansible.com/t/ansible-not-connecting-to-all-hosts-if-using-common-azure-cloud-service-for-multiple-vms/18163 "2015-05-05T22:31:03Z")

</div>

I am using a single cloud service in azure, which acts as loadbalancer for two backend hosts. The SSH public port is 22 for VM1 and 26 for VM2. My Ansible inventory file is like below: \[webservers\] web.cloudapp.net an…

---

## [Overriding chroot path for ansible\_connection=chroot](https://forum.ansible.com/t/overriding-chroot-path-for-ansible-connection-chroot/18162)

<div class="topic-metadata">

**Author:** [@Roman\_Gaufman](https://forum.ansible.com/u/Roman_Gaufman)\
**Replies:** 0\
**Last updated:** [May 5, 2015, 6:41pm UTC](https://forum.ansible.com/t/overriding-chroot-path-for-ansible-connection-chroot/18162 "2015-05-05T18:41:53Z")

</div>

I cannot find any documentation for the chroot connection and I have tried asking on ansible and googling. When I need to override the ssh host, I can do: ansible\_ssh\_host: '{{ ip | default("vpn.%s.%s" % (inventory\_host…

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

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