# Latest

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

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

**Page:** 1036

---

## [unified naming convention for virt/cloud platforms](https://forum.ansible.com/t/unified-naming-convention-for-virt-cloud-platforms/13119)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 3\
**Last updated:** [July 16, 2013, 11:54pm UTC](https://forum.ansible.com/t/unified-naming-convention-for-virt-cloud-platforms/13119 "2013-07-16T23:54:02Z")

</div>

Hi, I'm currently working on an oVirt/RHEV module which is shaping up nicely. But I've some doubts about the naming convention for the several options like vm name, vm disk size, memory size, There are already severa…

---

## [Ansible for Solr distributed shard deployment](https://forum.ansible.com/t/ansible-for-solr-distributed-shard-deployment/13130)

<div class="topic-metadata">

**Author:** [@Kavin\_Kankeshwar](https://forum.ansible.com/u/Kavin_Kankeshwar)\
**Replies:** 4\
**Last updated:** [July 16, 2013, 5:44pm UTC](https://forum.ansible.com/t/ansible-for-solr-distributed-shard-deployment/13130 "2013-07-16T17:44:09Z")

</div>

Hi, Are there any examples/best practices of using Ansible to deploy Solr distributed index on multiple shards ? I looked at Ansible examples repo, Did not find anything related to it. Regards,

---

## [Ansible-redhat-openstack and Vagrant: allow using an IP not from eth0?](https://forum.ansible.com/t/ansible-redhat-openstack-and-vagrant-allow-using-an-ip-not-from-eth0/13112)

<div class="topic-metadata">

**Author:** [@Darragh\_O\_Reilly](https://forum.ansible.com/u/Darragh_O_Reilly)\
**Replies:** 3\
**Last updated:** [July 16, 2013, 4:43pm UTC](https://forum.ansible.com/t/ansible-redhat-openstack-and-vagrant-allow-using-an-ip-not-from-eth0/13112 "2013-07-16T16:43:35Z")

</div>

the templates in ansible-redhat-openstack use ansible\_default\_ipv4.address in multiple places, and this seems to default to what’s on eth0. Unfortunately Vagrant configures eth0 for NAT with 10.0.2.15 which is no good fo…

---

## [mysql error causes openstack deployment to fail](https://forum.ansible.com/t/mysql-error-causes-openstack-deployment-to-fail/13137)

<div class="topic-metadata">

**Author:** [@Michael\_Aldridge](https://forum.ansible.com/u/Michael_Aldridge)\
**Replies:** 0\
**Last updated:** [July 16, 2013, 4:12pm UTC](https://forum.ansible.com/t/mysql-error-causes-openstack-deployment-to-fail/13137 "2013-07-16T16:12:45Z")

</div>

I have been trying to deploy openstack using the scripts provided during the webinar from a few days ago. The install fails at the same place, every time. Below is the section that fails: TASK: \[create the external net…

---

## [FLOSSS Weekly Wed 8:30 PT](https://forum.ansible.com/t/flosss-weekly-wed-8-30-pt/13135)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 2\
**Last updated:** [July 16, 2013, 2:09pm UTC](https://forum.ansible.com/t/flosss-weekly-wed-8-30-pt/13135 "2013-07-16T14:09:24Z")

</div>

Michael Are you still planning on being on FLOSS weekly tomorrow. I will be listening live and am very excited that you are doing FLOSS. Eric Palmer

---

## [Welcome James Cammarata](https://forum.ansible.com/t/welcome-james-cammarata/13134)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [July 16, 2013, 1:18pm UTC](https://forum.ansible.com/t/welcome-james-cammarata/13134 "2013-07-16T13:18:46Z")

</div>

Hi project list, I’m super excited to share with you all that James Cammarata is joining AnsibleWorks today. As you all may know, James has been running the Cobbler project and community for the last several years, and…

---

## [Crowbar 2.0](https://forum.ansible.com/t/crowbar-2-0/13127)

<div class="topic-metadata">

**Author:** [@Arnon\_Marcus](https://forum.ansible.com/u/Arnon_Marcus)\
**Replies:** 1\
**Last updated:** [July 16, 2013, 11:53am UTC](https://forum.ansible.com/t/crowbar-2-0/13127 "2013-07-16T11:53:10Z")

</div>

https://github.com/crowbar/crowbar/wiki/Crowbar-2.0-FAQ It says it could support Ansible.Any plans on that front?

---

## [Help tutorial playbook execution](https://forum.ansible.com/t/help-tutorial-playbook-execution/13133)

<div class="topic-metadata">

**Author:** [@renato\_hunter](https://forum.ansible.com/u/renato_hunter)\
**Replies:** 0\
**Last updated:** [July 16, 2013, 11:39am UTC](https://forum.ansible.com/t/help-tutorial-playbook-execution/13133 "2013-07-16T11:39:58Z")

</div>

Hi, members, I would like to know the commands to perform playbook, I’m starting a project in the company I work for, I’m struggling to understand about the documentation. Sera that the possibilities for someone to ex…

---

## [Copy folder with subdirectories](https://forum.ansible.com/t/copy-folder-with-subdirectories/13121)

<div class="topic-metadata">

**Author:** [@kialeo](https://forum.ansible.com/u/kialeo)\
**Replies:** 6\
**Last updated:** [July 16, 2013, 6:56am UTC](https://forum.ansible.com/t/copy-folder-with-subdirectories/13121 "2013-07-16T06:56:24Z")

</div>

Is it possible to copy folder including all subdirectories to server. Folder with files can be done with with\_fileglob. What about subdirectories?

---

## [confusion using roles with playbooks inside /playbooks directory](https://forum.ansible.com/t/confusion-using-roles-with-playbooks-inside-playbooks-directory/13122)

<div class="topic-metadata">

**Author:** [@Michael\_Ni](https://forum.ansible.com/u/Michael_Ni)\
**Replies:** 2\
**Last updated:** [July 15, 2013, 11:21pm UTC](https://forum.ansible.com/t/confusion-using-roles-with-playbooks-inside-playbooks-directory/13122 "2013-07-15T23:21:05Z")

</div>

I have the following folder structure as recommended by the examples /group\_vars /host\_vars /playbooks a.yml ← how does this call use roles b.yml ← how does this call use roles /roles /common /files /handlers /…

---

## [Bug in Conditional Includes](https://forum.ansible.com/t/bug-in-conditional-includes/13125)

<div class="topic-metadata">

**Author:** [@Feanil\_Patel](https://forum.ansible.com/u/Feanil_Patel)\
**Replies:** 4\
**Last updated:** [July 15, 2013, 9:29pm UTC](https://forum.ansible.com/t/bug-in-conditional-includes/13125 "2013-07-15T21:29:48Z")

</div>

Hi, I know that when using conditionals on an include, ‘All the tasks get evaluated, but the conditional is applied to each and every task’. However this breaks when some of that tasks register variables and other tasks…

---

## [parsing YAML vs sudo](https://forum.ansible.com/t/parsing-yaml-vs-sudo/13124)

<div class="topic-metadata">

**Author:** [@Michael\_Lucas](https://forum.ansible.com/u/Michael_Lucas)\
**Replies:** 2\
**Last updated:** [July 15, 2013, 3:39pm UTC](https://forum.ansible.com/t/parsing-yaml-vs-sudo/13124 "2013-07-15T15:39:35Z")

</div>

Hi, It would be really nice if ansible would parse the playbook YAML before requesting the sudo password. I'm just learning YAML, and rely on ansible to tell me I'm wrong. I'm frequently wrong. Our company's ansible…

---

## [is there a way to apply "sudo: yes" or "sudo: no" to multiple tasks?](https://forum.ansible.com/t/is-there-a-way-to-apply-sudo-yes-or-sudo-no-to-multiple-tasks/13120)

<div class="topic-metadata">

**Author:** [@Michael\_Ni](https://forum.ansible.com/u/Michael_Ni)\
**Replies:** 10\
**Last updated:** [July 15, 2013, 2:29pm UTC](https://forum.ansible.com/t/is-there-a-way-to-apply-sudo-yes-or-sudo-no-to-multiple-tasks/13120 "2013-07-15T14:29:17Z")

</div>

I currently do the following do NOT use sudo: yes in the playbook for each task that needs sudo, I add sudo: yes, sometimes with sudo\_user however, I see that 50% of my tasks require sudo and it seems a bit repetitive…

---

## [is mysql\_db module missing db parameter?](https://forum.ansible.com/t/is-mysql-db-module-missing-db-parameter/13117)

<div class="topic-metadata">

**Author:** [@Michael\_Ni](https://forum.ansible.com/u/Michael_Ni)\
**Replies:** 2\
**Last updated:** [July 14, 2013, 3:52pm UTC](https://forum.ansible.com/t/is-mysql-db-module-missing-db-parameter/13117 "2013-07-14T15:52:51Z")

</div>

in the example i see the parameter “db” - mysql\_db: db=bobdata state=present but not in the documentation table http://www.ansibleworks.com/docs/modules.html#mysql-db Mike

---

## [output newline](https://forum.ansible.com/t/output-newline/13115)

<div class="topic-metadata">

**Author:** [@yasushi\_komatsu](https://forum.ansible.com/u/yasushi_komatsu)\
**Replies:** 2\
**Last updated:** [July 13, 2013, 10:00pm UTC](https://forum.ansible.com/t/output-newline/13115 "2013-07-13T22:00:25Z")

</div>

When running jobs with yum module the returned output newline characters (\\n). PLAY \[testservers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [comments at end-of-line ??](https://forum.ansible.com/t/comments-at-end-of-line/13113)

<div class="topic-metadata">

**Author:** [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Replies:** 1\
**Last updated:** [July 12, 2013, 9:22pm UTC](https://forum.ansible.com/t/comments-at-end-of-line/13113 "2013-07-12T21:22:38Z")

</div>

None of the Ansible playbook documentation I have seen shows putting comments at the end of a line. YAML supports end-of-line comments, and my initial test with end-of-line comments in ansible playbooks seem to work fin…

---

## [using role for deployment across multiple OSs](https://forum.ansible.com/t/using-role-for-deployment-across-multiple-oss/13110)

<div class="topic-metadata">

**Author:** [@Michael\_Lucas](https://forum.ansible.com/u/Michael_Lucas)\
**Replies:** 1\
**Last updated:** [July 12, 2013, 6:37pm UTC](https://forum.ansible.com/t/using-role-for-deployment-across-multiple-oss/13110 "2013-07-12T18:37:37Z")

</div>

Hi, About to write my first role-based playbook, and wanted to verify I understand the Ansible Way before getting myself in trouble. I need to deploy software across multiple operating systems. I want to reuse as muc…

---

## [lineinfile module (insertbefore - insertafter - problems)](https://forum.ansible.com/t/lineinfile-module-insertbefore-insertafter-problems/13103)

<div class="topic-metadata">

**Author:** [@lars\_svenson](https://forum.ansible.com/u/lars_svenson)\
**Replies:** 3\
**Last updated:** [July 12, 2013, 5:01pm UTC](https://forum.ansible.com/t/lineinfile-module-insertbefore-insertafter-problems/13103 "2013-07-12T17:01:40Z")

</div>

Dear community, I’m using the lineinfile module to insert a line into a vhost file on Debian. But it does not work as I expected. Here’s is the code. name: add auth lines to auth via .htpasswd to /etc/apache2/sites-av…

---

## [variable expansion in includes](https://forum.ansible.com/t/variable-expansion-in-includes/13107)

<div class="topic-metadata">

**Author:** [@Ed\_Zarecor](https://forum.ansible.com/u/Ed_Zarecor)\
**Replies:** 3\
**Last updated:** [July 12, 2013, 2:13pm UTC](https://forum.ansible.com/t/variable-expansion-in-includes/13107 "2013-07-12T14:13:11Z")

</div>

Is it possible to do something like the following: include: os/${ansible\_distribution}.yml As so, it’s not working, but I’m hoping there’s a way to accomplish something like this. Best, Ed.

---

## [with\_nested in use with variables?](https://forum.ansible.com/t/with-nested-in-use-with-variables/13109)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 8\
**Last updated:** [July 12, 2013, 2:01pm UTC](https://forum.ansible.com/t/with-nested-in-use-with-variables/13109 "2013-07-12T14:01:34Z")

</div>

Hi List, We are trying to do this: name: Oracle | Copy files action: copy backup=yes src=/media/storage/DM/orabestanden/aix/{{item}} force=yes dest=/opt/oracle/admin/network/admin/${item} owner=oracle group=d…

---

## [Hide (standard) output of tasks](https://forum.ansible.com/t/hide-standard-output-of-tasks/13108)

<div class="topic-metadata">

**Author:** [@Max\_Wolfing](https://forum.ansible.com/u/Max_Wolfing)\
**Replies:** 2\
**Last updated:** [July 12, 2013, 1:13pm UTC](https://forum.ansible.com/t/hide-standard-output-of-tasks/13108 "2013-07-12T13:13:02Z")

</div>

Hello, I hope someone can answer my following question: It is possible to run ansible tasks in background, or hiding their output from playbook? Here is an example: In an playbook I have the following task: name: cr…

---

## [with\_nested produces Cartesian product.](https://forum.ansible.com/t/with-nested-produces-cartesian-product/13105)

<div class="topic-metadata">

**Author:** [@Bradley\_Young](https://forum.ansible.com/u/Bradley_Young)\
**Replies:** 4\
**Last updated:** [July 12, 2013, 12:28pm UTC](https://forum.ansible.com/t/with-nested-produces-cartesian-product/13105 "2013-07-12T12:28:17Z")

</div>

My pull request got rejected, so I’ll plead my case for https://github.com/ansible/ansible/pull/3503 : The with\_nested function/whatever it’s called is broken. It produces, incorrectly, a Cartesian product. Look at the …

---

## [EC2 hostnames and Ansible inventory file](https://forum.ansible.com/t/ec2-hostnames-and-ansible-inventory-file/13098)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 7\
**Last updated:** [July 12, 2013, 11:47am UTC](https://forum.ansible.com/t/ec2-hostnames-and-ansible-inventory-file/13098 "2013-07-12T11:47:11Z")

</div>

Hi All, I’m trying to figure what’s the best way to set my web servers hostname in Amazon EC2 and also have them configured in the HA Proxy config automatically by Ansible. I have the following inventory file :

---

## [Gather facts with check mode](https://forum.ansible.com/t/gather-facts-with-check-mode/13106)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 2\
**Last updated:** [July 11, 2013, 11:46pm UTC](https://forum.ansible.com/t/gather-facts-with-check-mode/13106 "2013-07-11T23:46:20Z")

</div>

How can I get external gather facts to work with check mode? For example, I’m using an action of ec2\_facts, however, this does not function with --check mode enabled, and my “ansible\_ec2\_\*” variables are not defined. I…

---

## [Accessing hostvars in module](https://forum.ansible.com/t/accessing-hostvars-in-module/13054)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin](https://forum.ansible.com/u/Dylan_Martin)\
**Replies:** 7\
**Last updated:** [July 11, 2013, 11:40pm UTC](https://forum.ansible.com/t/accessing-hostvars-in-module/13054 "2013-07-11T23:40:00Z")

</div>

Hi all. Deepest apologies if this is documented elsewhere. I have tried and failed so far to find it. I’m writing a module to take stuff out of host\_vars and populate values in cobbler. I’ve found a few references that …

---

## [EOF in backquote substitution](https://forum.ansible.com/t/eof-in-backquote-substitution/13102)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 6\
**Last updated:** [July 11, 2013, 11:38pm UTC](https://forum.ansible.com/t/eof-in-backquote-substitution/13102 "2013-07-11T23:38:19Z")

</div>

I am receiving the following with verbose debugging: \<myserver.mydomain.com\> ESTABLISH CONNECTION FOR USER: cq \<myserver.mydomain.com\> EXEC \[‘ssh’, ‘-tt’, ‘-q’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘…

---

## [Ansible-pull with mercurial repo](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020)

<div class="topic-metadata">

**Author:** [@Giuliano\_Barberi](https://forum.ansible.com/u/Giuliano_Barberi)\
**Replies:** 4\
**Last updated:** [July 11, 2013, 10:43pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020 "2013-07-11T22:43:52Z")

</div>

Is this possible?

---

## [pre\_tasks and tags...](https://forum.ansible.com/t/pre-tasks-and-tags/13100)

<div class="topic-metadata">

**Author:** [@seanosh](https://forum.ansible.com/u/seanosh)\
**Replies:** 9\
**Last updated:** [July 11, 2013, 9:39pm UTC](https://forum.ansible.com/t/pre-tasks-and-tags/13100 "2013-07-11T21:39:11Z")

</div>

Hey all, Assuming the following example playbook: name: run common tasks against all hosts… hosts: all pre\_tasks: name: hello world! shell: echo ‘hello world’ \> /tmp/hello roles: { role: ‘common’, tags: \[ ‘com…

---

## [We will miss you Seth!](https://forum.ansible.com/t/we-will-miss-you-seth/13093)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 9\
**Last updated:** [July 11, 2013, 1:54am UTC](https://forum.ansible.com/t/we-will-miss-you-seth/13093 "2013-07-11T01:54:39Z")

</div>

Hi everyone, For those that do not know already, Seth Vidal (skvidal) passed away last night. I am mentioning here in case people have not already read the news, as I wanted everyone to know. Robin from the Fedora Proje…

---

## [Search Path for Playbooks?](https://forum.ansible.com/t/search-path-for-playbooks/13090)

<div class="topic-metadata">

**Author:** [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Replies:** 8\
**Last updated:** [July 11, 2013, 12:59am UTC](https://forum.ansible.com/t/search-path-for-playbooks/13090 "2013-07-11T00:59:28Z")

</div>

I’m a newbie planning to use Ansible in a multi-project / multi-developer environment. I envision creating a set of ‘system-wide’ playbooks, augmented by project-specific playbooks that extend and perhaps overlay the ‘s…

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

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