# Latest

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

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

**Page:** 1063

---

## [copy multiple files](https://forum.ansible.com/t/copy-multiple-files/12208)

<div class="topic-metadata">

**Author:** [@dandm3](https://forum.ansible.com/u/dandm3)\
**Replies:** 4\
**Last updated:** [January 25, 2013, 2:54am UTC](https://forum.ansible.com/t/copy-multiple-files/12208 "2013-01-25T02:54:12Z")

</div>

Is there a way to copy multiple files with a single command? The copy module doesn’t seem to handle “\*.conf” for example. I often want to deploy an entire folder containing multiple files and it would be tedious to have …

---

## [Set (overlord) environment variable in playbook](https://forum.ansible.com/t/set-overlord-environment-variable-in-playbook/11544)

<div class="topic-metadata">

**Author:** [@Matthew\_Williams](https://forum.ansible.com/u/Matthew_Williams)\
**Replies:** 3\
**Last updated:** [January 25, 2013, 12:49am UTC](https://forum.ansible.com/t/set-overlord-environment-variable-in-playbook/11544 "2013-01-25T00:49:27Z")

</div>

I often (almost always) use bash scripts to do prep and cleanup on the overlord, and invoke ansible-playbook therefrom. I can easily pass data into ansible from the environment by setting --extra-vars, but I can’t think …

---

## [Over riding host in playbook](https://forum.ansible.com/t/over-riding-host-in-playbook/12247)

<div class="topic-metadata">

**Author:** [@Kavin](https://forum.ansible.com/u/Kavin)\
**Replies:** 3\
**Last updated:** [January 25, 2013, 12:02am UTC](https://forum.ansible.com/t/over-riding-host-in-playbook/12247 "2013-01-25T00:02:55Z")

</div>

Hi, I guess i have a relatively simple question, which i could not find a way to do. Currently I always need to edit my playbook file to specify the host group to run it for. Is it possible to override the host specifi…

---

## [Ansible 0.9 now in MacPorts](https://forum.ansible.com/t/ansible-0-9-now-in-macports/12246)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 24, 2013, 9:24pm UTC](https://forum.ansible.com/t/ansible-0-9-now-in-macports/12246 "2013-01-24T21:24:24Z")

</div>

Thanks, this is great!

---

## [wait\_for not seeing port open up](https://forum.ansible.com/t/wait-for-not-seeing-port-open-up/12245)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 3\
**Last updated:** [January 24, 2013, 9:08pm UTC](https://forum.ansible.com/t/wait-for-not-seeing-port-open-up/12245 "2013-01-24T21:08:03Z")

</div>

Hi, My playbook is not continuring sometimes because I’m not sure that wait\_for is checking the port frequently enough… Play: name: Start citrusleaf server action: service name=citrusleaf pattern=/usr/bin/cld state…

---

## [playbook name as a variable](https://forum.ansible.com/t/playbook-name-as-a-variable/12244)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 0\
**Last updated:** [January 24, 2013, 7:56pm UTC](https://forum.ansible.com/t/playbook-name-as-a-variable/12244 "2013-01-24T19:56:26Z")

</div>

Is there a variable that holds the playbook name? Thanks.

---

## [passing nested data to custom modules](https://forum.ansible.com/t/passing-nested-data-to-custom-modules/12242)

<div class="topic-metadata">

**Author:** [@James\_Martin](https://forum.ansible.com/u/James_Martin)\
**Replies:** 3\
**Last updated:** [January 24, 2013, 5:11pm UTC](https://forum.ansible.com/t/passing-nested-data-to-custom-modules/12242 "2013-01-24T17:11:49Z")

</div>

Greetings, I'm working on a AWS cloudformation module that will allow you to launch predefined cloudformation stacks using ansible. CloudFormation templates can take a variable number of k/v parameters, up to 30. I …

---

## [global vars, vars\_file?](https://forum.ansible.com/t/global-vars-vars-file/12227)

<div class="topic-metadata">

**Author:** [@John\_Wong](https://forum.ansible.com/u/John_Wong)\
**Replies:** 3\
**Last updated:** [January 24, 2013, 5:02am UTC](https://forum.ansible.com/t/global-vars-vars-file/12227 "2013-01-24T05:02:07Z")

</div>

This is how I structure my playbooks /root/ bootstrap.yml master.yml slave.yml /apt/ tasks/ common.yml master.yml slave.yml bootstrap is entry point In bootstrap.yml I include master and slave playbooks incl…

---

## [Role of SAS Programmer in North Wals, PA](https://forum.ansible.com/t/role-of-sas-programmer-in-north-wals-pa/12241)

<div class="topic-metadata">

**Author:** [@Optimals\_Solution](https://forum.ansible.com/u/Optimals_Solution)\
**Replies:** 1\
**Last updated:** [January 23, 2013, 10:05pm UTC](https://forum.ansible.com/t/role-of-sas-programmer-in-north-wals-pa/12241 "2013-01-23T22:05:46Z")

</div>

Dear Consultant, Hope you are doing well. Please let me know if you or you know anyone available for below position. Thank you Position Title: SAS Programmer Location: North Wales, PA Rate: Open Duration: 1 Year D…

---

## [How to use one ansible command to act on hosts with different user names?](https://forum.ansible.com/t/how-to-use-one-ansible-command-to-act-on-hosts-with-different-user-names/12239)

<div class="topic-metadata">

**Author:** [@Robert\_Vernon\_Philli](https://forum.ansible.com/u/Robert_Vernon_Philli)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 6:26pm UTC](https://forum.ansible.com/t/how-to-use-one-ansible-command-to-act-on-hosts-with-different-user-names/12239 "2013-01-23T18:26:57Z")

</div>

Hi Group, Ansible looks really fine, and I am just starting out with using it to facilitate running processes in parallel on multiple hosts of my client. In short: Is there any way to run one ansible command over multi…

---

## [How to daemonize better with Ansible?](https://forum.ansible.com/t/how-to-daemonize-better-with-ansible/12238)

<div class="topic-metadata">

**Author:** [@Mike\_Grozak](https://forum.ansible.com/u/Mike_Grozak)\
**Replies:** 2\
**Last updated:** [January 23, 2013, 4:30pm UTC](https://forum.ansible.com/t/how-to-daemonize-better-with-ansible/12238 "2013-01-23T16:30:19Z")

</div>

Dear Ansible Community, We are trying to migrate from one old system to Ansible. With old system, we are able to daemonize shell strings like this: exec -a clic /bin/sh -c “while :; do mkdir -p /local/clicop ; rsync -b …

---

## [Refining hash variables](https://forum.ansible.com/t/refining-hash-variables/12225)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 17\
**Last updated:** [January 23, 2013, 4:25pm UTC](https://forum.ansible.com/t/refining-hash-variables/12225 "2013-01-23T16:25:14Z")

</div>

Hi all, It seems that it is not possible to refine (change, add) variables in a hash without redefining everything. For instance, let's say we're managing sshd config file, and we have this in 'group\_vars/all' : s…

---

## [Playbook example for capistrano-type deployment](https://forum.ansible.com/t/playbook-example-for-capistrano-type-deployment/12215)

<div class="topic-metadata">

**Author:** [@Meng\_Kuan](https://forum.ansible.com/u/Meng_Kuan)\
**Replies:** 14\
**Last updated:** [January 23, 2013, 3:14pm UTC](https://forum.ansible.com/t/playbook-example-for-capistrano-type-deployment/12215 "2013-01-23T15:14:06Z")

</div>

Hi, I’ve been experimenting with using ansible to configure brand new virtual machines (timezone, ssh keys, ruby, nginx, postgresql, etc) and so far so good. Not having to run puppet daemons is liberating. =) Next I’m …

---

## [Refactoring to Ansible, have more questions](https://forum.ansible.com/t/refactoring-to-ansible-have-more-questions/12235)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 5\
**Last updated:** [January 23, 2013, 12:43pm UTC](https://forum.ansible.com/t/refactoring-to-ansible-have-more-questions/12235 "2013-01-23T12:43:23Z")

</div>

I'm really starting to get Ansible now that I'm looking at it from the perspective of setting up an entire server from scratch and keeping it the way I want it. So I'm about to set up my first major deployment, and am tw…

---

## [Corruption of sources.list](https://forum.ansible.com/t/corruption-of-sources-list/12236)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 1\
**Last updated:** [January 23, 2013, 9:03am UTC](https://forum.ansible.com/t/corruption-of-sources-list/12236 "2013-01-23T09:03:26Z")

</div>

\[ansible 0.9, ubuntu 12.04\] Here’s a strange one. To start with, I run a playbook which contains the following actions:

---

## [only\_if directory/fiel does not exist](https://forum.ansible.com/t/only-if-directory-fiel-does-not-exist/12226)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 11\
**Last updated:** [January 22, 2013, 7:42pm UTC](https://forum.ansible.com/t/only-if-directory-fiel-does-not-exist/12226 "2013-01-22T19:42:15Z")

</div>

I'm struggling with creating rules that need to be skipped if a given directory exits. If I do this: tasks: - name: create target dir action: command mkdir -p $target\_dir creates=$target\_dir r…

---

## [Documentation index?](https://forum.ansible.com/t/documentation-index/12234)

<div class="topic-metadata">

**Author:** [@Jim\_Kleckner](https://forum.ansible.com/u/Jim_Kleckner)\
**Replies:** 1\
**Last updated:** [January 22, 2013, 6:35pm UTC](https://forum.ansible.com/t/documentation-index/12234 "2013-01-22T18:35:24Z")

</div>

Is there a simple way to auto-generate an index page for the documentation? Newcomers would benefit a lot from being able to click through to pages that have, for example, with\_fileglob or some such.

---

## [tagged tasks and gather\_facts not friends](https://forum.ansible.com/t/tagged-tasks-and-gather-facts-not-friends/12233)

<div class="topic-metadata">

**Author:** [@Oren\_Shomron](https://forum.ansible.com/u/Oren_Shomron)\
**Replies:** 0\
**Last updated:** [January 22, 2013, 4:37pm UTC](https://forum.ansible.com/t/tagged-tasks-and-gather-facts-not-friends/12233 "2013-01-22T16:37:51Z")

</div>

Hi everyone, It seems that if you run tagged tasks which depend on facts from gather\_facts, if the entire play is not tagged as well, fact collection is skipped and your variables will be unavailable. For example: … …

---

## [sym link (file module)](https://forum.ansible.com/t/sym-link-file-module/12229)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [January 22, 2013, 4:27pm UTC](https://forum.ansible.com/t/sym-link-file-module/12229 "2013-01-22T16:27:26Z")

</div>

Often we install software in a directory with their version number, then add a link with just the name. e.g.: cd /opt ls -l httpd-2.0.64 httpd-2.2.23 httpd-2.4.3 httpd -\> httpd…

---

## [Skipped tasks and register variables](https://forum.ansible.com/t/skipped-tasks-and-register-variables/12232)

<div class="topic-metadata">

**Author:** [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Replies:** 7\
**Last updated:** [January 22, 2013, 3:31pm UTC](https://forum.ansible.com/t/skipped-tasks-and-register-variables/12232 "2013-01-22T15:31:04Z")

</div>

Hi everyone, I’m trying to create a playbook to set up my Postgres instances. At a certain point, I’d like to make Postgres do an initdb. This is what I have so far: name: ensure postgresql 9.2 is initialized shell: …

---

## [Making "hosts: all" the default for playbooks?](https://forum.ansible.com/t/making-hosts-all-the-default-for-playbooks/12230)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 1\
**Last updated:** [January 22, 2013, 12:44pm UTC](https://forum.ansible.com/t/making-hosts-all-the-default-for-playbooks/12230 "2013-01-22T12:44:37Z")

</div>

I am steadily evolving my understanding of Ansible. I came to Ansible before Puppet or Chef, so am slowly learning how I should be using it vs. what I thought I should be doing a few months ago. That said, I don't know i…

---

## [cleanup action](https://forum.ansible.com/t/cleanup-action/12228)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [January 22, 2013, 12:41pm UTC](https://forum.ansible.com/t/cleanup-action/12228 "2013-01-22T12:41:03Z")

</div>

Is there a way to execute a cleanup action on a host, if any rule in a playbook fails? Kind of like an except clause in programming languages?

---

## [tags for included tasks](https://forum.ansible.com/t/tags-for-included-tasks/12231)

<div class="topic-metadata">

**Author:** [@Mark\_Nottingham](https://forum.ansible.com/u/Mark_Nottingham)\
**Replies:** 3\
**Last updated:** [January 22, 2013, 12:31pm UTC](https://forum.ansible.com/t/tags-for-included-tasks/12231 "2013-01-22T12:31:00Z")

</div>

It would be great if an included task could be tagged, so that it isn’t necessary to tag everything in that task; e.g., include: $tasks/sshd.yml tags: sysconfig Am I missing something? Thanks,

---

## [Module function testings in core](https://forum.ansible.com/t/module-function-testings-in-core/12223)

<div class="topic-metadata">

**Author:** [@david.chanial](https://forum.ansible.com/u/david.chanial)\
**Replies:** 9\
**Last updated:** [January 22, 2013, 5:48am UTC](https://forum.ansible.com/t/module-function-testings-in-core/12223 "2013-01-22T05:48:38Z")

</div>

Hi, For the Gentoo Portage “emerge” module creation i confirm what i have thinked about creating the sysctl module : Why the python modules ; and/or the python core modules must leak the call of the main function assum…

---

## [How to set vars\_pompt default values](https://forum.ansible.com/t/how-to-set-vars-pompt-default-values/12203)

<div class="topic-metadata">

**Author:** [@Edu\_el\_Ligre](https://forum.ansible.com/u/Edu_el_Ligre)\
**Replies:** 3\
**Last updated:** [January 22, 2013, 2:50am UTC](https://forum.ansible.com/t/how-to-set-vars-pompt-default-values/12203 "2013-01-22T02:50:25Z")

</div>

Hi there, I am trying to have some kind of default value when prompting for variables like this: vars\_prompt: branch\_prompt: “Branch to deploy? (master)” vars: branch: “‘$branch\_prompt’ if $branch\_prompt else ‘maste…

---

## [Is there any way for indirect reference in a playbook?](https://forum.ansible.com/t/is-there-any-way-for-indirect-reference-in-a-playbook/12218)

<div class="topic-metadata">

**Author:** [@Edu\_el\_Ligre](https://forum.ansible.com/u/Edu_el_Ligre)\
**Replies:** 2\
**Last updated:** [January 20, 2013, 10:04pm UTC](https://forum.ansible.com/t/is-there-any-way-for-indirect-reference-in-a-playbook/12218 "2013-01-20T22:04:48Z")

</div>

Haven’t found any info about this. I can probably work around this itch, but if variable indirection is available, I would use it. Cheers!

---

## [Recent addition of "-i" argument to sudo is reverted](https://forum.ansible.com/t/recent-addition-of-i-argument-to-sudo-is-reverted/12219)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [January 20, 2013, 9:58pm UTC](https://forum.ansible.com/t/recent-addition-of-i-argument-to-sudo-is-reverted/12219 "2013-01-20T21:58:56Z")

</div>

It seems this is hanging for various folks, and it's somewhat unclear why, so I reverted the commit. Since we recently added a "default\_sudo\_exe" parameter for those using alternative environments, it may be reasonabl…

---

## [Playbook - Start Service Issue](https://forum.ansible.com/t/playbook-start-service-issue/12217)

<div class="topic-metadata">

**Author:** [@chetan\_conikee](https://forum.ansible.com/u/chetan_conikee)\
**Replies:** 4\
**Last updated:** [January 20, 2013, 9:21pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217 "2013-01-20T21:21:36Z")

</div>

Hi I whipped up a very simple redis playbook this evening … Everything seems to work as expected, but for some reason the “start service” command does not seem to be working as expected, as the service is not being sta…

---

## [1.0 release](https://forum.ansible.com/t/1-0-release/12222)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [January 20, 2013, 9:16pm UTC](https://forum.ansible.com/t/1-0-release/12222 "2013-01-20T21:16:23Z")

</div>

I know a lot of folks consume upstream git versus releases (great, me too!), but releases are still widely used by the distributions. Our current release plan is 'approximately every two months', and we last released …

---

## [A short list of things added to 1.0 so far](https://forum.ansible.com/t/a-short-list-of-things-added-to-1-0-so-far/12221)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [January 20, 2013, 4:33pm UTC](https://forum.ansible.com/t/a-short-list-of-things-added-to-1-0-so-far/12221 "2013-01-20T16:33:18Z")

</div>

Hi all, Just got done building changelogs, and here's my summarized list of things added since 0.9 thus far. Much of this needs documentation, which I'll take care of as we get closer to the 1.0 release. (And I'll …

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

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