# Latest

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

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

**Page:** 863

---

## [Getting a handle of ec2-instances](https://forum.ansible.com/t/getting-a-handle-of-ec2-instances/18458)

<div class="topic-metadata">

**Author:** [@Yasser\_Hussain](https://forum.ansible.com/u/Yasser_Hussain)\
**Replies:** 3\
**Last updated:** [June 11, 2015, 12:19pm UTC](https://forum.ansible.com/t/getting-a-handle-of-ec2-instances/18458 "2015-06-11T12:19:33Z")

</div>

I have provisioned an amazon instance using ec2 module. Now I need to do some more manipulation on the instance. So does ansible get a handle on the instance it just created?

---

## [Conditional Roles](https://forum.ansible.com/t/conditional-roles/18464)

<div class="topic-metadata">

**Author:** [@Javeria\_Khan](https://forum.ansible.com/u/Javeria_Khan)\
**Replies:** 3\
**Last updated:** [June 11, 2015, 2:47am UTC](https://forum.ansible.com/t/conditional-roles/18464 "2015-06-11T02:47:40Z")

</div>

Not sure if this has been asked before, but I needed to include some playbooks conditionally, each of these was a top level that ran on different hosts: include: play1.yml when: “'var1 in some\_list” include: play2…

---

## [from ansible.utils Cannot import makedirs\_safe](https://forum.ansible.com/t/from-ansible-utils-cannot-import-makedirs-safe/18385)

<div class="topic-metadata">

**Author:** [@Michael\_Legleux](https://forum.ansible.com/u/Michael_Legleux)\
**Replies:** 7\
**Last updated:** [June 11, 2015, 1:40am UTC](https://forum.ansible.com/t/from-ansible-utils-cannot-import-makedirs-safe/18385 "2015-06-11T01:40:56Z")

</div>

Since my host\_var and group\_var s are not getting used since I updated ansible to the latest git checkout last night, I decided to put the variables directly in my inventory file. Now it seems like they might be getting…

---

## [Copy multiple files in playbooks](https://forum.ansible.com/t/copy-multiple-files-in-playbooks/18463)

<div class="topic-metadata">

**Author:** [@satheesh\_kumar](https://forum.ansible.com/u/satheesh_kumar)\
**Replies:** 1\
**Last updated:** [June 11, 2015, 12:39am UTC](https://forum.ansible.com/t/copy-multiple-files-in-playbooks/18463 "2015-06-11T00:39:37Z")

</div>

I want to copy multiple files in playbooks, Currently i’m doing one by one name: Copy tomcat to target server copy: src=files/apache-tomcat-7.0.61.tar.gz dest=/tmp/apache-tomcat-7.0.61.tar.gz owner=root group=azureus…

---

## [Running ansible-vault gives a TypeError: can only join an iterable](https://forum.ansible.com/t/running-ansible-vault-gives-a-typeerror-can-only-join-an-iterable/18454)

<div class="topic-metadata">

**Author:** [@Paul\_DeBruicker](https://forum.ansible.com/u/Paul_DeBruicker)\
**Replies:** 2\
**Last updated:** [June 10, 2015, 9:45pm UTC](https://forum.ansible.com/t/running-ansible-vault-gives-a-typeerror-can-only-join-an-iterable/18454 "2015-06-10T21:45:10Z")

</div>

On Mac OSX 10.10.3, after having installed from source I get: me:$ ansible-vault create a.yml Traceback (most recent call last): File “/Users/paul/src/ansible/bin/ansible-vault”, line 66, in sys.exit(cli.run()) Fil…

---

## [Assemble module idea](https://forum.ansible.com/t/assemble-module-idea/13087)

<div class="topic-metadata">

**Author:** [@Tin\_Tvrtkovic](https://forum.ansible.com/u/Tin_Tvrtkovic)\
**Replies:** 4\
**Last updated:** [June 10, 2015, 8:58pm UTC](https://forum.ansible.com/t/assemble-module-idea/13087 "2015-06-10T20:58:06Z")

</div>

Hello, currently the assemble module takes a source directory as a parameter. How about adding an option of passing a list of file names to it in addition? name: Assemble my .vimrc assemble: dest=~/.vimrc files={{ fil…

---

## [Live command logs](https://forum.ansible.com/t/live-command-logs/18375)

<div class="topic-metadata">

**Author:** [@SVC\_RVBRAND](https://forum.ansible.com/u/SVC_RVBRAND)\
**Replies:** 3\
**Last updated:** [June 10, 2015, 6:38pm UTC](https://forum.ansible.com/t/live-command-logs/18375 "2015-06-10T18:38:15Z")

</div>

Hi All, I am new to ansible and my first task is to prove this tool can help my team. I migrated some of our Capistrano recipes to ansible playbooks as a POC. Ansible works wonderfully but the issue I am facing now i…

---

## [galaxy roles from groover](https://forum.ansible.com/t/galaxy-roles-from-groover/18461)

<div class="topic-metadata">

**Author:** [@mark.kusch](https://forum.ansible.com/u/mark.kusch)\
**Replies:** 0\
**Last updated:** [June 10, 2015, 5:14pm UTC](https://forum.ansible.com/t/galaxy-roles-from-groover/18461 "2015-06-10T17:14:02Z")

</div>

Hello list, I thought to use this forum to drop some lines for concepts and updates to roles in galaxy provided from user groover (e.g. groover.tomcat). We often had issues reported on github in open source roles rega…

---

## [Thoughts on lock files for Ansible runs](https://forum.ansible.com/t/thoughts-on-lock-files-for-ansible-runs/18460)

<div class="topic-metadata">

**Author:** [@Adam\_Kosmin](https://forum.ansible.com/u/Adam_Kosmin)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 2:59pm UTC](https://forum.ansible.com/t/thoughts-on-lock-files-for-ansible-runs/18460 "2015-06-10T14:59:51Z")

</div>

Greets, I’m coming into Ansible from a Puppet background and have questions with regard to whether or not the idea of “lock files” is even appropriate. As I’m sure many here know, the puppet agent handled creating this …

---

## [documenting module return values](https://forum.ansible.com/t/documenting-module-return-values/17513)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 5\
**Last updated:** [June 10, 2015, 2:18pm UTC](https://forum.ansible.com/t/documenting-module-return-values/17513 "2015-06-10T14:18:26Z")

</div>

Hi, This is a draft of a new facility that will allow modules to document their return values (what you'll find if you register a var). Keep in mind that the common returns (failed/changed/skipped/msg/etc) will be do…

---

## [ansible devel can't communicate with ssh](https://forum.ansible.com/t/ansible-devel-cant-communicate-with-ssh/18456)

<div class="topic-metadata">

**Author:** [@Michael\_Legleux](https://forum.ansible.com/u/Michael_Legleux)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 1:34pm UTC](https://forum.ansible.com/t/ansible-devel-cant-communicate-with-ssh/18456 "2015-06-10T13:34:58Z")

</div>

ansible is on ubuntu 14.10, client is a vagrant ubuntu 12.04 machine I don’t know how much more basic I can make an example.I have an ansible-test directory structured like this: ansible.cfg that contains: \[defaults\] …

---

## [ansible devel can't connect with ssh](https://forum.ansible.com/t/ansible-devel-cant-connect-with-ssh/18457)

<div class="topic-metadata">

**Author:** [@benno\_joy](https://forum.ansible.com/u/benno_joy)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 12:50pm UTC](https://forum.ansible.com/t/ansible-devel-cant-connect-with-ssh/18457 "2015-06-10T12:50:56Z")

</div>

Hi, The latest devel is V2 version of ansible, and it seems like a bug, would you mind raising a bug in github. Benno

---

## [run a windows script once](https://forum.ansible.com/t/run-a-windows-script-once/18451)

<div class="topic-metadata">

**Author:** [@Andreas\_Roth](https://forum.ansible.com/u/Andreas_Roth)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 7:40am UTC](https://forum.ansible.com/t/run-a-windows-script-once/18451 "2015-06-10T07:40:34Z")

</div>

Hi all, I'm trying to find a way to run a windows script just one time even if the playbook is excuted multiple times. For me it would be perfect to have some kind of "hook" file which defines if a script had already …

---

## [Compare remote server facts with host database](https://forum.ansible.com/t/compare-remote-server-facts-with-host-database/18449)

<div class="topic-metadata">

**Author:** [@Jay\_Shah](https://forum.ansible.com/u/Jay_Shah)\
**Replies:** 1\
**Last updated:** [June 9, 2015, 10:42pm UTC](https://forum.ansible.com/t/compare-remote-server-facts-with-host-database/18449 "2015-06-09T22:42:39Z")

</div>

Hey Folks, I am starting to work on an ansible project and would like to have some recommendations I have about 5000 servers around the world that I would like to validate against my host database. What is the best way…

---

## [How to use vault to encrypt keys used with ec2 dynamic inventory?](https://forum.ansible.com/t/how-to-use-vault-to-encrypt-keys-used-with-ec2-dynamic-inventory/18453)

<div class="topic-metadata">

**Author:** [@WhileLoop](https://forum.ansible.com/u/WhileLoop)\
**Replies:** 0\
**Last updated:** [June 9, 2015, 8:23pm UTC](https://forum.ansible.com/t/how-to-use-vault-to-encrypt-keys-used-with-ec2-dynamic-inventory/18453 "2015-06-09T20:23:35Z")

</div>

So when using the AWS modules I can use the ‘aws\_access\_key’ and the ‘aws\_secret\_key’ variables to define the keys used in a encrypted variable file. But from what I can tell the ec2 dynamic inventory can only read keys …

---

## [Ansible-pull with no inventory limitations](https://forum.ansible.com/t/ansible-pull-with-no-inventory-limitations/18452)

<div class="topic-metadata">

**Author:** [@Robert\_Parker](https://forum.ansible.com/u/Robert_Parker)\
**Replies:** 0\
**Last updated:** [June 9, 2015, 8:18pm UTC](https://forum.ansible.com/t/ansible-pull-with-no-inventory-limitations/18452 "2015-06-09T20:18:49Z")

</div>

I want to have a set of git repos with base application config playbooks in them such that all I need to do with any VM, regardless of its name or role or how long its been around, to get the base config installed is to …

---

## [Vars from hosts?](https://forum.ansible.com/t/vars-from-hosts/18446)

<div class="topic-metadata">

**Author:** [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Replies:** 5\
**Last updated:** [June 9, 2015, 7:43pm UTC](https://forum.ansible.com/t/vars-from-hosts/18446 "2015-06-09T19:43:37Z")

</div>

Not sure the best way to do this, have read the documentation but still a wee bit befuddled. We’re ramping up to be able to deploy to several hundred servers. Each server will have an assigned name. Some of the files th…

---

## [inventory\_hostname](https://forum.ansible.com/t/inventory-hostname/18450)

<div class="topic-metadata">

**Author:** [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Replies:** 0\
**Last updated:** [June 9, 2015, 7:05pm UTC](https://forum.ansible.com/t/inventory-hostname/18450 "2015-06-09T19:05:45Z")

</div>

trying to replace a word in file. I have a testfile1.conf:

---

## [authorising when ansible pull from private git repo](https://forum.ansible.com/t/authorising-when-ansible-pull-from-private-git-repo/18405)

<div class="topic-metadata">

**Author:** [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Replies:** 1\
**Last updated:** [June 9, 2015, 6:46pm UTC](https://forum.ansible.com/t/authorising-when-ansible-pull-from-private-git-repo/18405 "2015-06-09T18:46:10Z")

</div>

Hello Ye, if I remember right, you may define different permissions for repository collaborators in Gitlab. At least within organizations this is possible. Regards Mirko

---

## [Compare server statistics with hostdatabase - Looking for ideas](https://forum.ansible.com/t/compare-server-statistics-with-hostdatabase-looking-for-ideas/18448)

<div class="topic-metadata">

**Author:** [@Jay\_Shah](https://forum.ansible.com/u/Jay_Shah)\
**Replies:** 0\
**Last updated:** [June 9, 2015, 6:07pm UTC](https://forum.ansible.com/t/compare-server-statistics-with-hostdatabase-looking-for-ideas/18448 "2015-06-09T18:07:20Z")

</div>

Looking for recommendation I want to compare server statistics with host database. What is the best way? Write modules? Compare facts received from the server with the database? Any other ideas?

---

## [CloudFormation - how to debug where the issue is](https://forum.ansible.com/t/cloudformation-how-to-debug-where-the-issue-is/18447)

<div class="topic-metadata">

**Author:** [@cosbug](https://forum.ansible.com/u/cosbug)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 5:33pm UTC](https://forum.ansible.com/t/cloudformation-how-to-debug-where-the-issue-is/18447 "2015-06-09T17:33:21Z")

</div>

Hi All, While running a playbook I get very poor information regarding the possible root cause of error. \` ansible-playbook -i hosts aws-cf-provision.yml -vv PLAY \[localhost\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [delete a remote file](https://forum.ansible.com/t/delete-a-remote-file/18432)

<div class="topic-metadata">

**Author:** [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 2:56pm UTC](https://forum.ansible.com/t/delete-a-remote-file/18432 "2015-06-09T14:56:39Z")

</div>

What is the proper way to delete a remote file. Example: If I’ve used Ansible to copy a file to a remote server, how do I delete it from ansible? I’ve looked in the docs, googled it, tried using the shell command with r…

---

## [Discussion - Component packages on control machine or remote machine?](https://forum.ansible.com/t/discussion-component-packages-on-control-machine-or-remote-machine/18444)

<div class="topic-metadata">

**Author:** [@Amir\_Luzon](https://forum.ansible.com/u/Amir_Luzon)\
**Replies:** 5\
**Last updated:** [June 9, 2015, 9:11am UTC](https://forum.ansible.com/t/discussion-component-packages-on-control-machine-or-remote-machine/18444 "2015-06-09T09:11:57Z")

</div>

Hi guys, I’d like to open this question for discussion as I am not sure what is the best practice here. So we are working on deploying our platform. This involves Unix machines and windows machine. Currently we are usi…

---

## [Weird issue with ec2\_eip module](https://forum.ansible.com/t/weird-issue-with-ec2-eip-module/18443)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 4:44am UTC](https://forum.ansible.com/t/weird-issue-with-ec2-eip-module/18443 "2015-06-09T04:44:30Z")

</div>

Hi all, I’m creating an ASG in my playbook from which I launch the following instances: TASK: \[create auto scaling group\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* changed: \[localhost\] TASK: \[debug var=“{{ ec\_asg…

---

## [ec2\_asg Missing required arguments for autoscaling group create/update: launch\_config\_name](https://forum.ansible.com/t/ec2-asg-missing-required-arguments-for-autoscaling-group-create-update-launch-config-name/18441)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 2\
**Last updated:** [June 9, 2015, 2:21am UTC](https://forum.ansible.com/t/ec2-asg-missing-required-arguments-for-autoscaling-group-create-update-launch-config-name/18441 "2015-06-09T02:21:58Z")

</div>

When using ec2\_asg I get: TASK: \[ec2\_asg \] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[localhost\] =\> {“failed”: true} msg: Missing required arguments for autoscaling group create/update: la…

---

## [Can a password variable be set to address synchronize password request](https://forum.ansible.com/t/can-a-password-variable-be-set-to-address-synchronize-password-request/18442)

<div class="topic-metadata">

**Author:** [@atkmh.public](https://forum.ansible.com/u/atkmh.public)\
**Replies:** 0\
**Last updated:** [June 9, 2015, 1:47am UTC](https://forum.ansible.com/t/can-a-password-variable-be-set-to-address-synchronize-password-request/18442 "2015-06-09T01:47:53Z")

</div>

Env: Linux 14.04 VMs in VmWare I have successfully managed to enable synchronize with \< sudo: no \> in the task right before synchronize.I can enter passwords and successfully execute all module.yml files ( that incorpor…

---

## [Status report: ansible-modules-extras pull requests](https://forum.ansible.com/t/status-report-ansible-modules-extras-pull-requests/18369)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 1\
**Last updated:** [June 9, 2015, 12:31am UTC](https://forum.ansible.com/t/status-report-ansible-modules-extras-pull-requests/18369 "2015-06-09T00:31:40Z")

</div>

Hi all. Wanted to give a quick update on our initiatives around improving the PR pipeline for ansible-modules-extras. To review: we recently decided on two major policy changes. (1) All PRs to existing modules are mer…

---

## [Possible feature requrest: start execution at play number in a playbook](https://forum.ansible.com/t/possible-feature-requrest-start-execution-at-play-number-in-a-playbook/18438)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 8\
**Last updated:** [June 8, 2015, 10:51pm UTC](https://forum.ansible.com/t/possible-feature-requrest-start-execution-at-play-number-in-a-playbook/18438 "2015-06-08T22:51:49Z")

</div>

Hi all, Please excuse for my ignorance if there is a clean way to do the following: hosts \[sm\] host1 \[sw\] host2 myplaybook.yml

---

## [Synchronize module does not allow set local user](https://forum.ansible.com/t/synchronize-module-does-not-allow-set-local-user/18433)

<div class="topic-metadata">

**Author:** [@Nekmo\_com](https://forum.ansible.com/u/Nekmo_com)\
**Replies:** 1\
**Last updated:** [June 8, 2015, 10:47pm UTC](https://forum.ansible.com/t/synchronize-module-does-not-allow-set-local-user/18433 "2015-06-08T22:47:35Z")

</div>

I want to copy a directory from local (usign nekmo user) to a remote server (usign xxxxx\_ssh user). I have the following: hosts: vhome remote\_user: xxxxxx\_ssh tasks: name: Rsync synchronize: dest=/home/webs/DOCS/dja…

---

## [Forced Fact Gathering](https://forum.ansible.com/t/forced-fact-gathering/18436)

<div class="topic-metadata">

**Author:** [@Craig\_Tracey](https://forum.ansible.com/u/Craig_Tracey)\
**Replies:** 4\
**Last updated:** [June 8, 2015, 9:04pm UTC](https://forum.ansible.com/t/forced-fact-gathering/18436 "2015-06-08T21:04:36Z")

</div>

Hey Folks, I am writing to bring a topic that started in an pull request to a broader audience. That particular pull request is: https://github.com/ansible/ansible/pull/9387 This change intends to add a gather\_facts f…

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

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