# Latest

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

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

**Page:** 1014

---

## [module for AWS elb creation](https://forum.ansible.com/t/module-for-aws-elb-creation/13853)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 1\
**Last updated:** [November 6, 2013, 6:43am UTC](https://forum.ansible.com/t/module-for-aws-elb-creation/13853 "2013-11-06T06:43:10Z")

</div>

Hi, I recently came across ec2\_elb module, using which I could register or de-register an instance with an existing elb. I would like to know whether there is any module available to create a new ELB and if not, how to…

---

## [Using inventory\_hostnames in lookup()](https://forum.ansible.com/t/using-inventory-hostnames-in-lookup/13837)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 2\
**Last updated:** [November 5, 2013, 11:45pm UTC](https://forum.ansible.com/t/using-inventory-hostnames-in-lookup/13837 "2013-11-05T23:45:23Z")

</div>

Hi, My infrastructure has separate “clusters” of interconnected machines. For example, several loadbalancer / backend servers combinations of the same kind. Such a host would have both a group for its cluster and a grou…

---

## [Installing via 'sudo yum install ansible' on REL 6.3 results in 'Requires: python-jinja2'](https://forum.ansible.com/t/installing-via-sudo-yum-install-ansible-on-rel-6-3-results-in-requires-python-jinja2/13852)

<div class="topic-metadata">

**Author:** [@Kashyap\_Bhatt](https://forum.ansible.com/u/Kashyap_Bhatt)\
**Replies:** 0\
**Last updated:** [November 5, 2013, 10:52pm UTC](https://forum.ansible.com/t/installing-via-sudo-yum-install-ansible-on-rel-6-3-results-in-requires-python-jinja2/13852 "2013-11-05T22:52:43Z")

</div>

I had the same issue, I found python-jinja2 in “Optional” repo. Then I had some issues with public key of the package, which were solved (read ignored) by adding --nogpgcheck to yum install. Entry from /etc/yum.repos.d…

---

## [how to get rid of ascii art (horse or cow) in output](https://forum.ansible.com/t/how-to-get-rid-of-ascii-art-horse-or-cow-in-output/13830)

<div class="topic-metadata">

**Author:** [@Mario\_Gutierrez](https://forum.ansible.com/u/Mario_Gutierrez)\
**Replies:** 4\
**Last updated:** [November 5, 2013, 8:31pm UTC](https://forum.ansible.com/t/how-to-get-rid-of-ascii-art-horse-or-cow-in-output/13830 "2013-11-05T20:31:06Z")

</div>

As cute as the ascii art is, it takes up too much vertical space on 80x25 terminal. Is there a way to disable the ascii art in the output?

---

## [Conditonally run task based on wether a variable has been set](https://forum.ansible.com/t/conditonally-run-task-based-on-wether-a-variable-has-been-set/13844)

<div class="topic-metadata">

**Author:** [@Torrance\_Hodgson](https://forum.ansible.com/u/Torrance_Hodgson)\
**Replies:** 2\
**Last updated:** [November 5, 2013, 6:50am UTC](https://forum.ansible.com/t/conditonally-run-task-based-on-wether-a-variable-has-been-set/13844 "2013-11-05T06:50:46Z")

</div>

Hi all, This should be simple to solve: I want run a task only if a variable is set (by providing the variable on the command line). How best to do this? The following doesn’t work: name: Set mysql root password mys…

---

## [Loading a varible](https://forum.ansible.com/t/loading-a-varible/13799)

<div class="topic-metadata">

**Author:** [@mtovey](https://forum.ansible.com/u/mtovey)\
**Replies:** 11\
**Last updated:** [November 5, 2013, 4:09am UTC](https://forum.ansible.com/t/loading-a-varible/13799 "2013-11-05T04:09:19Z")

</div>

I am trying to load a variable with information derived from the inventory groups that servers are members of. I have an inventory file that looks like the following: \[group1\] server1 server2 server3 \[group2\] serve…

---

## [Setting vars conditionally within a \*role\*](https://forum.ansible.com/t/setting-vars-conditionally-within-a-role/13728)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 12\
**Last updated:** [November 4, 2013, 11:33pm UTC](https://forum.ansible.com/t/setting-vars-conditionally-within-a-role/13728 "2013-11-04T23:33:56Z")

</div>

The manual has examples on setting variables conditionally within a playbook. e.g. - hosts: all remote\_user: root vars\_files: - "vars/common.yml" - \[ "vars/{{ ansible\_os\_family }}.yml", "vars/os\_defaults.yml…

---

## [Evaluating variables](https://forum.ansible.com/t/evaluating-variables/13839)

<div class="topic-metadata">

**Author:** [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Replies:** 1\
**Last updated:** [November 4, 2013, 11:30pm UTC](https://forum.ansible.com/t/evaluating-variables/13839 "2013-11-04T23:30:14Z")

</div>

I was wondering if there was some way to “evaluate” variables (like the python eval function). For instance, I have one use case where I set shared memory for PostgreSQL as “2GB” and want to adapt the kernel.shmmax to f…

---

## [apt\_key on ubuntu](https://forum.ansible.com/t/apt-key-on-ubuntu/13836)

<div class="topic-metadata">

**Author:** [@Jean\_Philippe\_Caruan](https://forum.ansible.com/u/Jean_Philippe_Caruan)\
**Replies:** 5\
**Last updated:** [November 4, 2013, 11:28pm UTC](https://forum.ansible.com/t/apt-key-on-ubuntu/13836 "2013-11-04T23:28:44Z")

</div>

Hi, I'm trying to install collectd on ubuntu but I have issues with downloading apt key 3D3B6BD098080A60: I tried this (similar in my mind to "apt-key adv --keyserver keyserver.ubuntu.com --recv 3D3B6BD098080A60") -…

---

## [Ansible in a non-standard linux environment.](https://forum.ansible.com/t/ansible-in-a-non-standard-linux-environment/11605)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 17\
**Last updated:** [November 4, 2013, 11:24pm UTC](https://forum.ansible.com/t/ansible-in-a-non-standard-linux-environment/11605 "2013-11-04T23:24:02Z")

</div>

I’ve been reviewing Ansible and have really liked what I’ve seen. I’m working in a company that has a rather non-standard Linux environment though. To use Ansible I need to address a few rough spots and unfortunately I …

---

## [\`register\` with \`with\_items\` not working as expected](https://forum.ansible.com/t/register-with-with-items-not-working-as-expected/13833)

<div class="topic-metadata">

**Author:** [@Fabio\_Kreusch](https://forum.ansible.com/u/Fabio_Kreusch)\
**Replies:** 1\
**Last updated:** [November 4, 2013, 11:19pm UTC](https://forum.ansible.com/t/register-with-with-items-not-working-as-expected/13833 "2013-11-04T23:19:57Z")

</div>

Hi guys! I’m new to Ansible, and I’m working on my first playbook. I have something like this: name: known\_hosts | keyscan command: “ssh-keyscan -H {{ item }}” with\_items: known\_hosts register: known\_hosts\_keys n…

---

## [Announcing Ansible 1.3.4](https://forum.ansible.com/t/announcing-ansible-1-3-4/13820)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 5\
**Last updated:** [November 4, 2013, 11:37am UTC](https://forum.ansible.com/t/announcing-ansible-1-3-4/13820 "2013-11-04T11:37:07Z")

</div>

We’ve released v1.3.4, which is now available on PyPi and should be available in the fedora/EPEL testing repositories. This release fixes two minor bugs: An error while pushing a 0-length file out when using accelerate…

---

## [file module f4b59fe285b436dbcbc3b83982408313c97a2e7a](https://forum.ansible.com/t/file-module-f4b59fe285b436dbcbc3b83982408313c97a2e7a/13832)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [November 4, 2013, 2:10am UTC](https://forum.ansible.com/t/file-module-f4b59fe285b436dbcbc3b83982408313c97a2e7a/13832 "2013-11-04T02:10:48Z")

</div>

Hi I came across a code block, which makes no sense to me (yet): It was introduced with this commit https://github.com/ansible/ansible/commit/f4b59fe285b436dbcbc3b83982408313c97a2e7a Line 187-197 if prev\_state i…

---

## [Unexpected Behavior from Cron Module](https://forum.ansible.com/t/unexpected-behavior-from-cron-module/13822)

<div class="topic-metadata">

**Author:** [@Casey\_Huggins](https://forum.ansible.com/u/Casey_Huggins)\
**Replies:** 3\
**Last updated:** [November 3, 2013, 7:46pm UTC](https://forum.ansible.com/t/unexpected-behavior-from-cron-module/13822 "2013-11-03T19:46:10Z")

</div>

I noticed that the following task always results in a ‘changed’ message from my plays: name: remove cron cron: cron\_file=mycronfile state=absent This appears to be due to this line in the cron module: https://github…

---

## [Give a module an ansible group?](https://forum.ansible.com/t/give-a-module-an-ansible-group/13827)

<div class="topic-metadata">

**Author:** [@Curtis](https://forum.ansible.com/u/Curtis)\
**Replies:** 2\
**Last updated:** [November 3, 2013, 3:42pm UTC](https://forum.ansible.com/t/give-a-module-an-ansible-group/13827 "2013-11-03T15:42:38Z")

</div>

Hi All, I would like something to happen on a server based on another group. Well I think that’s what I want. :slight\_smile: ie. run the below on the proxy node: name: let the proxy node know about the storage nodes …

---

## [Ovirt/RHEV](https://forum.ansible.com/t/ovirt-rhev/12729)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 13\
**Last updated:** [November 2, 2013, 4:59pm UTC](https://forum.ansible.com/t/ovirt-rhev/12729 "2013-11-02T16:59:34Z")

</div>

Hi everyone, I’m currently working om a oVirt/RHEV module and already got some basic things like define vm (currently no disks and nics etc but that will be added later) get the vm’s status and stop or start it ba…

---

## [Creating groups of guest machines on a virtualbox host](https://forum.ansible.com/t/creating-groups-of-guest-machines-on-a-virtualbox-host/13829)

<div class="topic-metadata">

**Author:** [@Grant\_BlahaErath](https://forum.ansible.com/u/Grant_BlahaErath)\
**Replies:** 1\
**Last updated:** [November 2, 2013, 1:06pm UTC](https://forum.ansible.com/t/creating-groups-of-guest-machines-on-a-virtualbox-host/13829 "2013-11-02T13:06:40Z")

</div>

I need advice on how to make a playbook that creates a group of virtual machines on a remote virtualbox host running vagrant. I have a task include that works for one machine at a time using the variable passing form of…

---

## [Trying to add multiline input to file but receiving error](https://forum.ansible.com/t/trying-to-add-multiline-input-to-file-but-receiving-error/13818)

<div class="topic-metadata">

**Author:** [@Eric\_Pingel](https://forum.ansible.com/u/Eric_Pingel)\
**Replies:** 7\
**Last updated:** [November 2, 2013, 1:02pm UTC](https://forum.ansible.com/t/trying-to-add-multiline-input-to-file-but-receiving-error/13818 "2013-11-02T13:02:07Z")

</div>

Trying to use lineinfile to add a multiline entry to a logrotate file. The entry needs to look like the following: /var/www/client/logs/\*log { missingok notifempty sharedscripts compress monthly Keep 20 years wort…

---

## [Background task that runs 'forever'](https://forum.ansible.com/t/background-task-that-runs-forever/13821)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 10\
**Last updated:** [November 2, 2013, 1:00pm UTC](https://forum.ansible.com/t/background-task-that-runs-forever/13821 "2013-11-02T13:00:52Z")

</div>

Is there a way to start a script that runs forever - without passing a phenomenally large number to async? The problem with async is that after the timeout, it calls os.killpg on the process group with SIGKILL, so no ma…

---

## [Problem with variables](https://forum.ansible.com/t/problem-with-variables/13828)

<div class="topic-metadata">

**Author:** [@Patrick\_Callahan](https://forum.ansible.com/u/Patrick_Callahan)\
**Replies:** 1\
**Last updated:** [November 2, 2013, 3:03am UTC](https://forum.ansible.com/t/problem-with-variables/13828 "2013-11-02T03:03:24Z")

</div>

I am having trouble with variables in my playbook. I have included a sample playbook and the output. I am trying to define multiple variables based on distributions and major releases to restrict when the task will be pe…

---

## [Ansible SSH known-hosts.](https://forum.ansible.com/t/ansible-ssh-known-hosts/13757)

<div class="topic-metadata">

**Author:** [@Marcin\_Praczko](https://forum.ansible.com/u/Marcin_Praczko)\
**Replies:** 5\
**Last updated:** [November 2, 2013, 2:46am UTC](https://forum.ansible.com/t/ansible-ssh-known-hosts/13757 "2013-11-02T02:46:05Z")

</div>

Hi, Ansible: 1.3.2 I have a question related how ansible is working with know hosts. I am trying run ansible from jenkins on local VMs managed by vagrant. When I’ve run my playbook from jenkins - I’ve started having …

---

## [Accelerate mode and variables](https://forum.ansible.com/t/accelerate-mode-and-variables/13819)

<div class="topic-metadata">

**Author:** [@Nathan\_Howell](https://forum.ansible.com/u/Nathan_Howell)\
**Replies:** 5\
**Last updated:** [November 2, 2013, 2:44am UTC](https://forum.ansible.com/t/accelerate-mode-and-variables/13819 "2013-11-02T02:44:46Z")

</div>

Should it be possible to enable/disable accelerate mode based on a variable? I’d like to have something like this: In group\_vars/all: accelerate\_mode: true In a playbook: hosts: targets accelerate: “{{ accelerate\_m…

---

## [supervisorctl module](https://forum.ansible.com/t/supervisorctl-module/13824)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 3:01pm UTC](https://forum.ansible.com/t/supervisorctl-module/13824 "2013-11-01T15:01:57Z")

</div>

For those who use this module I was wondering if you could give some feedback on this open issue https://github.com/ansible/ansible/issues/4707 ? In general, I've been having a lot of problems with supervisor due to …

---

## [feature idea: remember the notified handlers in .retry files on fail/error](https://forum.ansible.com/t/feature-idea-remember-the-notified-handlers-in-retry-files-on-fail-error/13776)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 6\
**Last updated:** [November 1, 2013, 10:59am UTC](https://forum.ansible.com/t/feature-idea-remember-the-notified-handlers-in-retry-files-on-fail-error/13776 "2013-11-01T10:59:38Z")

</div>

if ansible fails, ansible creates a retry file. This is nice, but ansible forgets about notified handlers earlier in the play and which should have been executed at the end of the play. What about executing the handlers…

---

## [Ubuntu Release Upgrade](https://forum.ansible.com/t/ubuntu-release-upgrade/13773)

<div class="topic-metadata">

**Author:** [@Paul\_Wolstenholme](https://forum.ansible.com/u/Paul_Wolstenholme)\
**Replies:** 5\
**Last updated:** [November 1, 2013, 10:49am UTC](https://forum.ansible.com/t/ubuntu-release-upgrade/13773 "2013-11-01T10:49:26Z")

</div>

I’m just starting using Ansible a few weeks ago. Using: ansible 1.4 (devel a002a24973) last updated 2013/09/25 17:14:03 (GMT -700) Currently, I’m using it with Vagrant, VirtualBox with Ansible as a provisioner to build…

---

## [Ansible and MySQL 5.6 passwords](https://forum.ansible.com/t/ansible-and-mysql-5-6-passwords/13823)

<div class="topic-metadata">

**Author:** [@Narcis\_Pillao\_Figuer](https://forum.ansible.com/u/Narcis_Pillao_Figuer)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 10:15am UTC](https://forum.ansible.com/t/ansible-and-mysql-5-6-passwords/13823 "2013-11-01T10:15:59Z")

</div>

Hi all, As you know, when you install MySQL 5.6 it sets you DB with a random password stored on /root/.mysql\_secret file. This fact it give me a lot of troubles since I need to edit my Mysql role since before you could …

---

## [Specify Host (inventory) in Python Script](https://forum.ansible.com/t/specify-host-inventory-in-python-script/13411)

<div class="topic-metadata">

**Author:** [@Seumas\_Mackinnon](https://forum.ansible.com/u/Seumas_Mackinnon)\
**Replies:** 8\
**Last updated:** [November 1, 2013, 12:15am UTC](https://forum.ansible.com/t/specify-host-inventory-in-python-script/13411 "2013-11-01T00:15:47Z")

</div>

Hi, I’m trying to create a python script where I can specify the hosts within the script. Something like: webuptime = ansible.runner.Runner( pattern=‘all’, forks=10, module\_name=‘command’, module\_args=‘uptime’, inv…

---

## [s3 module - passing headers for PUT operations](https://forum.ansible.com/t/s3-module-passing-headers-for-put-operations/13815)

<div class="topic-metadata">

**Author:** [@Jake\_Kreider](https://forum.ansible.com/u/Jake_Kreider)\
**Replies:** 1\
**Last updated:** [November 1, 2013, 12:08am UTC](https://forum.ansible.com/t/s3-module-passing-headers-for-put-operations/13815 "2013-11-01T00:08:47Z")

</div>

Amazon S3 uses file metadata for various HTTP headers (cache control, content encoding, etc.), which are provided as HTTP headers when PUTting the file. From what I can tell, the s3 module currently doesn’t provide a way…

---

## [Some 1.4 development branch changes to the way modules share code (feature!)](https://forum.ansible.com/t/some-1-4-development-branch-changes-to-the-way-modules-share-code-feature/13774)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 8\
**Last updated:** [October 31, 2013, 9:44pm UTC](https://forum.ansible.com/t/some-1-4-development-branch-changes-to-the-way-modules-share-code-feature/13774 "2013-10-31T21:44:39Z")

</div>

Previously in Ansible when modules were transferred to remote systems a special string at the bottom of the file was replaced various string contents, those values coming from a file named module\_common.py and also from …

---

## [Toggle to keep ansible scripts after a run.](https://forum.ansible.com/t/toggle-to-keep-ansible-scripts-after-a-run/13817)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 8:19pm UTC](https://forum.ansible.com/t/toggle-to-keep-ansible-scripts-after-a-run/13817 "2013-10-31T20:19:51Z")

</div>

I’m trying to debug an issue where one of my notifications is going off in the weeds and my service is not starting. I’m looking at the output and can see that the handler is firing but my service is not starting. I’d l…

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

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