# Latest

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

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

**Page:** 1049

---

## [authorized\_keys from a directory](https://forum.ansible.com/t/authorized-keys-from-a-directory/12707)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 3\
**Last updated:** [April 22, 2013, 9:27pm UTC](https://forum.ansible.com/t/authorized-keys-from-a-directory/12707 "2013-04-22T21:27:02Z")

</div>

It seems like if you want to authoratively say “just these keys are authorized”, you could just push the authorized key file with the copy (or template) module. This is probably what I would do. The way modules work, pa…

---

## [new users, looking for some easy ways to contribute?](https://forum.ansible.com/t/new-users-looking-for-some-easy-ways-to-contribute/12710)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [April 22, 2013, 7:14pm UTC](https://forum.ansible.com/t/new-users-looking-for-some-easy-ways-to-contribute/12710 "2013-04-22T19:14:43Z")

</div>

Hello ansible users! Should any of you want to contribute to ansible, here are some easy bug tickets here that may be a good way to get your feet wet… https://github.com/ansible/ansible/issues?labels=bug&page=1 Let me…

---

## [Using 'include' in a loop](https://forum.ansible.com/t/using-include-in-a-loop/12709)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [April 22, 2013, 1:28pm UTC](https://forum.ansible.com/t/using-include-in-a-loop/12709 "2013-04-22T13:28:49Z")

</div>

Sure… include + with\_items can be confusing, so we have been trying to remove it from the docs to explain better ways to do it. Can you let me know where you found documentation on this subject in the docs so I can remo…

---

## [error when copying local file to remote server](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708)

<div class="topic-metadata">

**Author:** [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Replies:** 2\
**Last updated:** [April 22, 2013, 12:27pm UTC](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708 "2013-04-22T12:27:27Z")

</div>

Hi all, I just want to copy a local file to a remote server using the copy module but get this error: “msg: src (or content) and dest are required” upload\_file.yml:

---

## [EC2 Module ignoring zone parameter](https://forum.ansible.com/t/ec2-module-ignoring-zone-parameter/12703)

<div class="topic-metadata">

**Author:** [@Leonardo\_Murillo](https://forum.ansible.com/u/Leonardo_Murillo)\
**Replies:** 1\
**Last updated:** [April 20, 2013, 8:32am UTC](https://forum.ansible.com/t/ec2-module-ignoring-zone-parameter/12703 "2013-04-20T08:32:09Z")

</div>

This is solved - you need to specify the proper endoint for the zone you’ve specified. In other words, if you specify zone: us-west-1c you need to specify ec2\_url: https://ec2.us-west-1.amazonaws.com Otherwise you’ll ru…

---

## [Sharing files in tasks between playbooks](https://forum.ansible.com/t/sharing-files-in-tasks-between-playbooks/12701)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 2\
**Last updated:** [April 20, 2013, 5:57am UTC](https://forum.ansible.com/t/sharing-files-in-tasks-between-playbooks/12701 "2013-04-20T05:57:04Z")

</div>

Hi, We are adding more and more systems and services under Ansible’s control and it’s fun and allows us to manage our environment in a much more efficient way. Currently we have all playbooks in Ansible’s top dir but i…

---

## [Ansible API](https://forum.ansible.com/t/ansible-api/12702)

<div class="topic-metadata">

**Author:** [@Antonio\_Messina](https://forum.ansible.com/u/Antonio_Messina)\
**Replies:** 3\
**Last updated:** [April 19, 2013, 9:32pm UTC](https://forum.ansible.com/t/ansible-api/12702 "2013-04-19T21:32:14Z")

</div>

Hi all, As I mentioned in a previous email, we are using ansible from a python program to creates and configure HPC clusters on a cloud using, of course, ansible. The reason why I am writing is because we would like …

---

## [Variables in playbooks don't get evaluated? (ansible 1.1)](https://forum.ansible.com/t/variables-in-playbooks-dont-get-evaluated-ansible-1-1/12698)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 3\
**Last updated:** [April 19, 2013, 4:13pm UTC](https://forum.ansible.com/t/variables-in-playbooks-dont-get-evaluated-ansible-1-1/12698 "2013-04-19T16:13:26Z")

</div>

The {{ new\_form }} is only good in Ansible 1.2. I suspect you are still using 1.1? 1.1 compatible docs are here: http://ansible.cc/docs/released/1.1/

---

## [Group variables interpolation](https://forum.ansible.com/t/group-variables-interpolation/12699)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 12:19pm UTC](https://forum.ansible.com/t/group-variables-interpolation/12699 "2013-04-19T12:19:50Z")

</div>

Yes, it will work exactly like you would suspect. Also, in 1.2 syntax, this does work too: msg: “{{ hello.upper() }} world!” it would evaluate as “HELLO world!” Both forms are recursive. The one catch with the new 1…

---

## [Ansible commander development update](https://forum.ansible.com/t/ansible-commander-development-update/12697)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 3:11am UTC](https://forum.ansible.com/t/ansible-commander-development-update/12697 "2013-04-19T03:11:11Z")

</div>

Hi everyone, As I have mentioned earlier, ansible commander is a work in progress to build a REST API on top of Ansible that allows for inventory access, detailed logging, and ability to REST-trigger playbook executions…

---

## [Windows testing & new module 'winreg'](https://forum.ansible.com/t/windows-testing-new-module-winreg/12525)

<div class="topic-metadata">

**Author:** [@Chris\_Bennett](https://forum.ansible.com/u/Chris_Bennett)\
**Replies:** 15\
**Last updated:** [April 19, 2013, 2:00am UTC](https://forum.ansible.com/t/windows-testing-new-module-winreg/12525 "2013-04-19T02:00:26Z")

</div>

Hi there, I've just started getting into ansible on the Linux side (great software!), and have spent a little time playing with Windows & Cygwin. I can report that shell actions are quite reliable - I've been able to …

---

## [Changing the S3 module behaviour](https://forum.ansible.com/t/changing-the-s3-module-behaviour/12617)

<div class="topic-metadata">

**Author:** [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Replies:** 13\
**Last updated:** [April 19, 2013, 1:16am UTC](https://forum.ansible.com/t/changing-the-s3-module-behaviour/12617 "2013-04-19T01:16:06Z")

</div>

Hi Magnus, Yeah, I think this is the best route to take and we pretty much reached consensus in the github issue ticket. I’ve left some basic lines of code at the end of the module (commented) which do the fetch by cop…

---

## [class ansible.playbook.PlayBook](https://forum.ansible.com/t/class-ansible-playbook-playbook/12693)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [April 18, 2013, 9:54pm UTC](https://forum.ansible.com/t/class-ansible-playbook-playbook/12693 "2013-04-18T21:54:52Z")

</div>

Hi Lasse, You can take a look at /usr/bin/ansible and /usr/bin/ansible-playbook for examples of how these are used. Basically some of the ‘single-action’ kind of things are runner callbacks, playbook callbacks are more…

---

## [OSX Error:: module object has no attribute loads](https://forum.ansible.com/t/osx-error-module-object-has-no-attribute-loads/12438)

<div class="topic-metadata">

**Author:** [@Furqan\_Hameed](https://forum.ansible.com/u/Furqan_Hameed)\
**Replies:** 8\
**Last updated:** [April 18, 2013, 2:54pm UTC](https://forum.ansible.com/t/osx-error-module-object-has-no-attribute-loads/12438 "2013-04-18T14:54:53Z")

</div>

I installed ansible on osx mountain lion but running a simple test gives me error…no idea what’s wrong i am doing :cry: furqan@Furqans-MacBook-Pro { ~/ansible-config }-\> ansible all -m ping -i ansible\_hosts 192.168.50.…

---

## [Sabayon library](https://forum.ansible.com/t/sabayon-library/12695)

<div class="topic-metadata">

**Author:** [@John\_Giannakopoulos](https://forum.ansible.com/u/John_Giannakopoulos)\
**Replies:** 2\
**Last updated:** [April 18, 2013, 1:21pm UTC](https://forum.ansible.com/t/sabayon-library/12695 "2013-04-18T13:21:10Z")

</div>

hello i am undergraduate student that started learing python and i am trying to make library similar to pacman from arch to Sabayon i got up to this i got replied that maybe there is a small indentation error on line 8…

---

## [Group/host vars files proposal.](https://forum.ansible.com/t/group-host-vars-files-proposal/12678)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 3\
**Last updated:** [April 17, 2013, 11:52pm UTC](https://forum.ansible.com/t/group-host-vars-files-proposal/12678 "2013-04-17T23:52:19Z")

</div>

Would you still accept a patch to load files with a .yml or .yaml suffix?

---

## [Problem going from 0.9 to 1.1 - with\_items: \<complex-list\> attached to include](https://forum.ansible.com/t/problem-going-from-0-9-to-1-1-with-items-complex-list-attached-to-include/12680)

<div class="topic-metadata">

**Author:** [@Asad\_Khan](https://forum.ansible.com/u/Asad_Khan)\
**Replies:** 7\
**Last updated:** [April 17, 2013, 6:31pm UTC](https://forum.ansible.com/t/problem-going-from-0-9-to-1-1-with-items-complex-list-attached-to-include/12680 "2013-04-17T18:31:36Z")

</div>

The following works with 0.9 and earlier, but fails with 1.1 and trunk: test11.yml: hosts: somehosts user: ansible sudo: yes vars: component: { ‘name’ : ‘tomcat6’ , ‘version’ : ‘6.0.24-48.el6\_3’ } tasks: include…

---

## [Yum module (--nogpgcheck and undocumented conf\_file option)](https://forum.ansible.com/t/yum-module-nogpgcheck-and-undocumented-conf-file-option/12692)

<div class="topic-metadata">

**Author:** [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Replies:** 2\
**Last updated:** [April 17, 2013, 1:21pm UTC](https://forum.ansible.com/t/yum-module-nogpgcheck-and-undocumented-conf-file-option/12692 "2013-04-17T13:21:38Z")

</div>

Hi, a colleague asked me how to install an unsigned RPM with the Yum module. Going through the module, it doesn’t seem easy (no way to make the module add --nogpgcheck to the Yum invocation). Also, I noticed a conf\_file…

---

## [how to specify a user name in an ansible host entry](https://forum.ansible.com/t/how-to-specify-a-user-name-in-an-ansible-host-entry/12687)

<div class="topic-metadata">

**Author:** [@CWS](https://forum.ansible.com/u/CWS)\
**Replies:** 2\
**Last updated:** [April 17, 2013, 12:31am UTC](https://forum.ansible.com/t/how-to-specify-a-user-name-in-an-ansible-host-entry/12687 "2013-04-17T00:31:57Z")

</div>

Host or group vars: http://ansible.cc/docs/patterns.html#splitting-out-host-and-group-specific-data

---

## [how to specify a user name in an ansible host entry](https://forum.ansible.com/t/how-to-specify-a-user-name-in-an-ansible-host-entry/12688)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 1\
**Last updated:** [April 16, 2013, 10:17pm UTC](https://forum.ansible.com/t/how-to-specify-a-user-name-in-an-ansible-host-entry/12688 "2013-04-16T22:17:02Z")

</div>

Have a look at the end of this entry: http://ansible.cc/docs/patterns.html#hosts-and-groups Serge ​

---

## [Confused trying to get ec2 example to work (python version problem?)](https://forum.ansible.com/t/confused-trying-to-get-ec2-example-to-work-python-version-problem/12689)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 3\
**Last updated:** [April 16, 2013, 7:35pm UTC](https://forum.ansible.com/t/confused-trying-to-get-ec2-example-to-work-python-version-problem/12689 "2013-04-16T19:35:45Z")

</div>

I would really use the OS python and do not think this is a Python version issue. See some other references: https://forums.aws.amazon.com/thread.jspa?threadID=104935

---

## [Smart file paths in lookup plugins.](https://forum.ansible.com/t/smart-file-paths-in-lookup-plugins/12690)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 2\
**Last updated:** [April 16, 2013, 6:49pm UTC](https://forum.ansible.com/t/smart-file-paths-in-lookup-plugins/12690 "2013-04-16T18:49:25Z")

</div>

Howdy (again), It seems like it would be nice if things like: {{ lookup('file', 'foo.txt') }} looked for 'foo.txt' in roles/curr\_role/files/ before falling back to looking in 'basedir'. I'd be happy to write a p…

---

## [lookup plugins and with\_](https://forum.ansible.com/t/lookup-plugins-and-with/12686)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 5\
**Last updated:** [April 16, 2013, 5:38pm UTC](https://forum.ansible.com/t/lookup-plugins-and-with/12686 "2013-04-16T17:38:53Z")

</div>

Noticed that lookup plugins currently don't work with the new-style variable interpolation syntax (jinja2-style) when used in the 'with\_LOOKUP' form. Are there any plans to allow that, or even to allow bare variable n…

---

## [1.2 style roles and tags?](https://forum.ansible.com/t/1-2-style-roles-and-tags/12685)

<div class="topic-metadata">

**Author:** [@fdavis](https://forum.ansible.com/u/fdavis)\
**Replies:** 2\
**Last updated:** [April 15, 2013, 10:05pm UTC](https://forum.ansible.com/t/1-2-style-roles-and-tags/12685 "2013-04-15T22:05:28Z")

</div>

Hello, I was looking for a clean/nice way to reprovision only a select few roles. Maybe we could tag roles or have a tag-like option that would only include specified roles? So if part of our site.yml looks something …

---

## [Exporting variables as host facts](https://forum.ansible.com/t/exporting-variables-as-host-facts/12676)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 15\
**Last updated:** [April 15, 2013, 9:23pm UTC](https://forum.ansible.com/t/exporting-variables-as-host-facts/12676 "2013-04-15T21:23:48Z")

</div>

Ok, in the old days Ansible would have all variables defined in a playbook in the global scope. At some point this was deemed non-intentional and we limited it to the local scope of the play instead. But that means that…

---

## [rsync](https://forum.ansible.com/t/rsync/12679)

<div class="topic-metadata">

**Author:** [@Yang\_Zhang](https://forum.ansible.com/u/Yang_Zhang)\
**Replies:** 7\
**Last updated:** [April 15, 2013, 4:42pm UTC](https://forum.ansible.com/t/rsync/12679 "2013-04-15T16:42:05Z")

</div>

I'm seeing from various past mailing list exchanges that rsync is the suggested course of action for copying a bunch of files. However, this doesn't seem to really work for deploying files throughout the filesystem in…

---

## [Ability to use 'template' (or other modules) on nested vars?](https://forum.ansible.com/t/ability-to-use-template-or-other-modules-on-nested-vars/12683)

<div class="topic-metadata">

**Author:** [@seanosh](https://forum.ansible.com/u/seanosh)\
**Replies:** 2\
**Last updated:** [April 15, 2013, 2:51pm UTC](https://forum.ansible.com/t/ability-to-use-template-or-other-modules-on-nested-vars/12683 "2013-04-15T14:51:51Z")

</div>

Hello all, Given the following, let’s say part of a host\_vars or group\_vars definition file (YAML): ssh\_listen\_port: 22 other\_generic\_var: alpha sites: name: the\_domain repository: git@github.com…project.git ins…

---

## [OpenStack organization & introductions](https://forum.ansible.com/t/openstack-organization-introductions/12473)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 32\
**Last updated:** [April 15, 2013, 11:32am UTC](https://forum.ansible.com/t/openstack-organization-introductions/12473 "2013-04-15T11:32:02Z")

</div>

Hi everyone, I've run into quite a few separate folks doing Ansible things with OpenStack. I figured this thread might be good for introductions and to get those isolated people connected. Would an ansible-openstack …

---

## [host\_vars/group\_vars issue with ansible 1.1+](https://forum.ansible.com/t/host-vars-group-vars-issue-with-ansible-1-1/12652)

<div class="topic-metadata">

**Author:** [@Fabian\_Arrotin](https://forum.ansible.com/u/Fabian_Arrotin)\
**Replies:** 1\
**Last updated:** [April 15, 2013, 12:14am UTC](https://forum.ansible.com/t/host-vars-group-vars-issue-with-ansible-1-1/12652 "2013-04-15T00:14:11Z")

</div>

Hi Michael, Well, it’s up to you, but I guess we’re not the only ones who use the term “environment” and so who’ll test to reflect that in a variable. On our side, I have already changed that variable ‘environment’ to …

---

## [Start of technical FAQ for doc site](https://forum.ansible.com/t/start-of-technical-faq-for-doc-site/12682)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [April 14, 2013, 11:53pm UTC](https://forum.ansible.com/t/start-of-technical-faq-for-doc-site/12682 "2013-04-14T23:53:27Z")

</div>

Started a Frequently Asked Questions page here: http://ansible.cc/docs/faq.html I think this answers most of the FAQs, let me know if you think something else may be useful to have on here – or if something could be mo…

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

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