# Latest

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

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

**Page:** 1061

---

## [sensitive data - via lookup or file separation does not work as expected](https://forum.ansible.com/t/sensitive-data-via-lookup-or-file-separation-does-not-work-as-expected/12313)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 1:31pm UTC](https://forum.ansible.com/t/sensitive-data-via-lookup-or-file-separation-does-not-work-as-expected/12313 "2013-02-08T13:31:25Z")

</div>

Hi all, I need some advice on how to include sensitive data into config files. We are using cfengine2 and bcfg2 (and are testing salt and ansible at the moment as -possible- replacement for cf/bcfg) and for both tool…

---

## [advanced jinja2 templating help - dynamic configuration](https://forum.ansible.com/t/advanced-jinja2-templating-help-dynamic-configuration/12307)

<div class="topic-metadata">

**Author:** [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Replies:** 4\
**Last updated:** [February 8, 2013, 12:12pm UTC](https://forum.ansible.com/t/advanced-jinja2-templating-help-dynamic-configuration/12307 "2013-02-08T12:12:11Z")

</div>

Hi all, I’m starting to play with the Jinja2 templating, specifically generating a load balancer configuration based on public\_dns and public\_ip information returned by the ec2 module. I’ve got the following haproxy.cf…

---

## [File import](https://forum.ansible.com/t/file-import/12311)

<div class="topic-metadata">

**Author:** [@Fff\_Fff](https://forum.ansible.com/u/Fff_Fff)\
**Replies:** 2\
**Last updated:** [February 8, 2013, 3:59am UTC](https://forum.ansible.com/t/file-import/12311 "2013-02-08T03:59:37Z")

</div>

There is a very useful feature in synctool that allows you to import files to the synctool equivalent of a playbook from the servers. Anyways, I would love to see this feature in Ansible. A lot of what I do is cloning on…

---

## [Why no dry run ability?](https://forum.ansible.com/t/why-no-dry-run-ability/12309)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [February 8, 2013, 3:44am UTC](https://forum.ansible.com/t/why-no-dry-run-ability/12309 "2013-02-08T03:44:19Z")

</div>

You are about to be gasted back with your flabber!!! In fact, you will soon have surplus flabber! And you will be back in the same universe as everyone else! --check mode (essentially dry run) is already in upstrea…

---

## [Why no dry run ability?](https://forum.ansible.com/t/why-no-dry-run-ability/12310)

<div class="topic-metadata">

**Author:** [@Chris\_Hoffman](https://forum.ansible.com/u/Chris_Hoffman)\
**Replies:** 1\
**Last updated:** [February 8, 2013, 1:53am UTC](https://forum.ansible.com/t/why-no-dry-run-ability/12310 "2013-02-08T01:53:14Z")

</div>

Here is a recent post on some of the reason why and it looks like some progress is being made, but on an opt in basis by module. https://groups.google.com/forum/?fromgroups=#!Vhld\_PWS9-k/GisDUQTZNMgJ

---

## [RabbitMQ module](https://forum.ansible.com/t/rabbitmq-module/12305)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 8\
**Last updated:** [February 7, 2013, 9:13pm UTC](https://forum.ansible.com/t/rabbitmq-module/12305 "2013-02-07T21:13:20Z")

</div>

Neat! Do you have an example of it being used in a playbook? I'm open to including these in core if you are interested. Big fan of Rabbit.

---

## [Periodical ansible-playbook runs and result display](https://forum.ansible.com/t/periodical-ansible-playbook-runs-and-result-display/12306)

<div class="topic-metadata">

**Author:** [@Philipp\_Grau](https://forum.ansible.com/u/Philipp_Grau)\
**Replies:** 2\
**Last updated:** [February 7, 2013, 8:41pm UTC](https://forum.ansible.com/t/periodical-ansible-playbook-runs-and-result-display/12306 "2013-02-07T20:41:42Z")

</div>

Hello, currently I run my playbooks per hand. But some task should be applied daily or hourly with cron. To my current knowledge, I can use the callback plugins mail.py and log\_play.py to get feedback on my plays. H…

---

## [service-module: runtime management fails for systemd](https://forum.ansible.com/t/service-module-runtime-management-fails-for-systemd/12303)

<div class="topic-metadata">

**Author:** [@Arne\_Jacobs](https://forum.ansible.com/u/Arne_Jacobs)\
**Replies:** 1\
**Last updated:** [February 7, 2013, 6:56pm UTC](https://forum.ansible.com/t/service-module-runtime-management-fails-for-systemd/12303 "2013-02-07T18:56:15Z")

</div>

Why not go one step further and separate this into different modules, like with the package management modules? When using the service module I was asking myself if it was designed to work with various Linux distribut…

---

## [The default flags passed to sudo sudo\_flags=-Hi](https://forum.ansible.com/t/the-default-flags-passed-to-sudo-sudo-flags-hi/12302)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 3\
**Last updated:** [February 7, 2013, 6:17pm UTC](https://forum.ansible.com/t/the-default-flags-passed-to-sudo-sudo-flags-hi/12302 "2013-02-07T18:17:08Z")

</div>

Hi List, I’m trying to add the “-i” sudo option to the sudo\_flags= configuration option in the ansible.cfg like so: the default flags passed to sudo sudo\_flags=-Hi This is because I want some things to run under the…

---

## [Playbooks Simplify](https://forum.ansible.com/t/playbooks-simplify/12301)

<div class="topic-metadata">

**Author:** [@Acyl](https://forum.ansible.com/u/Acyl)\
**Replies:** 3\
**Last updated:** [February 7, 2013, 5:19pm UTC](https://forum.ansible.com/t/playbooks-simplify/12301 "2013-02-07T17:19:18Z")

</div>

Hello, Is it possible to use a variable which will choose a module or another according to OS type in a playbook ? My IT infrastructure is composed of machines CentOS, Redhat, Debian and other OS. I would like to reduc…

---

## [Can setup.py copy modules to a location other than /usr/share/ansible?](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12304)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [February 7, 2013, 3:53pm UTC](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12304 "2013-02-07T15:53:08Z")

</div>

Can you convince your sysadmin to install the 3 or 4 requirements on your system (python-yaml, python-paramiko, and python-jinja2)? If you do, then you do not need to run setup.py. Running the following should be suffic…

---

## [Can setup.py copy modules to a location other than /usr/share/ansible?](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 1\
**Last updated:** [February 7, 2013, 12:38pm UTC](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299 "2013-02-07T12:38:14Z")

</div>

Not sure I'm fully following you here, but you should be able to do a simple 'git clone' or download the src.tarball anywhere you want and run ansible just fine after you running the 'hacking/env-setup' setup script, …

---

## [The start of a basic check (pseudo dry run mode) mode in Ansible 1.1](https://forum.ansible.com/t/the-start-of-a-basic-check-pseudo-dry-run-mode-mode-in-ansible-1-1/12288)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [February 7, 2013, 9:24am UTC](https://forum.ansible.com/t/the-start-of-a-basic-check-pseudo-dry-run-mode-mode-in-ansible-1-1/12288 "2013-02-07T09:24:51Z")

</div>

I recall reading somewhere the reason why Scotty from the original Star Trek always said was something was impossible was it would look more impressive when he got it done. I still disagree with dry run in MANY cases,…

---

## [Using the service module to handle uncooperative services](https://forum.ansible.com/t/using-the-service-module-to-handle-uncooperative-services/12237)

<div class="topic-metadata">

**Author:** [@Daniel\_Hokka\_Zakriss](https://forum.ansible.com/u/Daniel_Hokka_Zakriss)\
**Replies:** 3\
**Last updated:** [February 6, 2013, 11:19pm UTC](https://forum.ansible.com/t/using-the-service-module-to-handle-uncooperative-services/12237 "2013-02-06T23:19:58Z")

</div>

Hello everyone, I have made some changes to the service module to daemonize for all the broken daemons out there. So if you have previously had services that you were unable to start with it, making ansible seemingly …

---

## [How to force task to replay](https://forum.ansible.com/t/how-to-force-task-to-replay/12296)

<div class="topic-metadata">

**Author:** [@Francois\_Legrand](https://forum.ansible.com/u/Francois_Legrand)\
**Replies:** 0\
**Last updated:** [February 6, 2013, 9:05am UTC](https://forum.ansible.com/t/how-to-force-task-to-replay/12296 "2013-02-06T09:05:33Z")

</div>

---

## [Licensing terms for playbooks/modules developed in my use of Ansible and delivered to other people](https://forum.ansible.com/t/licensing-terms-for-playbooks-modules-developed-in-my-use-of-ansible-and-delivered-to-other-people/12294)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 6, 2013, 3:03am UTC](https://forum.ansible.com/t/licensing-terms-for-playbooks-modules-developed-in-my-use-of-ansible-and-delivered-to-other-people/12294 "2013-02-06T03:03:44Z")

</div>

Good question. It does absolutely not require your playbooks or modules to be GPLv3. Playbooks are data and are yours, and are modules. Same true of any inventory scripts you write, as they are simply executed. (Ca…

---

## [Multiple level include directives](https://forum.ansible.com/t/multiple-level-include-directives/12097)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 5\
**Last updated:** [February 5, 2013, 5:24pm UTC](https://forum.ansible.com/t/multiple-level-include-directives/12097 "2013-02-05T17:24:59Z")

</div>

Great! They are reasonable, but this needs to go into 1.0 versus 0.9, so next release. (There is no numerical significance to 1.0)

---

## [Variable to copy ansible inventory file](https://forum.ansible.com/t/variable-to-copy-ansible-inventory-file/12287)

<div class="topic-metadata">

**Author:** [@Blair\_Zajac](https://forum.ansible.com/u/Blair_Zajac)\
**Replies:** 9\
**Last updated:** [February 5, 2013, 11:51am UTC](https://forum.ansible.com/t/variable-to-copy-ansible-inventory-file/12287 "2013-02-05T11:51:35Z")

</div>

Following the DRY principle, I'd like to copy ansible's host file to managed hosts so tools on there can find critical servers, e.g. \[zookeepers\] 192.168.2.2 192.168.2.3 192.168.2.4 And then tools can parse this for…

---

## [building 1.0 on OSX](https://forum.ansible.com/t/building-1-0-on-osx/12291)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 6\
**Last updated:** [February 5, 2013, 2:36am UTC](https://forum.ansible.com/t/building-1-0-on-osx/12291 "2013-02-05T02:36:42Z")

</div>

Hi, I’m trying to build 1.0 on OS X using sheepchase:ansible-1.0 jmarcus$ sudo python2.7 setup.py install or sheepchase:ansible-1.0 jmarcus$ sudo make install and I get: cat: VERSION: No such file or directory fa…

---

## [shortcut to group dns hostname](https://forum.ansible.com/t/shortcut-to-group-dns-hostname/12293)

<div class="topic-metadata">

**Author:** [@Thanhd](https://forum.ansible.com/u/Thanhd)\
**Replies:** 0\
**Last updated:** [February 5, 2013, 12:47am UTC](https://forum.ansible.com/t/shortcut-to-group-dns-hostname/12293 "2013-02-05T00:47:18Z")

</div>

Thank you for the suggestions, I was hopping to be lazy (and maybe keep the host file cleaner). I would imagine there would be a few other with similar host naming patterns. Would be good to have this feature, if you can…

---

## [lineinfile module](https://forum.ansible.com/t/lineinfile-module/12290)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 3\
**Last updated:** [February 4, 2013, 8:07pm UTC](https://forum.ansible.com/t/lineinfile-module/12290 "2013-02-04T20:07:37Z")

</div>

How difficult would it be to add an "insertafter\_regex" in the lineinfile module? Reasoning: For system files, I often much prefer use something like lineifile rather than template, so that I benefit of the changes bro…

---

## [make install problem](https://forum.ansible.com/t/make-install-problem/12214)

<div class="topic-metadata">

**Author:** [@Patric\_Buskas](https://forum.ansible.com/u/Patric_Buskas)\
**Replies:** 2\
**Last updated:** [February 4, 2013, 6:20pm UTC](https://forum.ansible.com/t/make-install-problem/12214 "2013-02-04T18:20:12Z")

</div>

Hi, I was trying to install ansible by following the “Make Install” instruction on the Getting started page but I can’t make it work. I’m getting this “says-me-nothing”-error: patric@micro:~/git/ansible$ ansible 127.0…

---

## [Ansible ENC for The Foreman](https://forum.ansible.com/t/ansible-enc-for-the-foreman/12270)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 9\
**Last updated:** [February 4, 2013, 5:08pm UTC](https://forum.ansible.com/t/ansible-enc-for-the-foreman/12270 "2013-02-04T17:08:24Z")

</div>

I’ve created a new ENC for ansible that allows it to communicate and get node lists and node vars from The Foreman (http://theforeman.org/) and thought I’d share. If you don’t know what The Foreman is you can probably d…

---

## [Different user by host](https://forum.ansible.com/t/different-user-by-host/11608)

<div class="topic-metadata">

**Author:** [@Manuel\_Subredu](https://forum.ansible.com/u/Manuel_Subredu)\
**Replies:** 22\
**Last updated:** [February 4, 2013, 4:01pm UTC](https://forum.ansible.com/t/different-user-by-host/11608 "2013-02-04T16:01:10Z")

</div>

Hi, is currently a way in which I can specify a different remote\_user for each host defined ? I'm running a rather non-conventional farm of servers who have different everything (users, ports, keys, etc) :-S Thank yo…

---

## [Want to network with other Ansible users? (Linked In Group Reminder)](https://forum.ansible.com/t/want-to-network-with-other-ansible-users-linked-in-group-reminder/12289)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [February 4, 2013, 3:31am UTC](https://forum.ansible.com/t/want-to-network-with-other-ansible-users-linked-in-group-reminder/12289 "2013-02-04T03:31:25Z")

</div>

A while back we set this up. Discussions are pretty quiet. I think it would be useful for people finding like-minded IT experts to share info with (and maybe hire) and so on. Group link here if you want to join: h…

---

## [SSH connection ignores timeout "-T" on ansible](https://forum.ansible.com/t/ssh-connection-ignores-timeout-t-on-ansible/12286)

<div class="topic-metadata">

**Author:** [@fdavis](https://forum.ansible.com/u/fdavis)\
**Replies:** 1\
**Last updated:** [February 3, 2013, 3:42am UTC](https://forum.ansible.com/t/ssh-connection-ignores-timeout-t-on-ansible/12286 "2013-02-03T03:42:32Z")

</div>

It seems that the ssh connection plugin ignores the timeout setting from ansible. Are we supposed to set the timeout in ansible\_ssh\_args? (something like ConnectTimeout=10) When I ran this on several machines previousl…

---

## [Ansible 1.0 is released!](https://forum.ansible.com/t/ansible-1-0-is-released/12281)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [February 2, 2013, 11:19pm UTC](https://forum.ansible.com/t/ansible-1-0-is-released/12281 "2013-02-02T23:19:18Z")

</div>

First off I should say 1.0 is really just a number. People get confused about what 1.0 means sometime. It doesn't mean anything except it does mean 10 really solid releases. That's something. 1.0 does not mean we …

---

## [New "with\_random\_choice" lookup plugin](https://forum.ansible.com/t/new-with-random-choice-lookup-plugin/12283)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [February 2, 2013, 10:30pm UTC](https://forum.ansible.com/t/new-with-random-choice-lookup-plugin/12283 "2013-02-02T22:30:15Z")

</div>

It may be that you desire to introduce a degree of randomness into your executions. One example of this is you may have a selection of mirrors you want to choose semi-fairly between. Another, is you might have been …

---

## [hg module upgrades merged](https://forum.ansible.com/t/hg-module-upgrades-merged/12285)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [February 2, 2013, 10:03pm UTC](https://forum.ansible.com/t/hg-module-upgrades-merged/12285 "2013-02-02T22:03:50Z")

</div>

there are a lot of fixes to the hg module in 1.1 that were not in 1.0. We may backport these later to a 1.0.1 (TBD, I'm not certain that we will if we do not have other critical fixes), but if you are looking at 1.0, …

---

## [with\_lines vs with\_pipe](https://forum.ansible.com/t/with-lines-vs-with-pipe/12284)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 6\
**Last updated:** [February 2, 2013, 7:09pm UTC](https://forum.ansible.com/t/with-lines-vs-with-pipe/12284 "2013-02-02T19:09:07Z")

</div>

Can somebody go into details about the difference between these two? Is there really a difference between them?

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

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