# Latest

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

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

**Page:** 926

---

## [Trying not to repeat vars but keep roles general purpose.](https://forum.ansible.com/t/trying-not-to-repeat-vars-but-keep-roles-general-purpose/16299)

<div class="topic-metadata">

**Author:** [@Owen\_Zanzal](https://forum.ansible.com/u/Owen_Zanzal)\
**Replies:** 4\
**Last updated:** [October 24, 2014, 9:55pm UTC](https://forum.ansible.com/t/trying-not-to-repeat-vars-but-keep-roles-general-purpose/16299 "2014-10-24T21:55:41Z")

</div>

Hello, I have been using Ansible in production for about a year now. I use it for both configuration management and deployments. I created a bunch of cruft since I was learning Ansible at the time and now trying to clea…

---

## [Module aliases, and the module docs formatter showing In core vs extras, etc](https://forum.ansible.com/t/module-aliases-and-the-module-docs-formatter-showing-in-core-vs-extras-etc/16599)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [October 24, 2014, 5:53pm UTC](https://forum.ansible.com/t/module-aliases-and-the-module-docs-formatter-showing-in-core-vs-extras-etc/16599 "2014-10-24T17:53:14Z")

</div>

As requested by Monty and Eric, among others, I’m proposing the following on the development branch: the module docs formatter shows “core” vs “extras” modules in the index in different columns. the plugin loader …

---

## [fetch module - hostname instead of ip in the filesystem tree?](https://forum.ansible.com/t/fetch-module-hostname-instead-of-ip-in-the-filesystem-tree/16575)

<div class="topic-metadata">

**Author:** [@Michael\_Warkentin](https://forum.ansible.com/u/Michael_Warkentin)\
**Replies:** 4\
**Last updated:** [October 24, 2014, 3:20pm UTC](https://forum.ansible.com/t/fetch-module-hostname-instead-of-ip-in-the-filesystem-tree/16575 "2014-10-24T15:20:17Z")

</div>

Hello, I was wondering if there’s any way to use the hostname of a server rather than it’s IP to generate the file system tree when using the fetch module? Our ansible inventories are set up like so: aqua-notif-wrkr-01…

---

## [how to handle repeated module parameters?](https://forum.ansible.com/t/how-to-handle-repeated-module-parameters/16569)

<div class="topic-metadata">

**Author:** [@Tomas\_Karasek](https://forum.ansible.com/u/Tomas_Karasek)\
**Replies:** 3\
**Last updated:** [October 24, 2014, 1:38pm UTC](https://forum.ansible.com/t/how-to-handle-repeated-module-parameters/16569 "2014-10-24T13:38:14Z")

</div>

Hello, I am testing OpenStack modules and I wonder if it’s possible to somehow “pre-define” a dictionary for a resource to avoid repeating parameter declarations. I have:

---

## [Ansible and make all command](https://forum.ansible.com/t/ansible-and-make-all-command/16594)

<div class="topic-metadata">

**Author:** [@Federico\_Aguirre](https://forum.ansible.com/u/Federico_Aguirre)\
**Replies:** 3\
**Last updated:** [October 24, 2014, 1:36pm UTC](https://forum.ansible.com/t/ansible-and-make-all-command/16594 "2014-10-24T13:36:11Z")

</div>

Hi there… I’m trying with a playbook in where i have to do a “make all”. The problem here is that after 5 or 6 minutes running, it finishes with error: “FATAL: all hosts have already failed – aborting” But there’s not…

---

## [Continu running tasks after a failure without ignoring?](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574)

<div class="topic-metadata">

**Author:** [@Matt\_Madrid](https://forum.ansible.com/u/Matt_Madrid)\
**Replies:** 3\
**Last updated:** [October 24, 2014, 1:33pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574 "2014-10-24T13:33:52Z")

</div>

I’d like to run a playbook and have ansible continue on to the next task when a task fails. This way I get a play summary showing exactly how many tasks failed and how many succeeded and I can pick out specific tasks to …

---

## [Error running ec2.py script](https://forum.ansible.com/t/error-running-ec2-py-script/16590)

<div class="topic-metadata">

**Author:** [@Bruce\_Bundy](https://forum.ansible.com/u/Bruce_Bundy)\
**Replies:** 4\
**Last updated:** [October 24, 2014, 1:30pm UTC](https://forum.ansible.com/t/error-running-ec2-py-script/16590 "2014-10-24T13:30:12Z")

</div>

I have a freshly installed Ubuntu 14.04 LTS instance running ansible 1.5.4 and python 2.7.6 In general my ansible playbooks are running normally, using modules such as apt, gem, pip, authorized\_key, user, etc. Now I am…

---

## [Retrieving Organization name in playbook - Ansible Tower](https://forum.ansible.com/t/retrieving-organization-name-in-playbook-ansible-tower/16577)

<div class="topic-metadata">

**Author:** [@Martin\_Herbert](https://forum.ansible.com/u/Martin_Herbert)\
**Replies:** 2\
**Last updated:** [October 24, 2014, 1:29pm UTC](https://forum.ansible.com/t/retrieving-organization-name-in-playbook-ansible-tower/16577 "2014-10-24T13:29:03Z")

</div>

Hi Guys, I’m writing an Ansible playbook that relies on some organizational differences (mainly XML files). Looking through the documentation I can’t see anything that lists all of the global variables that can be used …

---

## [Issue creating Cloudwatch alarms](https://forum.ansible.com/t/issue-creating-cloudwatch-alarms/16588)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 2\
**Last updated:** [October 24, 2014, 1:22pm UTC](https://forum.ansible.com/t/issue-creating-cloudwatch-alarms/16588 "2014-10-24T13:22:11Z")

</div>

I’m trying to create some alarms using the metrics module. I’m using pretty much the exact example given in the docs name: create alarm ec2\_metric\_alarm: state: present region: us-west-2 name: “cpu-low” metric: “C…

---

## [How are debug: var=vars / var=hostvars supposed to work?](https://forum.ansible.com/t/how-are-debug-var-vars-var-hostvars-supposed-to-work/16523)

<div class="topic-metadata">

**Author:** [@Ross\_Rosen](https://forum.ansible.com/u/Ross_Rosen)\
**Replies:** 5\
**Last updated:** [October 24, 2014, 1:21pm UTC](https://forum.ansible.com/t/how-are-debug-var-vars-var-hostvars-supposed-to-work/16523 "2014-10-24T13:21:37Z")

</div>

Per the documentation and this thread: https://groups.google.com/d/msg/ansible-project/rE8aVu4LNS0/sGKweGPvffoJ I think that debug: var=hostvars should print all the variables in scope (for each host). I’m not sure what…

---

## [A module to get Ansible facts from SNMP devices - Feedback requested](https://forum.ansible.com/t/a-module-to-get-ansible-facts-from-snmp-devices-feedback-requested/16584)

<div class="topic-metadata">

**Author:** [@Patrick\_Ogenstad](https://forum.ansible.com/u/Patrick_Ogenstad)\
**Replies:** 2\
**Last updated:** [October 24, 2014, 7:17am UTC](https://forum.ansible.com/t/a-module-to-get-ansible-facts-from-snmp-devices-feedback-requested/16584 "2014-10-24T07:17:53Z")

</div>

Hi, I’d like to get some feedback on an Ansible module I’ve written. It can target SNMP devices and collect information which it stores as Ansible facts. There is some more information about the module here: http://ne…

---

## [service name=custom.service1 state=present ???](https://forum.ansible.com/t/service-name-custom-service1-state-present/16571)

<div class="topic-metadata">

**Author:** [@MarcAnthony](https://forum.ansible.com/u/MarcAnthony)\
**Replies:** 2\
**Last updated:** [October 23, 2014, 6:58pm UTC](https://forum.ansible.com/t/service-name-custom-service1-state-present/16571 "2014-10-23T18:58:37Z")

</div>

Hello I have a bunch of custom services linked to a service aka jbossas eg. chkconfig --list | grep jboss jboss.jvm1 0:off 1:off 2:off 3:off 4:off 5:off 6:off jboss.jvm2 0:off 1:off 2:off 3:off 4:off 5:off 6:off Is…

---

## [advice requested: multiple repository pull-request](https://forum.ansible.com/t/advice-requested-multiple-repository-pull-request/16589)

<div class="topic-metadata">

**Author:** [@Walter\_Franzini](https://forum.ansible.com/u/Walter_Franzini)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 5:06pm UTC](https://forum.ansible.com/t/advice-requested-multiple-repository-pull-request/16589 "2014-10-23T17:06:51Z")

</div>

Hi, I'm going to look if I can implement vault encryption for files and templates, however I'm not sure out to ask for pull-request of changes to copy/templates modules and to the relevant tests, since tests/ is in a…

---

## [Ansible support for Database, WMQ and WMB Deployments](https://forum.ansible.com/t/ansible-support-for-database-wmq-and-wmb-deployments/16583)

<div class="topic-metadata">

**Author:** [@Kuli\_Singh](https://forum.ansible.com/u/Kuli_Singh)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 5:04pm UTC](https://forum.ansible.com/t/ansible-support-for-database-wmq-and-wmb-deployments/16583 "2014-10-23T17:04:39Z")

</div>

Hello there I am a seasoned DevOps veteran, and am getting interested in Ansible at the moment. One question I have is about deploying artefacts in enterprise environments with a mutli-technology stack: for example in …

---

## [\[fetch\] hostname in tree instead of IP?](https://forum.ansible.com/t/fetch-hostname-in-tree-instead-of-ip/16591)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [October 23, 2014, 4:50pm UTC](https://forum.ansible.com/t/fetch-hostname-in-tree-instead-of-ip/16591 "2014-10-23T16:50:09Z")

</div>

Please see the response in the other thread. Thanks!

---

## [Odd Quirk (probably me being dumb)](https://forum.ansible.com/t/odd-quirk-probably-me-being-dumb/16568)

<div class="topic-metadata">

**Author:** [@Jaq\_Flash](https://forum.ansible.com/u/Jaq_Flash)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 4:00pm UTC](https://forum.ansible.com/t/odd-quirk-probably-me-being-dumb/16568 "2014-10-23T16:00:23Z")

</div>

Firstly, Love Ansible :slight\_smile: made my life so much easier… Up until this morning :wink: We’ve been running a playbook for a while (under Ansible 1.5.5 on CentOS 6.5) that copies a zip file to a remote machine (A…

---

## [lineinfile quoting issues](https://forum.ansible.com/t/lineinfile-quoting-issues/16587)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 1:45pm UTC](https://forum.ansible.com/t/lineinfile-quoting-issues/16587 "2014-10-23T13:45:32Z")

</div>

Hi I have this task: \` name: Edit DHCP Client settings lineinfile: dest=/etc/dhcp/dhclient.conf line={{ item }} state=present with\_items: supersede domain-search “example.com”,“local.example.com”; default domain-na…

---

## [Iterating over complex dictionary, but only when key exists](https://forum.ansible.com/t/iterating-over-complex-dictionary-but-only-when-key-exists/16570)

<div class="topic-metadata">

**Author:** [@Dane](https://forum.ansible.com/u/Dane)\
**Replies:** 5\
**Last updated:** [October 23, 2014, 1:18pm UTC](https://forum.ansible.com/t/iterating-over-complex-dictionary-but-only-when-key-exists/16570 "2014-10-23T13:18:56Z")

</div>

Hello list, I've got a complex dictionary I'm using to configure haproxy with, which looks something like this (non-relevant portions have been removed): { "l7config": { "stats\_password": "AirwavesEyedr…

---

## [Split between CI on our servers, and releases to clients](https://forum.ansible.com/t/split-between-ci-on-our-servers-and-releases-to-clients/16585)

<div class="topic-metadata">

**Author:** [@Kuli\_Singh](https://forum.ansible.com/u/Kuli_Singh)\
**Replies:** 4\
**Last updated:** [October 22, 2014, 11:26pm UTC](https://forum.ansible.com/t/split-between-ci-on-our-servers-and-releases-to-clients/16585 "2014-10-22T23:26:04Z")

</div>

Hi Our software is created using our CI processes: we build and deploy artefacts of multiple technologies and test in the cloud. However, when we come to deliver the s/w to the customer, we end up having zip files whic…

---

## [Organize the template directory within the roles folder](https://forum.ansible.com/t/organize-the-template-directory-within-the-roles-folder/16551)

<div class="topic-metadata">

**Author:** [@Ajay\_Divakaran](https://forum.ansible.com/u/Ajay_Divakaran)\
**Replies:** 1\
**Last updated:** [October 22, 2014, 8:15pm UTC](https://forum.ansible.com/t/organize-the-template-directory-within-the-roles-folder/16551 "2014-10-22T20:15:44Z")

</div>

Hi all, According to the documentation the template files should sit in the top directory of the templates folder for a given role. Does Ansible recognize the template files if the template directory is organized into s…

---

## [docker module introduced breaking change in v 1.8](https://forum.ansible.com/t/docker-module-introduced-breaking-change-in-v-1-8/16581)

<div class="topic-metadata">

**Author:** [@Hans\_Donner](https://forum.ansible.com/u/Hans_Donner)\
**Replies:** 1\
**Last updated:** [October 22, 2014, 7:28pm UTC](https://forum.ansible.com/t/docker-module-introduced-breaking-change-in-v-1-8/16581 "2014-10-22T19:28:16Z")

</div>

With v1.8 the format of the env parameter is changed from list to dict. The change was done after a bug report re the following (ansible/ansible#8199): env="PG\_ROLE=master, PG\_PORT=5432, PG\_ENABLE\_ARCHIVING=1, PG\_ENABL…

---

## [Minimize ssh connections number](https://forum.ansible.com/t/minimize-ssh-connections-number/16547)

<div class="topic-metadata">

**Author:** [@Alexey\_Wasilyev1](https://forum.ansible.com/u/Alexey_Wasilyev1)\
**Replies:** 5\
**Last updated:** [October 22, 2014, 6:13pm UTC](https://forum.ansible.com/t/minimize-ssh-connections-number/16547 "2014-10-22T18:13:07Z")

</div>

Hello, everybody! I use ansible for everyday production servers maintenance. During run, ansible makes a lot of ssh connections to every server, every connection is logged and according to internal policy I have to wri…

---

## [Need serial at the task level for delegate\_to or another solution](https://forum.ansible.com/t/need-serial-at-the-task-level-for-delegate-to-or-another-solution/16564)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 4\
**Last updated:** [October 22, 2014, 6:02pm UTC](https://forum.ansible.com/t/need-serial-at-the-task-level-for-delegate-to-or-another-solution/16564 "2014-10-22T18:02:56Z")

</div>

ansible has a “serial” option at the playbook level but not at the tasks level. I feel like i need a similar construct to avoid race conditions when I have multiple hosts delegate\_to something. Perhaps there is an existi…

---

## [Command task with args](https://forum.ansible.com/t/command-task-with-args/16532)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 4\
**Last updated:** [October 22, 2014, 7:59am UTC](https://forum.ansible.com/t/command-task-with-args/16532 "2014-10-22T07:59:29Z")

</div>

I have a task like this: name: Run migrations sudo: yes sudo\_user: postgres command: “goose -env foo up” args: chdir: “{{ migrations\_dir }}” when I updated to the head of ansible/devel (1d04e4b3d27b0ae16619eda413…

---

## [Distributing custom modules and plugins](https://forum.ansible.com/t/distributing-custom-modules-and-plugins/16572)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 1\
**Last updated:** [October 22, 2014, 3:50am UTC](https://forum.ansible.com/t/distributing-custom-modules-and-plugins/16572 "2014-10-22T03:50:28Z")

</div>

Hi Is there a good way (i.e. something like ansible-galaxy) to distribute custom modules and plugins (filter\_plugins, etc)?

---

## [Missing sudo password](https://forum.ansible.com/t/missing-sudo-password/16539)

<div class="topic-metadata">

**Author:** [@Alain\_Kreienbuhl](https://forum.ansible.com/u/Alain_Kreienbuhl)\
**Replies:** 3\
**Last updated:** [October 22, 2014, 3:46am UTC](https://forum.ansible.com/t/missing-sudo-password/16539 "2014-10-22T03:46:53Z")

</div>

Hello, I’m very puzzled I run usually all my playbooks with a user (user\_sys) having full no passwd sudo privileges . Now for the deployment of app I wanted to use the a user (user\_adm) having sudo privileges only to …

---

## [Random Parsing Problems in EC2?](https://forum.ansible.com/t/random-parsing-problems-in-ec2/16558)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 3\
**Last updated:** [October 22, 2014, 3:46am UTC](https://forum.ansible.com/t/random-parsing-problems-in-ec2/16558 "2014-10-22T03:46:05Z")

</div>

This isn't a problem in Ansible (I pretty sure) but I'm curious whether other people have seen this. (This is with Ansible 1.7.2, but I don't think it matters). I have a playbook containing a bunch of tasks. No big de…

---

## [Suspend/resume ec2 autoscaling](https://forum.ansible.com/t/suspend-resume-ec2-autoscaling/16576)

<div class="topic-metadata">

**Author:** [@Filipe\_Felisbino](https://forum.ansible.com/u/Filipe_Felisbino)\
**Replies:** 1\
**Last updated:** [October 21, 2014, 9:38pm UTC](https://forum.ansible.com/t/suspend-resume-ec2-autoscaling/16576 "2014-10-21T21:38:16Z")

</div>

One of our ASG’s uses ELB as it’s health check. This is because sometimes a new instance is started but not completely set-up causing, among other problems, the average cpu utilization to drop which will eventually avoid…

---

## [unregister a variable ?](https://forum.ansible.com/t/unregister-a-variable/16556)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 3\
**Last updated:** [October 21, 2014, 5:54pm UTC](https://forum.ansible.com/t/unregister-a-variable/16556 "2014-10-21T17:54:09Z")

</div>

Hi all, is it possible to “clear” or “unregister” a variable ? I have this situation: deploy.yml include “deploy-apache.yml” include “deploy-tomcat.yml” deploy-apache and deploy-tomcat both have a dependency to a “…

---

## [launch / shutdown a whole application](https://forum.ansible.com/t/launch-shutdown-a-whole-application/16515)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 2\
**Last updated:** [October 21, 2014, 3:53pm UTC](https://forum.ansible.com/t/launch-shutdown-a-whole-application/16515 "2014-10-21T15:53:10Z")

</div>

Hi, we have a huge application consisting of several components (Apache, Tomcat, Weblogic, …Database) To shutdown the system properly we want to follow a sequence starting at the “top” (Apache) down to the backend (Dat…

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

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