# Latest

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

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

**Page:** 941

---

## [vars\_files: expand list of files via a single variable](https://forum.ansible.com/t/vars-files-expand-list-of-files-via-a-single-variable/16099)

<div class="topic-metadata">

**Author:** [@Dan\_Bohea](https://forum.ansible.com/u/Dan_Bohea)\
**Replies:** 10\
**Last updated:** [September 5, 2014, 1:17am UTC](https://forum.ansible.com/t/vars-files-expand-list-of-files-via-a-single-variable/16099 "2014-09-05T01:17:26Z")

</div>

So I just recently discovered how to list several possible vars\_files, with precedence, and where some may not exist: http://serverfault.com/questions/589734/ansible-can-i-use-vars-files-when-some-files-do-not-exist Ve…

---

## [with\_first\_found and templates](https://forum.ansible.com/t/with-first-found-and-templates/16106)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 3\
**Last updated:** [September 5, 2014, 1:17am UTC](https://forum.ansible.com/t/with-first-found-and-templates/16106 "2014-09-05T01:17:16Z")

</div>

We've got a task like this: - name: template TrustedHosts template: dest=/etc/opendkim/TrustedHosts src={{ item }} backup=yes with\_first\_found: - TrustedHosts.{{ stack }} - TrustedHosts.default …

---

## [Ansible Install on OS X](https://forum.ansible.com/t/ansible-install-on-os-x/16113)

<div class="topic-metadata">

**Author:** [@Matt\_Hughes](https://forum.ansible.com/u/Matt_Hughes)\
**Replies:** 1\
**Last updated:** [September 4, 2014, 2:54pm UTC](https://forum.ansible.com/t/ansible-install-on-os-x/16113 "2014-09-04T14:54:13Z")

</div>

I started out trying to use Ansible via Home Brew, but I needed to add a pip library (docker-py) and read that even Brew’s ansible uses the systems python. So I removed python and ansible completely from brew. I then tr…

---

## [Talk to lights-out adapters](https://forum.ansible.com/t/talk-to-lights-out-adapters/16083)

<div class="topic-metadata">

**Author:** [@Frits\_Hoogland](https://forum.ansible.com/u/Frits_Hoogland)\
**Replies:** 11\
**Last updated:** [September 4, 2014, 11:47am UTC](https://forum.ansible.com/t/talk-to-lights-out-adapters/16083 "2014-09-04T11:47:21Z")

</div>

I am trying to create a playbook to make lights-out adapters report issues. The lights-out adapter type I have to talk to is sun/oracle ilom. But if this can be made to work, it would probably be usable for any lights-ou…

---

## [When Conditionals not skipping certain tasks for UBUNTU remote machines](https://forum.ansible.com/t/when-conditionals-not-skipping-certain-tasks-for-ubuntu-remote-machines/16103)

<div class="topic-metadata">

**Author:** [@John\_Ross\_Tasipit](https://forum.ansible.com/u/John_Ross_Tasipit)\
**Replies:** 9\
**Last updated:** [September 4, 2014, 8:31am UTC](https://forum.ansible.com/t/when-conditionals-not-skipping-certain-tasks-for-ubuntu-remote-machines/16103 "2014-09-04T08:31:58Z")

</div>

\` The default shell for a user if none is specified users\_default\_shell: /bin/bash Create home dirs for new users? Set this to false if you manage home directories in some other way. users\_create\_homedirs: true Lists …

---

## [When should a module say 'changed'](https://forum.ansible.com/t/when-should-a-module-say-changed/16110)

<div class="topic-metadata">

**Author:** [@Sean\_Cavanaugh](https://forum.ansible.com/u/Sean_Cavanaugh)\
**Replies:** 1\
**Last updated:** [September 3, 2014, 9:46pm UTC](https://forum.ansible.com/t/when-should-a-module-say-changed/16110 "2014-09-03T21:46:42Z")

</div>

I have a module I am working on for our product the Cumulus OS where we check routes and make logical decisions based on the result. e.g. I make a config change to a node within my network and then check another node in…

---

## [tomcat service to start only after the Redis replication is completed](https://forum.ansible.com/t/tomcat-service-to-start-only-after-the-redis-replication-is-completed/16092)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 4\
**Last updated:** [September 3, 2014, 12:13pm UTC](https://forum.ansible.com/t/tomcat-service-to-start-only-after-the-redis-replication-is-completed/16092 "2014-09-03T12:13:48Z")

</div>

Hi, We use a single redis master server and many slave nodes that are running tomcat along with the redis slave service. One of the problems I have is that I need my tomcat application to start when the replication is …

---

## [ec2.py with boto profiles](https://forum.ansible.com/t/ec2-py-with-boto-profiles/16100)

<div class="topic-metadata">

**Author:** [@KSS](https://forum.ansible.com/u/KSS)\
**Replies:** 3\
**Last updated:** [September 3, 2014, 11:41am UTC](https://forum.ansible.com/t/ec2-py-with-boto-profiles/16100 "2014-09-03T11:41:39Z")

</div>

Hi, Are there any plans to update ec2.py so boto profiles can be used where we have multiple aws accounts? We currently use both awscli and boto using profiles to connection the appropriate credentials. I’ve seen the v…

---

## [variables converted to int](https://forum.ansible.com/t/variables-converted-to-int/16105)

<div class="topic-metadata">

**Author:** [@Moti\_Heller](https://forum.ansible.com/u/Moti_Heller)\
**Replies:** 3\
**Last updated:** [September 3, 2014, 11:37am UTC](https://forum.ansible.com/t/variables-converted-to-int/16105 "2014-09-03T11:37:11Z")

</div>

Hi, I’m using the latest version of ansible. I have a variable defined in my group\_vars file as follows: var\_name: 01 When using it in a task - {{var\_name}}, the value is 1 instead of 01. I require the value to be a…

---

## [How do I round a value in Jinja?](https://forum.ansible.com/t/how-do-i-round-a-value-in-jinja/16084)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 5\
**Last updated:** [September 3, 2014, 11:37am UTC](https://forum.ansible.com/t/how-do-i-round-a-value-in-jinja/16084 "2014-09-03T11:37:05Z")

</div>

Hi, I’ve got a template which does a few calculations on memory (to set up hugepages etc), and I need to round the result but I’m not sure how to. \` This is the expression: “{{ (((60/100)\* ansible\_memtotal\_mb)\*1024)/…

---

## [How can I help?](https://forum.ansible.com/t/how-can-i-help/15140)

<div class="topic-metadata">

**Author:** [@Clement\_Labbe](https://forum.ansible.com/u/Clement_Labbe)\
**Replies:** 8\
**Last updated:** [September 3, 2014, 7:27am UTC](https://forum.ansible.com/t/how-can-i-help/15140 "2014-09-03T07:27:43Z")

</div>

Hi Community, I’d like to help the development efforts. I am a systems engineer but I don’t work with (m)any fun technologies at work; I’m attracted by the Ansible project for many reasons. I have, on my computer, set u…

---

## [Any interest for a secrets module?](https://forum.ansible.com/t/any-interest-for-a-secrets-module/16102)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 3\
**Last updated:** [September 3, 2014, 6:46am UTC](https://forum.ansible.com/t/any-interest-for-a-secrets-module/16102 "2014-09-03T06:46:26Z")

</div>

We have been using Ansible for some time now and one of the biggest problems we have with Ansible are secret variables. Ansible Vault is a nice solution to this problem, but it makes Ansible a little harder to use. Looku…

---

## [How do I verify that my feature branch doesn't contain merge commits before submitting a PR](https://forum.ansible.com/t/how-do-i-verify-that-my-feature-branch-doesnt-contain-merge-commits-before-submitting-a-pr/16079)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 7\
**Last updated:** [September 2, 2014, 11:57pm UTC](https://forum.ansible.com/t/how-do-i-verify-that-my-feature-branch-doesnt-contain-merge-commits-before-submitting-a-pr/16079 "2014-09-02T23:57:25Z")

</div>

I’m fairly new to git, and from time to time I stumble and embarrasingly submit pull requests containing merge commits to Ansible. Is there an easy way to double-check that my branch doesn’t contain any merge commits be…

---

## [Better add\_host support for provided cloud modules](https://forum.ansible.com/t/better-add-host-support-for-provided-cloud-modules/16097)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 11:52pm UTC](https://forum.ansible.com/t/better-add-host-support-for-provided-cloud-modules/16097 "2014-09-02T23:52:28Z")

</div>

I submitted a pull request several days ago to allow cloud modules to invoke add\_host. I wanted to post the options that have been presented, to get some feedback. I’ll start with the original idea… Several months ago …

---

## [Fire & Forget support](https://forum.ansible.com/t/fire-forget-support/16091)

<div class="topic-metadata">

**Author:** [@Henry\_Finucane](https://forum.ansible.com/u/Henry_Finucane)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 11:49pm UTC](https://forum.ansible.com/t/fire-forget-support/16091 "2014-09-02T23:49:40Z")

</div>

Howdy all, I have a pull request here: https://github.com/ansible/ansible/pull/7621 that I'm feeling antsy about. It's one line, that one line could be put somewhere else, the bug has been sitting there since 1.6, yes …

---

## [Strange issue with the copy speed of a 1.5G large file.](https://forum.ansible.com/t/strange-issue-with-the-copy-speed-of-a-1-5g-large-file/16086)

<div class="topic-metadata">

**Author:** [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Replies:** 3\
**Last updated:** [September 2, 2014, 11:28pm UTC](https://forum.ansible.com/t/strange-issue-with-the-copy-speed-of-a-1-5g-large-file/16086 "2014-09-02T23:28:36Z")

</div>

I am using the following snippet to execute the playbook, this is the only way I can solve the deployment of servers for the first time as the inventory is not present at that time and lot of orchestration is needed to d…

---

## [Playbook -- How to read a value from another yaml file ?](https://forum.ansible.com/t/playbook-how-to-read-a-value-from-another-yaml-file/16082)

<div class="topic-metadata">

**Author:** [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Replies:** 4\
**Last updated:** [September 2, 2014, 11:23pm UTC](https://forum.ansible.com/t/playbook-how-to-read-a-value-from-another-yaml-file/16082 "2014-09-02T23:23:44Z")

</div>

I have this playbook which changes the xml file on a remote server. This playbook needs to read a value from another yaml file. For example source yaml file: main.yml cluster: onecluster product: someproduct … pla…

---

## [jinja2 for setting module parameters](https://forum.ansible.com/t/jinja2-for-setting-module-parameters/16051)

<div class="topic-metadata">

**Author:** [@Xu\_Chen](https://forum.ansible.com/u/Xu_Chen)\
**Replies:** 5\
**Last updated:** [September 2, 2014, 11:02pm UTC](https://forum.ansible.com/t/jinja2-for-setting-module-parameters/16051 "2014-09-02T23:02:51Z")

</div>

I have difficulty using jinja2 combined with cron module in the following way: cron: name=test job=“abc {{ data | filter\_x(‘a’) | filter\_y(‘b’) }} edf” I tried various combinations, but either the jinja2 template isn’…

---

## [Basename of {file} in ansible\_managed](https://forum.ansible.com/t/basename-of-file-in-ansible-managed/16088)

<div class="topic-metadata">

**Author:** [@stephan.rickauer](https://forum.ansible.com/u/stephan.rickauer)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 10:57pm UTC](https://forum.ansible.com/t/basename-of-file-in-ansible-managed/16088 "2014-09-02T22:57:21Z")

</div>

Friends, {file} in ansible\_managed uses gets replaced with the filename and its full path. Is there another variable to get the filename only, omitting the full path? Thanks! Stephan

---

## [Where to put a custom lookup plugin?](https://forum.ansible.com/t/where-to-put-a-custom-lookup-plugin/16042)

<div class="topic-metadata">

**Author:** [@Andrew\_Cholakian1](https://forum.ansible.com/u/Andrew_Cholakian1)\
**Replies:** 3\
**Last updated:** [September 2, 2014, 10:54pm UTC](https://forum.ansible.com/t/where-to-put-a-custom-lookup-plugin/16042 "2014-09-02T22:54:04Z")

</div>

I need to use a custom lookup plugin to pull our JSON customer database from s3. I have two questions: Where in the file structure should the file go Can a lookup plugin return a complex type like a hash? Thanks in ad…

---

## [Welcome Toshio Kuratomi!](https://forum.ansible.com/t/welcome-toshio-kuratomi/16101)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [September 2, 2014, 7:46pm UTC](https://forum.ansible.com/t/welcome-toshio-kuratomi/16101 "2014-09-02T19:46:36Z")

</div>

Hi everybody, I just wanted to introduce/welcome Toshio Kuratomi (tkuratomi at ansible dot com), who is joining the Ansible team and will be working on Ansible. We know Toshio from Red Hat, where he was a Fedora Projec…

---

## [Are facts carried forward?](https://forum.ansible.com/t/are-facts-carried-forward/16073)

<div class="topic-metadata">

**Author:** [@Michael\_Dur](https://forum.ansible.com/u/Michael_Dur)\
**Replies:** 4\
**Last updated:** [September 2, 2014, 4:33pm UTC](https://forum.ansible.com/t/are-facts-carried-forward/16073 "2014-09-02T16:33:01Z")

</div>

We have many playbooks, and groups. I notice when I do a full site run that at the beginning of the ‘top level’ playbooks, that is those referenced by site.yml, that facts are gathered each time. I realize I can disabl…

---

## [YAML formatting best practices - tasks with many params](https://forum.ansible.com/t/yaml-formatting-best-practices-tasks-with-many-params/16032)

<div class="topic-metadata">

**Author:** [@Jeff\_Geerling](https://forum.ansible.com/u/Jeff_Geerling)\
**Replies:** 20\
**Last updated:** [September 2, 2014, 3:54pm UTC](https://forum.ansible.com/t/yaml-formatting-best-practices-tasks-with-many-params/16032 "2014-09-02T15:54:39Z")

</div>

In the documentation, and for terseness, many task examples are given like: apt: pkg=package\_name state=installed update\_cache=yes However, for version control, legibility, etc., it’s usually preferred (at least as fa…

---

## [new module zabbix\_host](https://forum.ansible.com/t/new-module-zabbix-host/16098)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 0\
**Last updated:** [September 2, 2014, 2:13pm UTC](https://forum.ansible.com/t/new-module-zabbix-host/16098 "2014-09-02T14:13:47Z")

</div>

Hi I created a PR https://github.com/ansible/ansible/pull/8854 for the new module zabbix\_host. Testing and feedback is very welcome. :slight\_smile: Regards René

---

## [ec2\_lc module does not support VPC?](https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096)

<div class="topic-metadata">

**Author:** [@Roman\_Revyakin](https://forum.ansible.com/u/Roman_Revyakin)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 10:55am UTC](https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096 "2014-09-02T10:55:58Z")

</div>

Hi guys, It appears that ec2\_lc module does not really support creation of launch configurations in VPC? When I provide the name of the security group from a VPC through security\_groups: option to ec2\_lc module, I get t…

---

## [It is unnecessary to use '{{' in conditionals...](https://forum.ansible.com/t/it-is-unnecessary-to-use-in-conditionals/16085)

<div class="topic-metadata">

**Author:** [@Olivier\_Javaux](https://forum.ansible.com/u/Olivier_Javaux)\
**Replies:** 2\
**Last updated:** [September 2, 2014, 8:47am UTC](https://forum.ansible.com/t/it-is-unnecessary-to-use-in-conditionals/16085 "2014-09-02T08:47:22Z")

</div>

Hello, Still the warning “It is unnecessary to use ‘{{’ in conditionals”. I have read old posts on this subject and the ticket https://github.com/ansible/ansible/issues/4582 I am using latest devel release. But I do…

---

## [Updating the launch configuration on EC2](https://forum.ansible.com/t/updating-the-launch-configuration-on-ec2/15956)

<div class="topic-metadata">

**Author:** [@Arangel\_Angov](https://forum.ansible.com/u/Arangel_Angov)\
**Replies:** 6\
**Last updated:** [September 2, 2014, 3:32am UTC](https://forum.ansible.com/t/updating-the-launch-configuration-on-ec2/15956 "2014-09-02T03:32:22Z")

</div>

Hi, I've been playing with EC2 autoscaling for a while and my goal is to start an instance update it and then save it to an AMI or use the instance AMI id in a launch configuration tied to an auto scaling group so th…

---

## [Unexpected Behavior With File Module](https://forum.ansible.com/t/unexpected-behavior-with-file-module/16058)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 4\
**Last updated:** [September 1, 2014, 11:57pm UTC](https://forum.ansible.com/t/unexpected-behavior-with-file-module/16058 "2014-09-01T23:57:21Z")

</div>

This one fooled me for a little while because I wasn’t paying attention (Ansible 1.6.6). I ran % ansible machine -m file -a ‘path=/tmp/jon state=touch mode=0644 owner=root’ The file ‘/tmp/jon’ was created, but Ansible…

---

## [Anyone working on windows facts?](https://forum.ansible.com/t/anyone-working-on-windows-facts/16072)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 8\
**Last updated:** [September 1, 2014, 8:56pm UTC](https://forum.ansible.com/t/anyone-working-on-windows-facts/16072 "2014-09-01T20:56:51Z")

</div>

I’ve starting working on adding some extra facts for windows hosts. So far I have one for the installed powershell version and another to report when the certificate (created by Trond’s setup script) will expire. Anyon…

---

## [run script](https://forum.ansible.com/t/run-script/16094)

<div class="topic-metadata">

**Author:** [@Mark\_Olliver](https://forum.ansible.com/u/Mark_Olliver)\
**Replies:** 1\
**Last updated:** [September 1, 2014, 6:36pm UTC](https://forum.ansible.com/t/run-script/16094 "2014-09-01T18:36:35Z")

</div>

Hi, What is the best way to run a script on completion of a successful ansible run. We have a set of automated tests which we need to run via a code deployment server each time we make a run of ansible. This meets our b…

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

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