# Latest

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

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

**Page:** 1002

---

## [\--syntax-check fails on 1.4.with ERROR: MODULE is not a legal parameter in an Ansible Playbook](https://forum.ansible.com/t/syntax-check-fails-on-1-4-with-error-module-is-not-a-legal-parameter-in-an-ansible-playbook/14224)

<div class="topic-metadata">

**Author:** [@TextEditor1](https://forum.ansible.com/u/TextEditor1)\
**Replies:** 12\
**Last updated:** [December 28, 2013, 8:23am UTC](https://forum.ansible.com/t/syntax-check-fails-on-1-4-with-error-module-is-not-a-legal-parameter-in-an-ansible-playbook/14224 "2013-12-28T08:23:16Z")

</div>

Since my bug report is ignored and closed I’m asking for support here. Since the upgrade to Ansible 1.4 the --syntax-check feature broke when used with role files. This is the ticket: --syntax-check fails on 1.4.with ER…

---

## [rds: additions](https://forum.ansible.com/t/rds-additions/14212)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 1\
**Last updated:** [December 28, 2013, 1:12am UTC](https://forum.ansible.com/t/rds-additions/14212 "2013-12-28T01:12:03Z")

</div>

I plan to add the ability to create DB snapshots and restore a database from such a snapshot. This would be done through adding the commands ‘snapshot’ and ‘restore’ and updating the appropriate docs. As best I can I’l…

---

## [Bug fix for mysql\_db module port ignored for dump/import](https://forum.ansible.com/t/bug-fix-for-mysql-db-module-port-ignored-for-dump-import/14230)

<div class="topic-metadata">

**Author:** [@Jim\_Kleckner](https://forum.ansible.com/u/Jim_Kleckner)\
**Replies:** 0\
**Last updated:** [December 27, 2013, 11:53pm UTC](https://forum.ansible.com/t/bug-fix-for-mysql-db-module-port-ignored-for-dump-import/14230 "2013-12-27T23:53:53Z")

</div>

Pull request #5435 fixes mysql\_db that was ignoring the login\_port parameter. https://github.com/ansible/ansible/pull/5435 Comments welcome. Jim

---

## [vsphere/vcenter inventory plugin](https://forum.ansible.com/t/vsphere-vcenter-inventory-plugin/14228)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 1\
**Last updated:** [December 27, 2013, 10:34pm UTC](https://forum.ansible.com/t/vsphere-vcenter-inventory-plugin/14228 "2013-12-27T22:34:07Z")

</div>

My fisrt working draft https://github.com/bcoca/ansible/tree/vsphere\_inventory, test, comment, patch, break, insult … etc

---

## [synchronize with templates](https://forum.ansible.com/t/synchronize-with-templates/14217)

<div class="topic-metadata">

**Author:** [@Damjan\_Georgievski](https://forum.ansible.com/u/Damjan_Georgievski)\
**Replies:** 3\
**Last updated:** [December 27, 2013, 7:14pm UTC](https://forum.ansible.com/t/synchronize-with-templates/14217 "2013-12-27T19:14:12Z")

</div>

I like to use the synchronize module to configure /etc/nginx/sites-enabled/ this way, when using it with delete=yes my ansible setup would always be the whole truth about the nginx setup, even if I add and especially de…

---

## [Raw tag/value pairs as host groups](https://forum.ansible.com/t/raw-tag-value-pairs-as-host-groups/14226)

<div class="topic-metadata">

**Author:** [@herby.gillot](https://forum.ansible.com/u/herby.gillot)\
**Replies:** 2\
**Last updated:** [December 27, 2013, 7:13pm UTC](https://forum.ansible.com/t/raw-tag-value-pairs-as-host-groups/14226 "2013-12-27T19:13:38Z")

</div>

RE: \[https://github.com/ansible/ansible/pull/5430\](https://github.com/ansible/ansible/pull/5430) The intent here was to make it possible for users of the ec2 inventory module to be able to directly address hosts using …

---

## [Raw tag/value pairs as group names](https://forum.ansible.com/t/raw-tag-value-pairs-as-group-names/14222)

<div class="topic-metadata">

**Author:** [@herby.gillot](https://forum.ansible.com/u/herby.gillot)\
**Replies:** 2\
**Last updated:** [December 27, 2013, 2:44pm UTC](https://forum.ansible.com/t/raw-tag-value-pairs-as-group-names/14222 "2013-12-27T14:44:25Z")

</div>

RE: https://github.com/ansible/ansible/pull/5430 The intent here was to make it possible for users of the ec2 inventory module to be able to directly address hosts using groups in the format of ‘=’ The patch does not c…

---

## [Atomic deployments](https://forum.ansible.com/t/atomic-deployments/14225)

<div class="topic-metadata">

**Author:** [@Stan\_Lemon](https://forum.ansible.com/u/Stan_Lemon)\
**Replies:** 0\
**Last updated:** [December 27, 2013, 1:46pm UTC](https://forum.ansible.com/t/atomic-deployments/14225 "2013-12-27T13:46:24Z")

</div>

Hello, I apologize if this accidentally got send to the list twice! I am wondering if anyone is familiar with a set of play books or modules to perform atomic deployments akin to the capistrano 2 copy strategy? I am int…

---

## [Calling web-design folks! Your chance to get involved with documentation.](https://forum.ansible.com/t/calling-web-design-folks-your-chance-to-get-involved-with-documentation/14215)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 11\
**Last updated:** [December 25, 2013, 6:31pm UTC](https://forum.ansible.com/t/calling-web-design-folks-your-chance-to-get-involved-with-documentation/14215 "2013-12-25T18:31:20Z")

</div>

For a while our documentation site was integrated with what we had up on Wordpress (yes, I know, ick), which resulted in local documentation builds not being styled well – which made it hard for people to work on documen…

---

## [Dynamic role list](https://forum.ansible.com/t/dynamic-role-list/14195)

<div class="topic-metadata">

**Author:** [@Nicolas\_Rodriguez](https://forum.ansible.com/u/Nicolas_Rodriguez)\
**Replies:** 6\
**Last updated:** [December 25, 2013, 5:13pm UTC](https://forum.ansible.com/t/dynamic-role-list/14195 "2013-12-25T17:13:24Z")

</div>

Hi! I try to do dynamic role calling in playbook like that :

---

## ["create\_volume() takes at most 4 arguments (6 given)" error while running ec2\_vol](https://forum.ansible.com/t/create-volume-takes-at-most-4-arguments-6-given-error-while-running-ec2-vol/14221)

<div class="topic-metadata">

**Author:** [@Codezerk](https://forum.ansible.com/u/Codezerk)\
**Replies:** 0\
**Last updated:** [December 25, 2013, 1:25pm UTC](https://forum.ansible.com/t/create-volume-takes-at-most-4-arguments-6-given-error-while-running-ec2-vol/14221 "2013-12-25T13:25:24Z")

</div>

While running the latest development release I’m getting the error: invalid output was: Traceback (most recent call last): File “/root/.ansible/tmp/ansible-1387976056.03-218115800862115/ec2\_vol”, line 1324, in main() …

---

## [some GitHub stats coming down your chimney](https://forum.ansible.com/t/some-github-stats-coming-down-your-chimney/14216)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 8:32pm UTC](https://forum.ansible.com/t/some-github-stats-coming-down-your-chimney/14216 "2013-12-24T20:32:26Z")

</div>

While we’ve been making the GitHub weekly lists for a while, thought this was pretty cool. we’re now one of the Top 10 python projects in the world according to GitHub. https://github.com/search?l=python&o=desc&q=stars…

---

## [Where to store environmental variables](https://forum.ansible.com/t/where-to-store-environmental-variables/14209)

<div class="topic-metadata">

**Author:** [@Rafal\_Hajduk](https://forum.ansible.com/u/Rafal_Hajduk)\
**Replies:** 1\
**Last updated:** [December 24, 2013, 5:52pm UTC](https://forum.ansible.com/t/where-to-store-environmental-variables/14209 "2013-12-24T17:52:06Z")

</div>

According to this article I should create files like PRODUCTION or STAGING with lists of hosts that belong to these environments. But how can I specify variables for these environments? For example variable ERROR\_REPORT…

---

## [ansible\_user\_id is set wrongly to 'root'](https://forum.ansible.com/t/ansible-user-id-is-set-wrongly-to-root/14214)

<div class="topic-metadata">

**Author:** [@pancho\_horrillo](https://forum.ansible.com/u/pancho_horrillo)\
**Replies:** 3\
**Last updated:** [December 24, 2013, 4:59pm UTC](https://forum.ansible.com/t/ansible-user-id-is-set-wrongly-to-root/14214 "2013-12-24T16:59:43Z")

</div>

Hi! I've split some tasks in two roles, one with plays requiring sudo and the other with plays not requiring it (hence run as 'ubuntu'). I have a top level playbook that maps the same group of hosts to both roles, th…

---

## [Bumping the version of a library and deleting older versions](https://forum.ansible.com/t/bumping-the-version-of-a-library-and-deleting-older-versions/14213)

<div class="topic-metadata">

**Author:** [@Gary\_Malouf](https://forum.ansible.com/u/Gary_Malouf)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 3:14pm UTC](https://forum.ansible.com/t/bumping-the-version-of-a-library-and-deleting-older-versions/14213 "2013-12-24T15:14:30Z")

</div>

I have a jar file named something like myjar -1.1.0-assembly.jar. When our team does a release, a new jar named something like myjar -1.2.0-assembly.jar is created and needs to be deployed to the world. Additionally, any…

---

## [deprecated vars - nested lookup in authorized\_key](https://forum.ansible.com/t/deprecated-vars-nested-lookup-in-authorized-key/14179)

<div class="topic-metadata">

**Author:** [@Dave\_Cottlehuber](https://forum.ansible.com/u/Dave_Cottlehuber)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 1:48pm UTC](https://forum.ansible.com/t/deprecated-vars-nested-lookup-in-authorized-key/14179 "2013-12-24T13:48:08Z")

</div>

I’m using this snippet in several playbooks, selecting a few specific files from a very large set of templates. This particular one is ssh keys, but it’s not the only example. - name: enable key-based ssh access for ans…

---

## [The benefit of Accelerate mode, when and where to use it ?](https://forum.ansible.com/t/the-benefit-of-accelerate-mode-when-and-where-to-use-it/14210)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 4\
**Last updated:** [December 23, 2013, 9:47pm UTC](https://forum.ansible.com/t/the-benefit-of-accelerate-mode-when-and-where-to-use-it/14210 "2013-12-23T21:47:15Z")

</div>

Hi. I have been playing with accelerate mode and serial options to see if I can speed up the deployment process. For now I’m just deploying to 8 servers but once in prod I will deploying to 40 servers. In my tests I re…

---

## [Sharing code among roles, & Galaxy](https://forum.ansible.com/t/sharing-code-among-roles-galaxy/14208)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 5:01pm UTC](https://forum.ansible.com/t/sharing-code-among-roles-galaxy/14208 "2013-12-23T17:01:47Z")

</div>

Role dependencies exist but I’m unclear about what you mean by “small pieces of code”. It might be better if you could share examples?

---

## [AWX install error on Ubuntu 13.10 Saucy](https://forum.ansible.com/t/awx-install-error-on-ubuntu-13-10-saucy/14203)

<div class="topic-metadata">

**Author:** [@Zach\_Lym](https://forum.ansible.com/u/Zach_Lym)\
**Replies:** 1\
**Last updated:** [December 23, 2013, 3:25pm UTC](https://forum.ansible.com/t/awx-install-error-on-ubuntu-13-10-saucy/14203 "2013-12-23T15:25:57Z")

</div>

I received the following error while running sudo sh setup.sh on Ubuntu 13.10 Saucy: TASK: \[packages\_ubuntu | install awx package via apt\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[127.0.0.1\] =\> {“failed”: true, “item”: “”, …

---

## [different per-host sudo passwords (without NOPASSWD)](https://forum.ansible.com/t/different-per-host-sudo-passwords-without-nopasswd/14206)

<div class="topic-metadata">

**Author:** [@Carl\_van\_Tonder](https://forum.ansible.com/u/Carl_van_Tonder)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 1:19pm UTC](https://forum.ansible.com/t/different-per-host-sudo-passwords-without-nopasswd/14206 "2013-12-23T13:19:50Z")

</div>

Hi all, I’m trying to use ansible in the following situation: key-based SSH login is enabled on all hosts passwordless sudo is disabled on all hosts (NOPASSWD is not used in /etc\*\*/\*\*sudoers) UNIX account (i.e. sudo) …

---

## [permission error on stat module, ideas?](https://forum.ansible.com/t/permission-error-on-stat-module-ideas/14201)

<div class="topic-metadata">

**Author:** [@Steven\_Haddox](https://forum.ansible.com/u/Steven_Haddox)\
**Replies:** 1\
**Last updated:** [December 21, 2013, 8:34pm UTC](https://forum.ansible.com/t/permission-error-on-stat-module-ideas/14201 "2013-12-21T20:34:10Z")

</div>

Simple code below has been working for about a week, randomly at work (and now at home) I’ve been getting the following error. Originally the commented line was present and produced the following error, but the below err…

---

## [AnsibleWorks Galaxy now available - find, download, share, rate, and review Ansible roles](https://forum.ansible.com/t/ansibleworks-galaxy-now-available-find-download-share-rate-and-review-ansible-roles/14177)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 14\
**Last updated:** [December 21, 2013, 7:22pm UTC](https://forum.ansible.com/t/ansibleworks-galaxy-now-available-find-download-share-rate-and-review-ansible-roles/14177 "2013-12-21T19:22:19Z")

</div>

Hi everyone, Today’s a great day as we get to unveil something that’s been in progress for the last few months! People have been asking, “what’s the best way to reuse Ansible content”. The answer of course is roles - W…

---

## [Native windows support](https://forum.ansible.com/t/native-windows-support/14198)

<div class="topic-metadata">

**Author:** [@Konstantin\_Zemlyak](https://forum.ansible.com/u/Konstantin_Zemlyak)\
**Replies:** 2\
**Last updated:** [December 21, 2013, 12:01am UTC](https://forum.ansible.com/t/native-windows-support/14198 "2013-12-21T00:01:11Z")

</div>

I have ported ansible to run under Windows, code available at https://github.com/zart/ansible/commits/native-windows-support Port consists mostly in removing unconditional dependency on unix-only modules like pwd, grp, f…

---

## [Conditional role execution problem](https://forum.ansible.com/t/conditional-role-execution-problem/14187)

<div class="topic-metadata">

**Author:** [@Matt\_Cleveland](https://forum.ansible.com/u/Matt_Cleveland)\
**Replies:** 3\
**Last updated:** [December 20, 2013, 11:19pm UTC](https://forum.ansible.com/t/conditional-role-execution-problem/14187 "2013-12-20T23:19:37Z")

</div>

Hello all, I’m trying to execute roles in a playbook conditionally. The conditions are based on command line args as passed through “–extra-vars”. I’ve tried several things and none work. Here are a few examples: hos…

---

## [ec2\_group: rules can't reference containing group](https://forum.ansible.com/t/ec2-group-rules-cant-reference-containing-group/14166)

<div class="topic-metadata">

**Author:** [@David\_Hummel](https://forum.ansible.com/u/David_Hummel)\
**Replies:** 10\
**Last updated:** [December 20, 2013, 9:13pm UTC](https://forum.ansible.com/t/ec2-group-rules-cant-reference-containing-group/14166 "2013-12-20T21:13:25Z")

</div>

In order to reference the containing group in rules that specify the group\_id parameter, one must do the following: ec2\_group: … rules: proto: tcp from\_port: 22 to\_port: 22 cidr\_ip: 0.0.0.0/0 register: sg ec2\_gro…

---

## [\--limit=a\* matches "all"](https://forum.ansible.com/t/limit-a-matches-all/14191)

<div class="topic-metadata">

**Author:** [@Marc\_Patermann](https://forum.ansible.com/u/Marc_Patermann)\
**Replies:** 7\
**Last updated:** [December 20, 2013, 8:30pm UTC](https://forum.ansible.com/t/limit-a-matches-all/14191 "2013-12-20T20:30:43Z")

</div>

Hi, I find it irritating that "a\*" matches "all" too, like in --limit=a\*. I think this opens too much room for inintended behavior/errors. In my opinion "all" should only called, if "all" was explicitly set. How abou…

---

## [create inventory hosts file from ec2 module](https://forum.ansible.com/t/create-inventory-hosts-file-from-ec2-module/14196)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [December 20, 2013, 3:40pm UTC](https://forum.ansible.com/t/create-inventory-hosts-file-from-ec2-module/14196 "2013-12-20T15:40:16Z")

</div>

Is there a way to change the inventory hosts file (on disk) from the ec2 module, when it launching new instances? Thanks.

---

## [complex\_args module?](https://forum.ansible.com/t/complex-args-module/14194)

<div class="topic-metadata">

**Author:** [@Buddy\_D](https://forum.ansible.com/u/Buddy_D)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 2:39pm UTC](https://forum.ansible.com/t/complex-args-module/14194 "2013-12-20T14:39:26Z")

</div>

Hi folks, I hope this is the correct outlet to ask, apologies if not. I’ve only been working with Ansible for a month or so and have been given the task of converting bash scripts. Here’s my question: We do a nginx co…

---

## [better way to list available tags?](https://forum.ansible.com/t/better-way-to-list-available-tags/14192)

<div class="topic-metadata">

**Author:** [@seb.stark](https://forum.ansible.com/u/seb.stark)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 2:31pm UTC](https://forum.ansible.com/t/better-way-to-list-available-tags/14192 "2013-12-20T14:31:57Z")

</div>

Hi, is there a better way to list available tags than this: #!/bin/zsh ansible-playbook ${1-site.yml} --tags=“does\_not\_exist” | sed ‘s/.\*possible values: //;s/,/\\n/g’ | column -c 120 I had a look at the python api, e…

---

## [Ansible make\_sudo\_cmd not working in the 1.4.1](https://forum.ansible.com/t/ansible-make-sudo-cmd-not-working-in-the-1-4-1/14193)

<div class="topic-metadata">

**Author:** [@Cristobal\_Rosa](https://forum.ansible.com/u/Cristobal_Rosa)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 12:14pm UTC](https://forum.ansible.com/t/ansible-make-sudo-cmd-not-working-in-the-1-4-1/14193 "2013-12-20T12:14:22Z")

</div>

Hi guys, I have two different versions of ansible in my systems. One of them is ansible 1.2 and the other one is 1.4.1. (I’m trying to update the systems from 1.2 to 1.4) I’m using a private key and certificates in ord…

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

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