# Latest

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

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

**Page:** 996

---

## [How do I install Monit? (beginner)](https://forum.ansible.com/t/how-do-i-install-monit-beginner/14428)

<div class="topic-metadata">

**Author:** [@Gady\_S](https://forum.ansible.com/u/Gady_S)\
**Replies:** 0\
**Last updated:** [January 26, 2014, 3:12pm UTC](https://forum.ansible.com/t/how-do-i-install-monit-beginner/14428 "2014-01-26T15:12:22Z")

</div>

Hi, I followed this guide for installing Spree with Ansible (http://guides.spreecommerce.com/developer/ansible-ubuntu.html) I want to monitor the app with Monit. how do I use the recipe in the library to install it? H…

---

## [Nested includes don't inherit tags](https://forum.ansible.com/t/nested-includes-dont-inherit-tags/14426)

<div class="topic-metadata">

**Author:** [@matt](https://forum.ansible.com/u/matt)\
**Replies:** 1\
**Last updated:** [January 25, 2014, 11:37pm UTC](https://forum.ansible.com/t/nested-includes-dont-inherit-tags/14426 "2014-01-25T23:37:35Z")

</div>

I have a role such: tasks/main.yaml

---

## [Galaxy Maintenance - 1/14/2014](https://forum.ansible.com/t/galaxy-maintenance-1-14-2014/14411)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 6\
**Last updated:** [January 25, 2014, 2:56am UTC](https://forum.ansible.com/t/galaxy-maintenance-1-14-2014/14411 "2014-01-25T02:56:03Z")

</div>

Hi all, we’re going to be pushing out some more updates for Galaxy tomorrow night, so the site will be unavailable for a short time starting at 9PM EST. Once the maintenance is complete, we’ll send out a follow-up email …

---

## [Could we read the ansible\_python\_interpreter from an environment variable?](https://forum.ansible.com/t/could-we-read-the-ansible-python-interpreter-from-an-environment-variable/14422)

<div class="topic-metadata">

**Author:** [@Joshua\_Conner](https://forum.ansible.com/u/Joshua_Conner)\
**Replies:** 1\
**Last updated:** [January 25, 2014, 12:05am UTC](https://forum.ansible.com/t/could-we-read-the-ansible-python-interpreter-from-an-environment-variable/14422 "2014-01-25T00:05:05Z")

</div>

You can set the ansible\_python\_interpreter for a host in the inventory file, but it would be nice if I it would read this in from an $ANSIBLE\_PYTHON\_INTERPRETER environment variable. I use homebrew-ed Python on my local …

---

## [Basic ping tests erroring with "Error: ansible requires a json module, none found!"](https://forum.ansible.com/t/basic-ping-tests-erroring-with-error-ansible-requires-a-json-module-none-found/14420)

<div class="topic-metadata">

**Author:** [@E.C\_Raymond](https://forum.ansible.com/u/E.C_Raymond)\
**Replies:** 2\
**Last updated:** [January 24, 2014, 6:40pm UTC](https://forum.ansible.com/t/basic-ping-tests-erroring-with-error-ansible-requires-a-json-module-none-found/14420 "2014-01-24T18:40:21Z")

</div>

I am coming across an issue with basic ping tests for my hosts, and putting the test in “-vvvv” still doesnt seem to give me a clear view into the actual problem. Ansible is reporting with “Error: ansible requires a json…

---

## [git module now has sshopts and keyfile parameters](https://forum.ansible.com/t/git-module-now-has-sshopts-and-keyfile-parameters/14410)

<div class="topic-metadata">

**Author:** [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Replies:** 6\
**Last updated:** [January 24, 2014, 5:23pm UTC](https://forum.ansible.com/t/git-module-now-has-sshopts-and-keyfile-parameters/14410 "2014-01-24T17:23:12Z")

</div>

Thanks goes to Chris Blossom who did most of the research for this. https://github.com/ansible/ansible/commit/18050d50ecf94df95464a560d66d5e8d820ac52c sshopts Creates a wrapper script and exports the path as GIT\_SSH…

---

## [command/shell with data provided on stdin?](https://forum.ansible.com/t/command-shell-with-data-provided-on-stdin/14419)

<div class="topic-metadata">

**Author:** [@Evan\_Jones](https://forum.ansible.com/u/Evan_Jones)\
**Replies:** 0\
**Last updated:** [January 24, 2014, 4:52pm UTC](https://forum.ansible.com/t/command-shell-with-data-provided-on-stdin/14419 "2014-01-24T16:52:23Z")

</div>

Short summary: I need to run a command with some data on stdin (from a variable). Can I do this with any of the built-in modules? It appears the answer is no, so I wrote my own. Use case: I’m running openssl with a pass…

---

## [Can you wildcard a filename using the command module with "creates" parameter](https://forum.ansible.com/t/can-you-wildcard-a-filename-using-the-command-module-with-creates-parameter/14417)

<div class="topic-metadata">

**Author:** [@steve.moyer](https://forum.ansible.com/u/steve.moyer)\
**Replies:** 0\
**Last updated:** [January 24, 2014, 3:07pm UTC](https://forum.ansible.com/t/can-you-wildcard-a-filename-using-the-command-module-with-creates-parameter/14417 "2014-01-24T15:07:08Z")

</div>

I’m using the command module to run what is in essence an installer that’s version independent but the files that are created include the latest version number on the end. What I’m trying to do is something equivalent to…

---

## [Ansible runner\_on\_ok callback](https://forum.ansible.com/t/ansible-runner-on-ok-callback/14358)

<div class="topic-metadata">

**Author:** [@Chaitanya\_Yenugu](https://forum.ansible.com/u/Chaitanya_Yenugu)\
**Replies:** 2\
**Last updated:** [January 24, 2014, 12:55pm UTC](https://forum.ansible.com/t/ansible-runner-on-ok-callback/14358 "2014-01-24T12:55:22Z")

</div>

How can I get task name in runner\_on\_ok callback?

---

## [Drupal or Drush users in the house?](https://forum.ansible.com/t/drupal-or-drush-users-in-the-house/14416)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 0\
**Last updated:** [January 24, 2014, 12:08pm UTC](https://forum.ansible.com/t/drupal-or-drush-users-in-the-house/14416 "2014-01-24T12:08:53Z")

</div>

If you’re interested in a Drush module for Ansible, please look here: https://groups.google.com/d/msg/ansible-devel/WTY9rl-0UkA/tvZsBoqh2NcJ

---

## [New 'delegate\_to' feature -- for orchestrating outage windows and talking with load balancers, etc](https://forum.ansible.com/t/new-delegate-to-feature-for-orchestrating-outage-windows-and-talking-with-load-balancers-etc/11808)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [January 24, 2014, 1:06am UTC](https://forum.ansible.com/t/new-delegate-to-feature-for-orchestrating-outage-windows-and-talking-with-load-balancers-etc/11808 "2014-01-24T01:06:56Z")

</div>

When I first started ansible, one of the things I wanted it to be exceptionally good at is multi-machine rollouts, where there are various tiers of application architecture. This is why you can do different hosts in…

---

## [Ansible and where it looks for the host\_vars directory](https://forum.ansible.com/t/ansible-and-where-it-looks-for-the-host-vars-directory/14412)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 2\
**Last updated:** [January 23, 2014, 10:19pm UTC](https://forum.ansible.com/t/ansible-and-where-it-looks-for-the-host-vars-directory/14412 "2014-01-23T22:19:00Z")

</div>

Hi All, I’ve done a strace of ansible and ansible-playbook and noticed that “ansible” will look at the ‘host\_vars’ directory relative to the inventory script path, and “ansible-playbook” will look at that plus the ‘host…

---

## [Using compiled modules in Ansible?](https://forum.ansible.com/t/using-compiled-modules-in-ansible/14409)

<div class="topic-metadata">

**Author:** [@jcoats](https://forum.ansible.com/u/jcoats)\
**Replies:** 1\
**Last updated:** [January 23, 2014, 9:09pm UTC](https://forum.ansible.com/t/using-compiled-modules-in-ansible/14409 "2014-01-23T21:09:11Z")

</div>

I’ve been using Ansible lately and needed to be able to copy over Ansible modules that are compiled to executable binaries. While bash scripts, etc., work fine, it looks like Ansible runner’s \_transfer\_str() method that’…

---

## [Help executing tasks serially over a dynamic set of groups](https://forum.ansible.com/t/help-executing-tasks-serially-over-a-dynamic-set-of-groups/14401)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating](https://forum.ansible.com/u/Jesse_Keating)\
**Replies:** 3\
**Last updated:** [January 23, 2014, 6:57pm UTC](https://forum.ansible.com/t/help-executing-tasks-serially-over-a-dynamic-set-of-groups/14401 "2014-01-23T18:57:14Z")

</div>

Here's a fun scenario. Our inventory is divided up into multiple environments, that is when we execute our inventory plugin, we provide an ENV\_NAME environment variable to tell the plugin which environment to load. Wit…

---

## [Using Ansible for compliance checking](https://forum.ansible.com/t/using-ansible-for-compliance-checking/14392)

<div class="topic-metadata">

**Author:** [@Mark\_Phillips](https://forum.ansible.com/u/Mark_Phillips)\
**Replies:** 8\
**Last updated:** [January 23, 2014, 5:20pm UTC](https://forum.ansible.com/t/using-ansible-for-compliance-checking/14392 "2014-01-23T17:20:00Z")

</div>

Hello Folks, I’m working on a configuration management proposal for a client at the moment - and I’m planning on using Ansible (I have ‘prior’). Part of their requirements is patching - and having done something similar…

---

## [Getting list of all hosts after using '--limit' switch or 'serial' command](https://forum.ansible.com/t/getting-list-of-all-hosts-after-using-limit-switch-or-serial-command/14408)

<div class="topic-metadata">

**Author:** [@Martynas\_Mickevicius](https://forum.ansible.com/u/Martynas_Mickevicius)\
**Replies:** 1\
**Last updated:** [January 23, 2014, 3:50pm UTC](https://forum.ansible.com/t/getting-list-of-all-hosts-after-using-limit-switch-or-serial-command/14408 "2014-01-23T15:50:04Z")

</div>

Hi, is there a way to get a list of all the hosts that the playbook is being executed on? I know there is a way to get all the hosts in a particular group by using ‘groups\[‘my\_group’\]’ variable. But this list does not …

---

## [Split up an ansible inventory](https://forum.ansible.com/t/split-up-an-ansible-inventory/14405)

<div class="topic-metadata">

**Author:** [@Guillaume\_Subiron](https://forum.ansible.com/u/Guillaume_Subiron)\
**Replies:** 5\
**Last updated:** [January 23, 2014, 3:49pm UTC](https://forum.ansible.com/t/split-up-an-ansible-inventory/14405 "2014-01-23T15:49:26Z")

</div>

Hi, I have my production inventory in one file (inventory/prod) and I'm looking for a way to split up this file. For instance, I would like to have a "servers" file and a "groups" file. The important thing is that I …

---

## [EC2 create instance with non-default root volume size](https://forum.ansible.com/t/ec2-create-instance-with-non-default-root-volume-size/14350)

<div class="topic-metadata">

**Author:** [@Chris\_Shenton](https://forum.ansible.com/u/Chris_Shenton)\
**Replies:** 4\
**Last updated:** [January 23, 2014, 1:47pm UTC](https://forum.ansible.com/t/ec2-create-instance-with-non-default-root-volume-size/14350 "2014-01-23T13:47:11Z")

</div>

In the AWS console, I can create an EC2 instance and change the size of the root volume from its default size; we frequently create instances with single volumes of (say) 100GB for our users. The ‘ec2’ module doesn’t ha…

---

## [mysql\_users module with hashed passwords](https://forum.ansible.com/t/mysql-users-module-with-hashed-passwords/14407)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 0\
**Last updated:** [January 23, 2014, 1:00pm UTC](https://forum.ansible.com/t/mysql-users-module-with-hashed-passwords/14407 "2014-01-23T13:00:16Z")

</div>

Hi ansible folk, I’m using the mysql\_users module to manage my various database users. I see that the “password” option only takes clear-text passwords as an option. Is there any way to work with passwords that are alre…

---

## [Counter in with\_items loop ?](https://forum.ansible.com/t/counter-in-with-items-loop/14406)

<div class="topic-metadata">

**Author:** [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Replies:** 2\
**Last updated:** [January 23, 2014, 12:42pm UTC](https://forum.ansible.com/t/counter-in-with-items-loop/14406 "2014-01-23T12:42:39Z")

</div>

Hi list, Is there a way to have a counter with the with\_items loop ? The idea would be to create several cron job not starting all at the same time. tasks: name: “Install some cron jobs” cron: name=“job {{ item }}”…

---

## [uses\_facts in role meta ?](https://forum.ansible.com/t/uses-facts-in-role-meta/14382)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [January 23, 2014, 11:46am UTC](https://forum.ansible.com/t/uses-facts-in-role-meta/14382 "2014-01-23T11:46:52Z")

</div>

Hi It may be useful to know if a role depends on facts. IMHO this is not yet implemented. roles/meta/main.yml uses\_facts: yes Feedback?

---

## [A way to get list of hosts after limiting with '--limit' or 'serial'](https://forum.ansible.com/t/a-way-to-get-list-of-hosts-after-limiting-with-limit-or-serial/14402)

<div class="topic-metadata">

**Author:** [@Martynas\_Mickevicius](https://forum.ansible.com/u/Martynas_Mickevicius)\
**Replies:** 0\
**Last updated:** [January 23, 2014, 8:26am UTC](https://forum.ansible.com/t/a-way-to-get-list-of-hosts-after-limiting-with-limit-or-serial/14402 "2014-01-23T08:26:03Z")

</div>

Hi, I am looking for a way to get a list of hosts on which the playbook is being executed after limiting original inventory with ‘–limit’ flag or ‘serial’ command in the playbook. I have found that it is possible to ge…

---

## [git module hangs on clone with ansible-playbook, but works for ansible with same arguments](https://forum.ansible.com/t/git-module-hangs-on-clone-with-ansible-playbook-but-works-for-ansible-with-same-arguments/12094)

<div class="topic-metadata">

**Author:** [@nflacco](https://forum.ansible.com/u/nflacco)\
**Replies:** 17\
**Last updated:** [January 23, 2014, 1:02am UTC](https://forum.ansible.com/t/git-module-hangs-on-clone-with-ansible-playbook-but-works-for-ansible-with-same-arguments/12094 "2014-01-23T01:02:23Z")

</div>

I’m having trouble with the git module. It works via ansible but not ansible playbook. The arguments are exactly the same. I can ssh into the server and do a git clone from the command line in the target folder as well. …

---

## [git repo to localhost](https://forum.ansible.com/t/git-repo-to-localhost/14400)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 0\
**Last updated:** [January 22, 2014, 9:22pm UTC](https://forum.ansible.com/t/git-repo-to-localhost/14400 "2014-01-22T21:22:59Z")

</div>

When I run this task on localhost (my mac) name: install the original (shawn starkey written) ldap library from git git: repo={{ git\_url\_ldap\_original\_lib\_repo }} dest={{ ldap\_original\_lib\_home\_parent }}/ldap depth=1 …

---

## [Odd issue with the service module - How to get more visibility?](https://forum.ansible.com/t/odd-issue-with-the-service-module-how-to-get-more-visibility/14372)

<div class="topic-metadata">

**Author:** [@Paul\_Pearcy](https://forum.ansible.com/u/Paul_Pearcy)\
**Replies:** 3\
**Last updated:** [January 22, 2014, 8:38pm UTC](https://forum.ansible.com/t/odd-issue-with-the-service-module-how-to-get-more-visibility/14372 "2014-01-22T20:38:32Z")

</div>

Hi, First off, wanted to say thanks to everyone involved for a pretty rockin tool. I’m struggling with an issue that seemed to crop up out of nowhere that I am having trouble debugging. It is likely something I hosed u…

---

## [push configuration and fallback if wrong](https://forum.ansible.com/t/push-configuration-and-fallback-if-wrong/14399)

<div class="topic-metadata">

**Author:** [@Samuele\_Giovanni\_Ton](https://forum.ansible.com/u/Samuele_Giovanni_Ton)\
**Replies:** 2\
**Last updated:** [January 22, 2014, 4:19pm UTC](https://forum.ansible.com/t/push-configuration-and-fallback-if-wrong/14399 "2014-01-22T16:19:20Z")

</div>

hello all, i started recently to look at ansible and, so far, it’s a great tool that amazes me and helps me in my work. At the moment i’m puzzled with the following problem and i’m not sure if ansible is able to solv…

---

## [stumped by Ansible/python/pyrax...](https://forum.ansible.com/t/stumped-by-ansible-python-pyrax/14395)

<div class="topic-metadata">

**Author:** [@Buddy\_D](https://forum.ansible.com/u/Buddy_D)\
**Replies:** 4\
**Last updated:** [January 22, 2014, 2:39pm UTC](https://forum.ansible.com/t/stumped-by-ansible-python-pyrax/14395 "2014-01-22T14:39:28Z")

</div>

Hi all, Working to convert bash scripts to Ansible, I’ve been wrestling with the following ( and having no luck ). It runs perfectly from a shell CLI so the problem appears to be my Ansible syntax.Specifically, the f.wr…

---

## [/etc/hosts substitute for dynamic hosts](https://forum.ansible.com/t/etc-hosts-substitute-for-dynamic-hosts/14397)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 1\
**Last updated:** [January 21, 2014, 11:44pm UTC](https://forum.ansible.com/t/etc-hosts-substitute-for-dynamic-hosts/14397 "2014-01-21T23:44:04Z")

</div>

Is there a standard way of supplying the hosts to ip mapping without relying on /etc/hosts? My typical ansible-playbook procedure is 1. Create a vm 2. Add ip fqdn hostname line to /etc/hosts 3. Add hostname to group…

---

## [Include Files for Role Variables](https://forum.ansible.com/t/include-files-for-role-variables/14368)

<div class="topic-metadata">

**Author:** [@AmiableAlbion](https://forum.ansible.com/u/AmiableAlbion)\
**Replies:** 14\
**Last updated:** [January 21, 2014, 8:26pm UTC](https://forum.ansible.com/t/include-files-for-role-variables/14368 "2014-01-21T20:26:49Z")

</div>

I am struggling to break out variables in the “var” directory of roles into individual files I have tried and continue to get tracebacks. I thought this would be straight forward after seeing the documentation for inclu…

---

## [Add dns name support to ec2](https://forum.ansible.com/t/add-dns-name-support-to-ec2/14394)

<div class="topic-metadata">

**Author:** [@Alexander\_Petrovsky](https://forum.ansible.com/u/Alexander_Petrovsky)\
**Replies:** 0\
**Last updated:** [January 21, 2014, 7:12pm UTC](https://forum.ansible.com/t/add-dns-name-support-to-ec2/14394 "2014-01-21T19:12:30Z")

</div>

Hello! About 5 days ago I submitted the pull request (#5663) that add support dns name to ec2 module. Can anyone look at the code and make review. Is it good idea or not?

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

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