# Latest

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

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

**Page:** 981

---

## [Feature proposal: ansible-galaxy roles file to include git url and target versions](https://forum.ansible.com/t/feature-proposal-ansible-galaxy-roles-file-to-include-git-url-and-target-versions/14879)

<div class="topic-metadata">

**Author:** [@Ben\_Kersten](https://forum.ansible.com/u/Ben_Kersten)\
**Replies:** 0\
**Last updated:** [March 28, 2014, 12:48am UTC](https://forum.ansible.com/t/feature-proposal-ansible-galaxy-roles-file-to-include-git-url-and-target-versions/14879 "2014-03-28T00:48:42Z")

</div>

Hi, I’m looking to use Ansible at our organisation and in order for us to share roles across projects there are some changes needed to the ansible-galaxy command line tool. The limitations of ansible-galaxy that I wish…

---

## [ansible\_user\_id has incorrect value when overriding playbook sudo value in a task](https://forum.ansible.com/t/ansible-user-id-has-incorrect-value-when-overriding-playbook-sudo-value-in-a-task/14876)

<div class="topic-metadata">

**Author:** [@ramon](https://forum.ansible.com/u/ramon)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 9:55pm UTC](https://forum.ansible.com/t/ansible-user-id-has-incorrect-value-when-overriding-playbook-sudo-value-in-a-task/14876 "2014-03-27T21:55:52Z")

</div>

Hi All, Perhaps I don’t understand the ansible\_user\_id variable, but consider the following cases: https://gist.github.com/ramondelafuente/9819526 When you set a single task to sudo:no when the playbook has sudo: yes …

---

## [new feature: aws elb in a vpc](https://forum.ansible.com/t/new-feature-aws-elb-in-a-vpc/14875)

<div class="topic-metadata">

**Author:** [@klymr](https://forum.ansible.com/u/klymr)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 9:46pm UTC](https://forum.ansible.com/t/new-feature-aws-elb-in-a-vpc/14875 "2014-03-27T21:46:43Z")

</div>

It seems that the aws elb module doesn’t do elb in a vpc. I’d like to request this feature.

---

## [Subcollection diff](https://forum.ansible.com/t/subcollection-diff/14848)

<div class="topic-metadata">

**Author:** [@Alexander\_Jager](https://forum.ansible.com/u/Alexander_Jager)\
**Replies:** 5\
**Last updated:** [March 27, 2014, 9:30pm UTC](https://forum.ansible.com/t/subcollection-diff/14848 "2014-03-27T21:30:43Z")

</div>

Hey all, i trying to write a idempotent user role, where basically on every run is checked if the non-system present\_users is right. Now i want to compare my list of user in vars with the present\_users. Here are my us…

---

## [scp\_if\_ssh not working as intended](https://forum.ansible.com/t/scp-if-ssh-not-working-as-intended/14874)

<div class="topic-metadata">

**Author:** [@marc.petrivelli](https://forum.ansible.com/u/marc.petrivelli)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 8:20pm UTC](https://forum.ansible.com/t/scp-if-ssh-not-working-as-intended/14874 "2014-03-27T20:20:40Z")

</div>

I am trying to run the following playbook to deploy a key to a number of servers deploy\_key.yml: hosts: servers gather\_facts: no user: root vars: key\_file: /root/.ssh/id\_rsa.pub tasks: name: add authorized keys …

---

## [Start Service Not Working](https://forum.ansible.com/t/start-service-not-working/14846)

<div class="topic-metadata">

**Author:** [@James\_Goodhouse](https://forum.ansible.com/u/James_Goodhouse)\
**Replies:** 4\
**Last updated:** [March 27, 2014, 8:16pm UTC](https://forum.ansible.com/t/start-service-not-working/14846 "2014-03-27T20:16:30Z")

</div>

Hey All, I’m having some issues getting a service to start and wanted to make sure I’m not doing something stupid. I’m installing varnish and then using the service module to start and enable varnish. name: start and…

---

## [quotes in stderr response is throwing  "No closing quotation" error](https://forum.ansible.com/t/quotes-in-stderr-response-is-throwing-no-closing-quotation-error/14873)

<div class="topic-metadata">

**Author:** [@ryan\_medlin](https://forum.ansible.com/u/ryan_medlin)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 7:03pm UTC](https://forum.ansible.com/t/quotes-in-stderr-response-is-throwing-no-closing-quotation-error/14873 "2014-03-27T19:03:16Z")

</div>

quotes in stderr response is throwing this error: I am not sure how to escape this properly and why i have to do it at all? failed: \[ec2-54-211-211-140.compute-1.amazonaws.com\] =\> {“changed”: true, “cmd”: "/var/lib/imm…

---

## [Configuring ssh passwordless access for a user](https://forum.ansible.com/t/configuring-ssh-passwordless-access-for-a-user/14855)

<div class="topic-metadata">

**Author:** [@tim.j.culhane](https://forum.ansible.com/u/tim.j.culhane)\
**Replies:** 3\
**Last updated:** [March 27, 2014, 6:04pm UTC](https://forum.ansible.com/t/configuring-ssh-passwordless-access-for-a-user/14855 "2014-03-27T18:04:14Z")

</div>

Hi There, I’m attempting to configure ssh access to a user via ansible, as described in the blog entry at: http://www.hashbangcode.com/blog/ansible-ssh-setup-playbook I’m running this playbook using ansible version 1.…

---

## [Is it possible build a file in local by using template module?](https://forum.ansible.com/t/is-it-possible-build-a-file-in-local-by-using-template-module/14859)

<div class="topic-metadata">

**Author:** [@qiu\_jiawei](https://forum.ansible.com/u/qiu_jiawei)\
**Replies:** 4\
**Last updated:** [March 27, 2014, 6:01pm UTC](https://forum.ansible.com/t/is-it-possible-build-a-file-in-local-by-using-template-module/14859 "2014-03-27T18:01:53Z")

</div>

Now,the template module woule build the template file and send to the remote host. Is it possible for not send to the remote host? I just want to see the file in local machine.

---

## [Variable precedence not working as documented \[Ansible 1.5\]](https://forum.ansible.com/t/variable-precedence-not-working-as-documented-ansible-1-5/14858)

<div class="topic-metadata">

**Author:** [@Garrett\_Plasky](https://forum.ansible.com/u/Garrett_Plasky)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 5:15pm UTC](https://forum.ansible.com/t/variable-precedence-not-working-as-documented-ansible-1-5/14858 "2014-03-27T17:15:15Z")

</div>

I am referring to the documentation here: http://docs.ansible.com/playbooks\_variables.html#variable-precedence-where-should-i-put-a-variable When I use vars\_files and “-e” (command line) variables together, I get result…

---

## [authorized\_key key\_options error](https://forum.ansible.com/t/authorized-key-key-options-error/14867)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 8:16am UTC](https://forum.ansible.com/t/authorized-key-key-options-error/14867 "2014-03-27T08:16:10Z")

</div>

I am trying to add to the authorized\_key key\_option the following \` name: Deploy user authorized\_key: user=“user” key=“{{user\_key}}” key\_options=‘no-pty,permitopen=“localhost:2313”’ \` I get msg: invalid option s…

---

## [Determining unreachable vs error when using the raw module](https://forum.ansible.com/t/determining-unreachable-vs-error-when-using-the-raw-module/14868)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating](https://forum.ansible.com/u/Jesse_Keating)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 11:53pm UTC](https://forum.ansible.com/t/determining-unreachable-vs-error-when-using-the-raw-module/14868 "2014-03-26T23:53:33Z")

</div>

In our environment, we try to be tolerant of systems in our inventory that are unreachable, as with an inventory of our size we constantly have new ones going MIA. In our deployments we really care about errors on the ho…

---

## [Gulp module appetite](https://forum.ansible.com/t/gulp-module-appetite/14865)

<div class="topic-metadata">

**Author:** [@Joe\_M](https://forum.ansible.com/u/Joe_M)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 11:43pm UTC](https://forum.ansible.com/t/gulp-module-appetite/14865 "2014-03-26T23:43:11Z")

</div>

I’m curious what the ansible’s and the community’s for a module that is used for executing gulp tasks when deploying a web project. Interested to hear everyone’s opinions and thoughts.

---

## [What is prompt variable working scope?](https://forum.ansible.com/t/what-is-prompt-variable-working-scope/12671)

<div class="topic-metadata">

**Author:** [@rella.guo](https://forum.ansible.com/u/rella.guo)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 11:41pm UTC](https://forum.ansible.com/t/what-is-prompt-variable-working-scope/12671 "2014-03-26T23:41:45Z")

</div>

Prompt variable working scope is inventory host scope or playbook scope? Basically, variable is inventory host scope. But prompt vars seem not. main.yml includes 1.yml and 2.yml.1.yml creates prompt variable var1 and i…

---

## [what's the syntac in ansible playbook to ping a remote host](https://forum.ansible.com/t/whats-the-syntac-in-ansible-playbook-to-ping-a-remote-host/14864)

<div class="topic-metadata">

**Author:** [@YuLing\_Chen](https://forum.ansible.com/u/YuLing_Chen)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 11:39pm UTC](https://forum.ansible.com/t/whats-the-syntac-in-ansible-playbook-to-ping-a-remote-host/14864 "2014-03-26T23:39:19Z")

</div>

Hi All, I’m looking for the syntax to ping a remote host in ansible playbook. I created something as follows, but it seems the syntax is wrong. name: assign floating ip quantum\_floating\_ip: login\_username: ‘{{login…

---

## [\[RFC\] Addition of 'interpolate' mode to hash\_behaviour](https://forum.ansible.com/t/rfc-addition-of-interpolate-mode-to-hash-behaviour/14866)

<div class="topic-metadata">

**Author:** [@David\_McBride](https://forum.ansible.com/u/David_McBride)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 11:37pm UTC](https://forum.ansible.com/t/rfc-addition-of-interpolate-mode-to-hash-behaviour/14866 "2014-03-26T23:37:56Z")

</div>

Hi, I've implemented an additional 'interpolate' mode to augment the existing 'replace' and 'merge' modes of hash\_behaviour in Ansible. - Motivation An issue that affects our local adoption of Ansible is that it does…

---

## [why didn't /etc/ansible get generated after my install on Mountain Lion?](https://forum.ansible.com/t/why-didnt-etc-ansible-get-generated-after-my-install-on-mountain-lion/14869)

<div class="topic-metadata">

**Author:** [@Gallagher\_Polyn](https://forum.ansible.com/u/Gallagher_Polyn)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 11:35pm UTC](https://forum.ansible.com/t/why-didnt-etc-ansible-get-generated-after-my-install-on-mountain-lion/14869 "2014-03-26T23:35:26Z")

</div>

I installed Ansible on Mountain Lion with pip, but /etc/ansible was not created. What gives? G

---

## [ansible cmd run takes over 40s per server](https://forum.ansible.com/t/ansible-cmd-run-takes-over-40s-per-server/14780)

<div class="topic-metadata">

**Author:** [@Filip\_Slunecko](https://forum.ansible.com/u/Filip_Slunecko)\
**Replies:** 7\
**Last updated:** [March 26, 2014, 11:34pm UTC](https://forum.ansible.com/t/ansible-cmd-run-takes-over-40s-per-server/14780 "2014-03-26T23:34:38Z")

</div>

Hi, I installed a fresh Ansible from git hub on CentOS 6.3 and run a simple command takes over 40s with CPU 100% for Ansible. This is a line from cProfile(http://pastebin.com/mX4qXsiN). 11523 40.093 0.003 54.893 0.005…

---

## [put\_file hangs with ControlMaster](https://forum.ansible.com/t/put-file-hangs-with-controlmaster/14826)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 5\
**Last updated:** [March 26, 2014, 7:23pm UTC](https://forum.ansible.com/t/put-file-hangs-with-controlmaster/14826 "2014-03-26T19:23:48Z")

</div>

We’ve been experiencing an issue for quite some time with put\_file with the ssh connection plugin hanging, but haven’t had the opportunity to really dig into it. We have seen up to 5 minutes between the PUT and the exec…

---

## [Default variables in with\_items dict](https://forum.ansible.com/t/default-variables-in-with-items-dict/14862)

<div class="topic-metadata">

**Author:** [@Michael\_Mahemoff](https://forum.ansible.com/u/Michael_Mahemoff)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 4:55pm UTC](https://forum.ansible.com/t/default-variables-in-with-items-dict/14862 "2014-03-26T16:55:47Z")

</div>

I have a line like this, where “configs” variable is defined as a list of dicts/hashes: template: src={{ item.name }}.j2 dest=“/etc/config/{{ item.target\_name|item.name }}” with\_items: configs It basically allows the …

---

## [using one playbook to install two versions of a software in one run](https://forum.ansible.com/t/using-one-playbook-to-install-two-versions-of-a-software-in-one-run/14851)

<div class="topic-metadata">

**Author:** [@Prune](https://forum.ansible.com/u/Prune)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 3:43pm UTC](https://forum.ansible.com/t/using-one-playbook-to-install-two-versions-of-a-software-in-one-run/14851 "2014-03-26T15:43:07Z")

</div>

For me the use case is : I have a playbook that installs elasticsearch using a role elasticsearch version is defined in the host file as a variable along each server name I have a group with all the hosts needing elast…

---

## [SyntaxError with synchronize module](https://forum.ansible.com/t/syntaxerror-with-synchronize-module/14853)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 8\
**Last updated:** [March 26, 2014, 3:41pm UTC](https://forum.ansible.com/t/syntaxerror-with-synchronize-module/14853 "2014-03-26T15:41:12Z")

</div>

Hi, I am using ansible 1.4.4. I get SyntaxError when running synchronize plugin. Here's the playbook entry - name: create common folders synchronize: src=s dest=/etc/ssh Here's the error that I get failed: …

---

## [Can I remove past ec2 idempotency/request ids??](https://forum.ansible.com/t/can-i-remove-past-ec2-idempotency-request-ids/14730)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 5\
**Last updated:** [March 26, 2014, 3:30pm UTC](https://forum.ansible.com/t/can-i-remove-past-ec2-idempotency-request-ids/14730 "2014-03-26T15:30:09Z")

</div>

Hello, When creating ec2 instances we have the “id” field for idempotency. I was wondering how long previously-used ids linger for and, if they auto-prune, whether they can be removed early/manually. Thank you, Mark

---

## [Using docker\_containers return value in a different role](https://forum.ansible.com/t/using-docker-containers-return-value-in-a-different-role/14850)

<div class="topic-metadata">

**Author:** [@mitchellgayner](https://forum.ansible.com/u/mitchellgayner)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 3:16pm UTC](https://forum.ansible.com/t/using-docker-containers-return-value-in-a-different-role/14850 "2014-03-26T15:16:35Z")

</div>

Hi All, I am running a role “run\_docker\_containers” which creates a series of docker containers using the docker module. \` name: Run containers docker: state=present name={{ item }} ports=80 image=myimage command=‘b…

---

## [Template to include contents of another file](https://forum.ansible.com/t/template-to-include-contents-of-another-file/14861)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 1:08pm UTC](https://forum.ansible.com/t/template-to-include-contents-of-another-file/14861 "2014-03-26T13:08:50Z")

</div>

Dear List, I’m trying to have a template placed on some servers and while the file is beeing placed to contain the contents of another file (Public key) like so: http://jinja.pocoo.org/docs/templates/#include encapmod…

---

## [using with\_first\_found in a with\_items loop?](https://forum.ansible.com/t/using-with-first-found-in-a-with-items-loop/14860)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 0\
**Last updated:** [March 26, 2014, 5:09am UTC](https://forum.ansible.com/t/using-with-first-found-in-a-with-items-loop/14860 "2014-03-26T05:09:02Z")

</div>

Is it possible to use with\_first\_found in a with\_items loop? Such as; - template: dest=/foo/{{ item.name }}-{{ item.branch | default('master') }} src={{ item }} with\_first\_found: - {{ item.name }}-{{ item.branch | defau…

---

## [FWIW; ansible-pcd ( prepare, configure, deploy ) framework](https://forum.ansible.com/t/fwiw-ansible-pcd-prepare-configure-deploy-framework/14840)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 5:02am UTC](https://forum.ansible.com/t/fwiw-ansible-pcd-prepare-configure-deploy-framework/14840 "2014-03-26T05:02:15Z")

</div>

I’d like to share the way I organize ansible to manage infrastructure with the community. I tend to think of infrastructure as partitioned into “systems”, “services”, and “applications”… and automation as “preparation”,…

---

## [Conditionally execute some tasks on dev hosts only](https://forum.ansible.com/t/conditionally-execute-some-tasks-on-dev-hosts-only/14845)

<div class="topic-metadata">

**Author:** [@Shaunak\_Kashyap](https://forum.ansible.com/u/Shaunak_Kashyap)\
**Replies:** 1\
**Last updated:** [March 26, 2014, 4:14am UTC](https://forum.ansible.com/t/conditionally-execute-some-tasks-on-dev-hosts-only/14845 "2014-03-26T04:14:11Z")

</div>

Hi, I would like to conditionally execute some tasks within a play (or even the entire play itself) only if I’m setting up a development environment. What is the best way to perform such conditional execution? One way …

---

## [mysql\_user module error "failed to parse"](https://forum.ansible.com/t/mysql-user-module-error-failed-to-parse/14856)

<div class="topic-metadata">

**Author:** [@david.neudorfer](https://forum.ansible.com/u/david.neudorfer)\
**Replies:** 3\
**Last updated:** [March 25, 2014, 11:34pm UTC](https://forum.ansible.com/t/mysql-user-module-error-failed-to-parse/14856 "2014-03-25T23:34:43Z")

</div>

This task: name: test1 mysql\_user: name={{ item.name }} password={{ item.password }} host={{ item.host }} priv={{ item.priv }} state=present login\_user=root login\_password=rtAtJ8NaWvRX6EJsLPiixm with\_items: { name: ‘…

---

## [hostkey enhancements to the git module](https://forum.ansible.com/t/hostkey-enhancements-to-the-git-module/14322)

<div class="topic-metadata">

**Author:** [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Replies:** 8\
**Last updated:** [March 25, 2014, 10:51pm UTC](https://forum.ansible.com/t/hostkey-enhancements-to-the-git-module/14322 "2014-03-25T22:51:36Z")

</div>

I created a new feature in the git module to help with hostkey management and prevent task hangs with unknown keys: https://github.com/ansible/ansible/commit/8665b0638a1d3a70f985126b0f007a26c81273cb https://github.com/…

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

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