# Latest

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

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

**Page:** 839

---

## [Alerting on Disk Utilization using Ansible](https://forum.ansible.com/t/alerting-on-disk-utilization-using-ansible/19176)

<div class="topic-metadata">

**Author:** [@Zeal\_Vora1](https://forum.ansible.com/u/Zeal_Vora1)\
**Replies:** 1\
**Last updated:** [September 3, 2015, 12:28pm UTC](https://forum.ansible.com/t/alerting-on-disk-utilization-using-ansible/19176 "2015-09-03T12:28:14Z")

</div>

Hi Is there any way were i can run Ansible on N number of servers and it will detect the Disk Space of each partition and if Disk Space \> Specified Amount, it will give us an indication for the same. Which module will …

---

## [Append Variables from one group to another](https://forum.ansible.com/t/append-variables-from-one-group-to-another/18338)

<div class="topic-metadata">

**Author:** [@Jay\_Rogers](https://forum.ansible.com/u/Jay_Rogers)\
**Replies:** 1\
**Last updated:** [September 3, 2015, 12:27am UTC](https://forum.ansible.com/t/append-variables-from-one-group-to-another/18338 "2015-09-03T00:27:52Z")

</div>

Hi all! Is it possible to append variables from one group to another? Here is an example below for better clarity: Group Variables An array that lists users from a “core” group that will be applied to all servers: CO…

---

## [Simple query on usage of "\>" in tasks.](https://forum.ansible.com/t/simple-query-on-usage-of-in-tasks/19174)

<div class="topic-metadata">

**Author:** [@behzad.dastur](https://forum.ansible.com/u/behzad.dastur)\
**Replies:** 1\
**Last updated:** [September 2, 2015, 11:37pm UTC](https://forum.ansible.com/t/simple-query-on-usage-of-in-tasks/19174 "2015-09-02T23:37:12Z")

</div>

I am going through a playbook, where the tasks have the following format: name: Start and add that the metadata service to the init sequence (Ubuntu) service: \> name=ceph-mds state=started enabled=yes args=“id={{ …

---

## [Conditional loop messes up the following task that does a with\_item](https://forum.ansible.com/t/conditional-loop-messes-up-the-following-task-that-does-a-with-item/19173)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 2\
**Last updated:** [September 2, 2015, 10:17pm UTC](https://forum.ansible.com/t/conditional-loop-messes-up-the-following-task-that-does-a-with-item/19173 "2015-09-02T22:17:22Z")

</div>

I store the modules I need to deploy within Consul. It consist of both Perl and PHP modules so on our web servers I only want to install the modules associated with PHP. The following playbook works as long as there are …

---

## [Looking for a way execute tasks in included file based on condition](https://forum.ansible.com/t/looking-for-a-way-execute-tasks-in-included-file-based-on-condition/19172)

<div class="topic-metadata">

**Author:** [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Replies:** 2\
**Last updated:** [September 2, 2015, 9:15pm UTC](https://forum.ansible.com/t/looking-for-a-way-execute-tasks-in-included-file-based-on-condition/19172 "2015-09-02T21:15:38Z")

</div>

Hello Guys, This has been probably solved before so apologies if this is a repeat. I was confused about tasks in a include file being run even though the condition for the include itself is not true. so in my main.yml …

---

## [os\_server module](https://forum.ansible.com/t/os-server-module/19136)

<div class="topic-metadata">

**Author:** [@Antoine\_Voiry](https://forum.ansible.com/u/Antoine_Voiry)\
**Replies:** 2\
**Last updated:** [September 2, 2015, 9:11pm UTC](https://forum.ansible.com/t/os-server-module/19136 "2015-09-02T21:11:12Z")

</div>

All, I am facing something strange with the OS\_SERVER module. Also I was not able to specify the domain in auth. Below is the code snipet os\_server: state: present auth: auth\_url: https://xxxx/v3.0/ username: xx…

---

## [accelerate mode and custom python interpreter (virtualenv)](https://forum.ansible.com/t/accelerate-mode-and-custom-python-interpreter-virtualenv/19162)

<div class="topic-metadata">

**Author:** [@knacktus](https://forum.ansible.com/u/knacktus)\
**Replies:** 1\
**Last updated:** [September 2, 2015, 8:13pm UTC](https://forum.ansible.com/t/accelerate-mode-and-custom-python-interpreter-virtualenv/19162 "2015-09-02T20:13:41Z")

</div>

Hi guys, unfortunately I’m on REHL6 without the option to install python packages for the standard python installation. Thus I’m using Ansible from an virtualenv on the managing node. That works fine, except that now I’…

---

## [Use hostvars as hosts names in playbooks](https://forum.ansible.com/t/use-hostvars-as-hosts-names-in-playbooks/19163)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Lacour](https://forum.ansible.com/u/Emmanuel_Lacour)\
**Replies:** 2\
**Last updated:** [September 2, 2015, 7:33pm UTC](https://forum.ansible.com/t/use-hostvars-as-hosts-names-in-playbooks/19163 "2015-09-02T19:33:17Z")

</div>

Dear ansible users, I try to write a paybook where I first get a host name from a host, then would like to do thinks on this host name. Here is a try:

---

## [is su\_exe/become\_exe broken in v2?](https://forum.ansible.com/t/is-su-exe-become-exe-broken-in-v2/19164)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 8\
**Last updated:** [September 2, 2015, 3:18pm UTC](https://forum.ansible.com/t/is-su-exe-become-exe-broken-in-v2/19164 "2015-09-02T15:18:27Z")

</div>

Hi I just pulled latest ansible from git and installed it. And it seems that su\_exe functionality is not working anymore. Regardless of what I set as su\_exe, ansible tries to execute su. I also tried to set become\_exe t…

---

## [galaxy.ansible.com is not responding](https://forum.ansible.com/t/galaxy-ansible-com-is-not-responding/19165)

<div class="topic-metadata">

**Author:** [@Cenk\_Cetinkaya](https://forum.ansible.com/u/Cenk_Cetinkaya)\
**Replies:** 2\
**Last updated:** [September 2, 2015, 2:48pm UTC](https://forum.ansible.com/t/galaxy-ansible-com-is-not-responding/19165 "2015-09-02T14:48:48Z")

</div>

Error message is ERR\_TOO\_MANY\_REDIRECTS on chrome. ansibel-galaxy install command gives error that message is “the API server (galaxy.ansible.com) is not responding, please try again later.”

---

## [os x yosimite, strange vault problems with gvim](https://forum.ansible.com/t/os-x-yosimite-strange-vault-problems-with-gvim/19169)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [September 2, 2015, 1:18pm UTC](https://forum.ansible.com/t/os-x-yosimite-strange-vault-problems-with-gvim/19169 "2015-09-02T13:18:08Z")

</div>

gvim never saves changes to files in vault. vim does just fine. just putting this here for google to find before someone else wastes $i\_wont\_admit time on it. dont have time to do the right thing and figure out why.

---

## [os x yosimite, pip tries to make ansible run in python3](https://forum.ansible.com/t/os-x-yosimite-pip-tries-to-make-ansible-run-in-python3/19167)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 3\
**Last updated:** [September 2, 2015, 12:55pm UTC](https://forum.ansible.com/t/os-x-yosimite-pip-tries-to-make-ansible-run-in-python3/19167 "2015-09-02T12:55:26Z")

</div>

bonechar:~# pip install ansible Collecting ansible Downloading ansible-1.9.2.tar.gz (927kB) 100% |████████████████████████████████| 929kB 641kB/s Requirement already satisfied (use --upgrade to upgrade): paramiko in …

---

## [Display Free Mac Address of a VCenter or already used](https://forum.ansible.com/t/display-free-mac-address-of-a-vcenter-or-already-used/19168)

<div class="topic-metadata">

**Author:** [@Andrea\_Perini](https://forum.ansible.com/u/Andrea_Perini)\
**Replies:** 0\
**Last updated:** [September 2, 2015, 12:52pm UTC](https://forum.ansible.com/t/display-free-mac-address-of-a-vcenter-or-already-used/19168 "2015-09-02T12:52:04Z")

</div>

I’m creating VMs forcing mac address. I’m looking for a way to create a pool of available mac Addresses to use them for creating VMs; or just a way to see which mac addresses on my vCenter are already used by my VMs. A…

---

## [Issue with default value](https://forum.ansible.com/t/issue-with-default-value/16661)

<div class="topic-metadata">

**Author:** [@Viktor\_Petersson](https://forum.ansible.com/u/Viktor_Petersson)\
**Replies:** 7\
**Last updated:** [September 2, 2015, 12:41pm UTC](https://forum.ansible.com/t/issue-with-default-value/16661 "2015-09-02T12:41:49Z")

</div>

Hey guys, I’m trying to write an ansible playbook with the shell module. In the command, I’m want to use the eth1 interface if it exists. If the eth1 interface doesn’t exist, it should fallback to the loopback interface…

---

## [How to elegantly change root password with mysql\_user](https://forum.ansible.com/t/how-to-elegantly-change-root-password-with-mysql-user/19166)

<div class="topic-metadata">

**Author:** [@Eric\_Feliksik1](https://forum.ansible.com/u/Eric_Feliksik1)\
**Replies:** 1\
**Last updated:** [September 2, 2015, 12:22pm UTC](https://forum.ansible.com/t/how-to-elegantly-change-root-password-with-mysql-user/19166 "2015-09-02T12:22:28Z")

</div>

When I install mysql, default root password is empty. I then use ansible to set the password: - name: set root password, if it is empty now mysql\_user: login\_user=root login\_password='' name=root password='{{desired\_pa…

---

## [Is there something like puppet librarian or R10K for Ansible?](https://forum.ansible.com/t/is-there-something-like-puppet-librarian-or-r10k-for-ansible/19139)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Lee](https://forum.ansible.com/u/Jeffrey_Lee)\
**Replies:** 9\
**Last updated:** [September 2, 2015, 8:24am UTC](https://forum.ansible.com/t/is-there-something-like-puppet-librarian-or-r10k-for-ansible/19139 "2015-09-02T08:24:00Z")

</div>

I’m looking for a way to manage different versions of Ansible roles that I am writing when deploying applications. For instance if one application needs v1 of an Ansible role I wrote and another application needs v2 of a…

---

## [newbie question - cronvar / extras modules](https://forum.ansible.com/t/newbie-question-cronvar-extras-modules/19155)

<div class="topic-metadata">

**Author:** [@Ross\_Black](https://forum.ansible.com/u/Ross_Black)\
**Replies:** 2\
**Last updated:** [September 1, 2015, 11:48pm UTC](https://forum.ansible.com/t/newbie-question-cronvar-extras-modules/19155 "2015-09-01T23:48:56Z")

</div>

Hi, I have just started using Ansible, and would like some help with using cronvar. When I attempt to use cronvar I get an error message: ‘ERROR: cronvar is not a legal parameter in an Ansible task or handler’ If I ru…

---

## [multi stage and variables](https://forum.ansible.com/t/multi-stage-and-variables/17409)

<div class="topic-metadata">

**Author:** [@Victor\_Volle](https://forum.ansible.com/u/Victor_Volle)\
**Replies:** 9\
**Last updated:** [September 1, 2015, 9:36pm UTC](https://forum.ansible.com/t/multi-stage-and-variables/17409 "2015-09-01T21:36:38Z")

</div>

Hi! I tried to read up on everything I could find w.r.t. multi stage environments, but I haven’t found a solution that fits my needs yet. Let’s say, I have 4 “environments”: dev, test, stage, production And 2 “kinds” …

---

## [Output of windows raw cmd as var](https://forum.ansible.com/t/output-of-windows-raw-cmd-as-var/19156)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 3\
**Last updated:** [September 1, 2015, 8:03pm UTC](https://forum.ansible.com/t/output-of-windows-raw-cmd-as-var/19156 "2015-09-01T20:03:27Z")

</div>

Hi, all. I’ve been struggling with trying to get Ansible working for Windows automation. Perhaps I’m asking too much, but here’s what I’m after - I want to update a group of servers, stop a particular service on a few o…

---

## [ansible -  sub groups in ansible hosts file or conceptual equivalent](https://forum.ansible.com/t/ansible-sub-groups-in-ansible-hosts-file-or-conceptual-equivalent/19158)

<div class="topic-metadata">

**Author:** [@Cevyn\_E](https://forum.ansible.com/u/Cevyn_E)\
**Replies:** 1\
**Last updated:** [September 1, 2015, 7:10pm UTC](https://forum.ansible.com/t/ansible-sub-groups-in-ansible-hosts-file-or-conceptual-equivalent/19158 "2015-09-01T19:10:14Z")

</div>

Searched a fair amount but seem to not quite pull it together. I want to have something like this in my ansible hosts file \[biggroup\] subgroup1 subgroup2 \[subgroup1\] 1.1.1.1 \[subgroup2\] 2.2.2.2 I want be able to…

---

## [Loop over ansible\_facts after importing multiple variable files](https://forum.ansible.com/t/loop-over-ansible-facts-after-importing-multiple-variable-files/19153)

<div class="topic-metadata">

**Author:** [@Vikas\_Kumar](https://forum.ansible.com/u/Vikas_Kumar)\
**Replies:** 1\
**Last updated:** [September 1, 2015, 5:15pm UTC](https://forum.ansible.com/t/loop-over-ansible-facts-after-importing-multiple-variable-files/19153 "2015-09-01T17:15:39Z")

</div>

I have hundreds of files (generated through some application) which I am trying to iterate and include them as variable files. See below files as example. There are many more variables in each of the files, I have toned…

---

## [Extra Modules - maven-artifact](https://forum.ansible.com/t/extra-modules-maven-artifact/19157)

<div class="topic-metadata">

**Author:** [@Paul\_Atkinson](https://forum.ansible.com/u/Paul_Atkinson)\
**Replies:** 0\
**Last updated:** [September 1, 2015, 4:55pm UTC](https://forum.ansible.com/t/extra-modules-maven-artifact/19157 "2015-09-01T16:55:32Z")

</div>

Hi, Has anyone successfully utilised this module and able to avoid failures? Managed to define to correct address for maven-metadata.XML but getting an unknown error. msg: Failed to download maven-metadata.XML because…

---

## [Lookup host IP address(es) from global\_vars](https://forum.ansible.com/t/lookup-host-ip-address-es-from-global-vars/19152)

<div class="topic-metadata">

**Author:** [@Sergey\_Maslyakov](https://forum.ansible.com/u/Sergey_Maslyakov)\
**Replies:** 6\
**Last updated:** [September 1, 2015, 4:21pm UTC](https://forum.ansible.com/t/lookup-host-ip-address-es-from-global-vars/19152 "2015-09-01T16:21:58Z")

</div>

What is the right way to look up the IPv4 address (or addresses) associated with a host name from global\_vars? Here is the scenario. I use Postgres with Host-Based Authentication (HBA). In order to configure HBA, I need…

---

## [Following #11240 : "The async task did not return valid JSON"](https://forum.ansible.com/t/following-11240-the-async-task-did-not-return-valid-json/18596)

<div class="topic-metadata">

**Author:** [@Arthur\_Clement](https://forum.ansible.com/u/Arthur_Clement)\
**Replies:** 8\
**Last updated:** [September 1, 2015, 3:07pm UTC](https://forum.ansible.com/t/following-11240-the-async-task-did-not-return-valid-json/18596 "2015-09-01T15:07:18Z")

</div>

Hi, I had the #11240 bug with async tasks (https://github.com/ansible/ansible/issues/11240) with 2.0-devel so I pulled & rebased my ansible installation. Now I got this error with async tasks : fatal: \[coreos-01\]: FAI…

---

## [disable hostname lookups for winrm? 20 - 40 second delay unless controllers ip has a hostname.](https://forum.ansible.com/t/disable-hostname-lookups-for-winrm-20-40-second-delay-unless-controllers-ip-has-a-hostname/19150)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [August 31, 2015, 3:59pm UTC](https://forum.ansible.com/t/disable-hostname-lookups-for-winrm-20-40-second-delay-unless-controllers-ip-has-a-hostname/19150 "2015-08-31T15:59:27Z")

</div>

Using winrm, i always get an18 - 45 second delay. only tried with the “setup” and “win\_ping” modules, unless running ansible from an ip with a hostname set in dns. is there a way to disable hostname lookups for winrm?

---

## [Getting bond0 IP using ansible](https://forum.ansible.com/t/getting-bond0-ip-using-ansible/19149)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [August 31, 2015, 3:40pm UTC](https://forum.ansible.com/t/getting-bond0-ip-using-ansible/19149 "2015-08-31T15:40:22Z")

</div>

Hi all I am having trouble accessing IP address from bond0 dict object and all google search I can do is not helping. Anyone has a pointer on whats wrong with the way I am trying to use the object below? In the tem…

---

## [free strategy, waiting until all hosts catch-up](https://forum.ansible.com/t/free-strategy-waiting-until-all-hosts-catch-up/19147)

<div class="topic-metadata">

**Author:** [@Danny\_Kimsey](https://forum.ansible.com/u/Danny_Kimsey)\
**Replies:** 1\
**Last updated:** [August 31, 2015, 3:00pm UTC](https://forum.ansible.com/t/free-strategy-waiting-until-all-hosts-catch-up/19147 "2015-08-31T15:00:54Z")

</div>

With the free strategy, is it possible to create a sort-of checkpoint that forces tasks to wait until all hosts have caught up? Additionally, can a block specify a strategy to be used within?

---

## [Fatal error - Ambiguous output redirect](https://forum.ansible.com/t/fatal-error-ambiguous-output-redirect/19143)

<div class="topic-metadata">

**Author:** [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Replies:** 3\
**Last updated:** [August 30, 2015, 11:44pm UTC](https://forum.ansible.com/t/fatal-error-ambiguous-output-redirect/19143 "2015-08-30T23:44:27Z")

</div>

I was setting up 2 test machines and getting the error below. Any ideas/suggestions? I tried reading the error below, but can’t figure out the error. ESTABLISH SSH CONNECTION FOR USER: root EXEC ssh -C -tt -vvv -o C…

---

## [Specfic multistage application deployment methodology](https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141)

<div class="topic-metadata">

**Author:** [@Andrzej\_Osmialowski](https://forum.ansible.com/u/Andrzej_Osmialowski)\
**Replies:** 1\
**Last updated:** [August 30, 2015, 10:10pm UTC](https://forum.ansible.com/t/specfic-multistage-application-deployment-methodology/19141 "2015-08-30T22:10:01Z")

</div>

Hi Guys, I have a specific problem: I have an application I need to deploy to two group of servers: staging and production (there are some multiple machines). The problem is that I load only one inventory at the time (h…

---

## [How to use the DarwinUser class from the user module?](https://forum.ansible.com/t/how-to-use-the-darwinuser-class-from-the-user-module/19135)

<div class="topic-metadata">

**Author:** [@Vineet\_Naik](https://forum.ansible.com/u/Vineet_Naik)\
**Replies:** 2\
**Last updated:** [August 30, 2015, 6:07pm UTC](https://forum.ansible.com/t/how-to-use-the-darwinuser-class-from-the-user-module/19135 "2015-08-30T18:07:54Z")

</div>

Hello, I am trying to extend a custom role that involves creating and setting up user accounts to work on MacOSX. After looking at the source code of the user module, I found the DarwinUser subclass defined (https://git…

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

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