# Latest

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

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

**Page:** 1008

---

## [include\_vars in roles not working](https://forum.ansible.com/t/include-vars-in-roles-not-working/14025)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 15\
**Last updated:** [December 1, 2013, 5:51pm UTC](https://forum.ansible.com/t/include-vars-in-roles-not-working/14025 "2013-12-01T17:51:55Z")

</div>

Hi people, I’m on ansible 1.4.1, and trying to use include\_vars: for a role called “firewall”. I have: firewall/tasks/main.yml, which starts with:

---

## [reffering variables inside vars.yml](https://forum.ansible.com/t/reffering-variables-inside-vars-yml/14026)

<div class="topic-metadata">

**Author:** [@Frank3](https://forum.ansible.com/u/Frank3)\
**Replies:** 2\
**Last updated:** [December 1, 2013, 1:57pm UTC](https://forum.ansible.com/t/reffering-variables-inside-vars-yml/14026 "2013-12-01T13:57:10Z")

</div>

I guys, ansible newbie here… I’ve read how to refere variables inside vars.yml file here: http://www.ansibleworks.com/docs/YAMLSyntax.html foo: 1 foo\_value: {{ foo }} then under my playbook.yml load vars.yml with va…

---

## [Variable syntax warning in ansible 1.4.1](https://forum.ansible.com/t/variable-syntax-warning-in-ansible-1-4-1/14035)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 2\
**Last updated:** [November 29, 2013, 10:19pm UTC](https://forum.ansible.com/t/variable-syntax-warning-in-ansible-1-4-1/14035 "2013-11-29T22:19:14Z")

</div>

All my playbook runs are now emitting this warning at the start: \[WARNING\]: It is unneccessary to use ‘{{’ in loops, leave variables in loop expressions bare. However, my playbook is quite large, and includes several …

---

## [is there a way for a task to know if playbook is running in check-mode?](https://forum.ansible.com/t/is-there-a-way-for-a-task-to-know-if-playbook-is-running-in-check-mode/14030)

<div class="topic-metadata">

**Author:** [@eric2](https://forum.ansible.com/u/eric2)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 4:15pm UTC](https://forum.ansible.com/t/is-there-a-way-for-a-task-to-know-if-playbook-is-running-in-check-mode/14030 "2013-11-29T16:15:51Z")

</div>

Hi people, Some modules when running in check-mode still raising errors in certain conditions. For example, the service module fails when the service is not found, which is usually installed in a previous task on the pl…

---

## [idea - cascading ansible](https://forum.ansible.com/t/idea-cascading-ansible/14033)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 3:51pm UTC](https://forum.ansible.com/t/idea-cascading-ansible/14033 "2013-11-29T15:51:42Z")

</div>

Hello, Just a thought for a future development and it maybe has already been discussed. It could be interesting if ansible had a module to : start a playbook on another machine (launch ansible on that machine with ar…

---

## [install F-Secure](https://forum.ansible.com/t/install-f-secure/14024)

<div class="topic-metadata">

**Author:** [@Marc\_Patermann](https://forum.ansible.com/u/Marc_Patermann)\
**Replies:** 2\
**Last updated:** [November 29, 2013, 2:06pm UTC](https://forum.ansible.com/t/install-f-secure/14024 "2013-11-29T14:06:44Z")

</div>

Hi, I have to install F-Secure. It comes as a single file script/BLOB which installs RPMs and does stuff - and is a real pain ... I need the install script f-secure-linux-security-9.20.2520 at the remote machine. T…

---

## [problem excluding group from task in playbook](https://forum.ansible.com/t/problem-excluding-group-from-task-in-playbook/14018)

<div class="topic-metadata">

**Author:** [@oliver\_bril](https://forum.ansible.com/u/oliver_bril)\
**Replies:** 5\
**Last updated:** [November 28, 2013, 8:56pm UTC](https://forum.ansible.com/t/problem-excluding-group-from-task-in-playbook/14018 "2013-11-28T20:56:19Z")

</div>

Dear all, I’m trying probably something very simple but can’t get it to work. I’m trying to exclude a group from a task. I have a playbook for all hosts (hosts: all) but in one particular task I want to exclude a group,…

---

## [Role Dependencies and var\_files](https://forum.ansible.com/t/role-dependencies-and-var-files/14023)

<div class="topic-metadata">

**Author:** [@Shih\_Oon\_Liong1](https://forum.ansible.com/u/Shih_Oon_Liong1)\
**Replies:** 4\
**Last updated:** [November 28, 2013, 8:33pm UTC](https://forum.ansible.com/t/role-dependencies-and-var-files/14023 "2013-11-28T20:33:34Z")

</div>

Hi, I am kinda confused on what is the right syntax to try out this. Running a role multiple times in a single playbok but a different var\_files each time. I have a web server role for a LAMP stack that will also insta…

---

## [How do you handle commands that affect network connectivity?](https://forum.ansible.com/t/how-do-you-handle-commands-that-affect-network-connectivity/14027)

<div class="topic-metadata">

**Author:** [@eric2](https://forum.ansible.com/u/eric2)\
**Replies:** 2\
**Last updated:** [November 28, 2013, 7:25pm UTC](https://forum.ansible.com/t/how-do-you-handle-commands-that-affect-network-connectivity/14027 "2013-11-28T19:25:40Z")

</div>

Hi folks, my playbooks have tasks that may affect the network connectivity, for example by reloading firewall rules, and when those tasks are executed the playbook “hangs” waiting forever (or until a timeout, which is e…

---

## [How to use a variable into a lookup](https://forum.ansible.com/t/how-to-use-a-variable-into-a-lookup/14022)

<div class="topic-metadata">

**Author:** [@Herve\_Leclerc](https://forum.ansible.com/u/Herve_Leclerc)\
**Replies:** 2\
**Last updated:** [November 28, 2013, 8:13am UTC](https://forum.ansible.com/t/how-to-use-a-variable-into-a-lookup/14022 "2013-11-28T08:13:18Z")

</div>

Hello, How can i use a variable into a lookup ? eg. {{ lookup(‘etcd’, ‘deploy/myapp/{{version}}/release’) }}

---

## [how can I override the ansible.cfg with command line argument](https://forum.ansible.com/t/how-can-i-override-the-ansible-cfg-with-command-line-argument/14002)

<div class="topic-metadata">

**Author:** [@xiangjun](https://forum.ansible.com/u/xiangjun)\
**Replies:** 6\
**Last updated:** [November 28, 2013, 3:34am UTC](https://forum.ansible.com/t/how-can-i-override-the-ansible-cfg-with-command-line-argument/14002 "2013-11-28T03:34:07Z")

</div>

I have servers with different ssh ports, the default port is configured in ansible.cfg, how can I override the remote\_port setting with command line argument? thanks

---

## [Documentation update frequency](https://forum.ansible.com/t/documentation-update-frequency/14020)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 2\
**Last updated:** [November 28, 2013, 12:50am UTC](https://forum.ansible.com/t/documentation-update-frequency/14020 "2013-11-28T00:50:15Z")

</div>

Hi All, Perhaps this should go on the ansible-devel list? Apologies if this question doesn’t belong here. I was looking for a module to manage /etc/hosts, and it turns out that Rene Moser wrote the module (thanks!) and…

---

## [Ansible 1.4.1 update](https://forum.ansible.com/t/ansible-1-4-1-update/14019)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [November 27, 2013, 11:35pm UTC](https://forum.ansible.com/t/ansible-1-4-1-update/14019 "2013-11-27T23:35:33Z")

</div>

Hi all, We’ve pushed out a 1.4.1 update which contains some additional bugfixes. Generally testing in Ansible’s development cycle is insanely thorough, well helped by the fact that so many people run ansible HEAD all t…

---

## [Pass parameter/argument to (generic) template](https://forum.ansible.com/t/pass-parameter-argument-to-generic-template/14013)

<div class="topic-metadata">

**Author:** [@Yoann\_DAVID](https://forum.ansible.com/u/Yoann_DAVID)\
**Replies:** 3\
**Last updated:** [November 27, 2013, 10:56pm UTC](https://forum.ansible.com/t/pass-parameter-argument-to-generic-template/14013 "2013-11-27T22:56:25Z")

</div>

Hello, I want to create a generic template which can be reused for several task, but this also need to have a parametrer/variable but how to pass this variable (task specific) to my template, an example (real one) : My…

---

## [Use synchronize module with user different than ansible\_ssh\_user](https://forum.ansible.com/t/use-synchronize-module-with-user-different-than-ansible-ssh-user/13992)

<div class="topic-metadata">

**Author:** [@Jacek\_Bzdak](https://forum.ansible.com/u/Jacek_Bzdak)\
**Replies:** 2\
**Last updated:** [November 27, 2013, 10:20pm UTC](https://forum.ansible.com/t/use-synchronize-module-with-user-different-than-ansible-ssh-user/13992 "2013-11-27T22:20:04Z")

</div>

My playbook consists of two steps: Setup remote user (one of possibly many), and do stuff that require root Login to this user and do rest without privileges It seems that synchronize module doesn’t play well with it.…

---

## [check if host is part of group](https://forum.ansible.com/t/check-if-host-is-part-of-group/14017)

<div class="topic-metadata">

**Author:** [@Khuong\_Dinh\_Pham](https://forum.ansible.com/u/Khuong_Dinh_Pham)\
**Replies:** 6\
**Last updated:** [November 27, 2013, 10:17pm UTC](https://forum.ansible.com/t/check-if-host-is-part-of-group/14017 "2013-11-27T22:17:53Z")

</div>

Hi I have this setup in my hosts server1 ansible\_ssh\_host=server1.xxx.com server2 ansible\_ssh\_host=server2.yyy.com server3 ansible\_ssh\_host=server3.yyy.com \[frontendservers\] server1 server2 server3 \[frontendclus…

---

## [Idempotent creation of AWS RDS ?](https://forum.ansible.com/t/idempotent-creation-of-aws-rds/13998)

<div class="topic-metadata">

**Author:** [@Chris\_Shenton](https://forum.ansible.com/u/Chris_Shenton)\
**Replies:** 13\
**Last updated:** [November 27, 2013, 7:09pm UTC](https://forum.ansible.com/t/idempotent-creation-of-aws-rds/13998 "2013-11-27T19:09:57Z")

</div>

I can create an AWS EC2 instance with the ‘ec2’ module and a unique ‘id’, and Ansible skips creation if an instance with this name already exists. This feature doesn’t seem to exist in the ‘rds’ module. Any suggestions …

---

## [New host module: how it should behave.](https://forum.ansible.com/t/new-host-module-how-it-should-behave/14014)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 4\
**Last updated:** [November 27, 2013, 7:09pm UTC](https://forum.ansible.com/t/new-host-module-how-it-should-behave/14014 "2013-11-27T19:09:38Z")

</div>

Hi I refactored the host module and want to explain how it behaves and I am very interested in your opinions and feedback. You can find and test the pull request here https://github.com/ansible/ansible/pull/5065. I wa…

---

## [New problem with uri module, looks like is not parsing variables correctly :(](https://forum.ansible.com/t/new-problem-with-uri-module-looks-like-is-not-parsing-variables-correctly/14009)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 5\
**Last updated:** [November 27, 2013, 6:44pm UTC](https://forum.ansible.com/t/new-problem-with-uri-module-looks-like-is-not-parsing-variables-correctly/14009 "2013-11-27T18:44:57Z")

</div>

Here is the info: I’m trying to send a json object to akamai with the uri module but it fails saying that is not a valid json object but the debug message shows in the right format. here is the requeriments from akamai…

---

## [ansible performance tuning](https://forum.ansible.com/t/ansible-performance-tuning/14016)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 5\
**Last updated:** [November 27, 2013, 6:37pm UTC](https://forum.ansible.com/t/ansible-performance-tuning/14016 "2013-11-27T18:37:46Z")

</div>

Hello, I am trying to speed up my ansible installation. I went from 20 minutes execution to 10 minutes by switching from centos6.4(paramiko) to fedora19(ssh+control persist). Enabling accelerate=true did not bring any s…

---

## [A Statement About Balance](https://forum.ansible.com/t/a-statement-about-balance/14015)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [November 27, 2013, 4:44pm UTC](https://forum.ansible.com/t/a-statement-about-balance/14015 "2013-11-27T16:44:50Z")

</div>

Ansible is currently the most forked server automation project on GitHub, a measure of which that GitHub uses to track how many people are trying to contribute to the project – more or less – or were interested enough to…

---

## [Boolean values act strangely.](https://forum.ansible.com/t/boolean-values-act-strangely/12684)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 11\
**Last updated:** [November 27, 2013, 3:30am UTC](https://forum.ansible.com/t/boolean-values-act-strangely/12684 "2013-11-27T03:30:17Z")

</div>

So, here's an example playbook: - hosts: whatever vars: foo: yes tasks: - debug: msg={{ doit }} This prints "True". Changing 'foo' to 'no', or '0', or 'false' causes the above to p…

---

## [Please point me to the right docs for Ansible templates](https://forum.ansible.com/t/please-point-me-to-the-right-docs-for-ansible-templates/14010)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 1\
**Last updated:** [November 26, 2013, 11:55pm UTC](https://forum.ansible.com/t/please-point-me-to-the-right-docs-for-ansible-templates/14010 "2013-11-26T23:55:11Z")

</div>

Hi all, Please forgive my ignorance if somebody already asked this and there are already places somewhere that can help me with my issues. I would love to know all the things that I can do in templates like the for lo…

---

## [Using composite "when:" in Ansible 1.2.2](https://forum.ansible.com/t/using-composite-when-in-ansible-1-2-2/14008)

<div class="topic-metadata">

**Author:** [@Jean\_Paul\_Manjarres](https://forum.ansible.com/u/Jean_Paul_Manjarres)\
**Replies:** 2\
**Last updated:** [November 26, 2013, 10:40pm UTC](https://forum.ansible.com/t/using-composite-when-in-ansible-1-2-2/14008 "2013-11-26T22:40:27Z")

</div>

Hi, is it possible to use a composite “when” expression in Ansible 1.2.2? I’ve been trying to make a conditional task based on 2 conditions, one is a variable defined in the inventory file just for one machine, and the…

---

## [Testing the ansible version](https://forum.ansible.com/t/testing-the-ansible-version/14007)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 1\
**Last updated:** [November 26, 2013, 9:58pm UTC](https://forum.ansible.com/t/testing-the-ansible-version/14007 "2013-11-26T21:58:17Z")

</div>

Now that ansible 1.4.0 is out, I’d like to start making use of some of the new modules. But I’d like to make sure there are no surprises for people using my playbooks. So is there a way inside a playbook either to check…

---

## [using assemble to build iptables rules](https://forum.ansible.com/t/using-assemble-to-build-iptables-rules/14000)

<div class="topic-metadata">

**Author:** [@James\_Martin2](https://forum.ansible.com/u/James_Martin2)\
**Replies:** 3\
**Last updated:** [November 26, 2013, 9:15pm UTC](https://forum.ansible.com/t/using-assemble-to-build-iptables-rules/14000 "2013-11-26T21:15:02Z")

</div>

So I've been thinking through a clean way to build iptables rules sets with some re-use between debian/ubuntu/redhat/centos world, and this is the strategy I've come up with in pseudo code: in a common bootstrap role: …

---

## [Iterating over a template: task with a list of dictionary objects?](https://forum.ansible.com/t/iterating-over-a-template-task-with-a-list-of-dictionary-objects/14006)

<div class="topic-metadata">

**Author:** [@danrough](https://forum.ansible.com/u/danrough)\
**Replies:** 0\
**Last updated:** [November 26, 2013, 5:23pm UTC](https://forum.ansible.com/t/iterating-over-a-template-task-with-a-list-of-dictionary-objects/14006 "2013-11-26T17:23:28Z")

</div>

Hi there, I’d like to be able to start 3 services that I am deploying by iterating over one generic template that I have for them. Is it possible to pass variables through to the template task using with\_items and a di…

---

## [For Loop Construct in YAML Tasks File to Create Multiple Directories](https://forum.ansible.com/t/for-loop-construct-in-yaml-tasks-file-to-create-multiple-directories/14004)

<div class="topic-metadata">

**Author:** [@Michael\_Leikind](https://forum.ansible.com/u/Michael_Leikind)\
**Replies:** 1\
**Last updated:** [November 26, 2013, 4:08pm UTC](https://forum.ansible.com/t/for-loop-construct-in-yaml-tasks-file-to-create-multiple-directories/14004 "2013-11-26T16:08:35Z")

</div>

Hi, I would like to use a FOR loop construct to create a multiple directories like this: {% for dir in temp\_dirs %} name: {{ dir }} Directory file: dest={{ repo\_dest }}/var/{{ dir }} owner={{ apache\_user }} group={…

---

## [Ansible 1.4 - names of NIC aliases](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994)

<div class="topic-metadata">

**Author:** [@Tomasz\_Lesniewski](https://forum.ansible.com/u/Tomasz_Lesniewski)\
**Replies:** 2\
**Last updated:** [November 26, 2013, 9:35am UTC](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994 "2013-11-26T09:35:37Z")

</div>

Hi. I’ve found that names of NIC aliases returned by setup module has changed in ansible 1.4: $ ansible --version ansible 1.3.2 $ ansible foo -m setup | grep snat “ansible\_bond0:snat”: { “bond0:snat”, $ ansible --…

---

## [how to do it  by ansible tools?](https://forum.ansible.com/t/how-to-do-it-by-ansible-tools/13969)

<div class="topic-metadata">

**Author:** [@charles\_charles](https://forum.ansible.com/u/charles_charles)\
**Replies:** 4\
**Last updated:** [November 26, 2013, 9:26am UTC](https://forum.ansible.com/t/how-to-do-it-by-ansible-tools/13969 "2013-11-26T09:26:22Z")

</div>

For example: my ansible host: 192.168.1.2 web server: eth0: 192.168.1.3, eth1: 10.1.1.3 db server: 10.1.1.4 so far, I must login web server and then (ssh db server) if I used ansible tools, may I manage db server (1…

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

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