# Latest

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

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

**Page:** 952

---

## [Subversion only on server](https://forum.ansible.com/t/subversion-only-on-server/15770)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 2\
**Last updated:** [July 25, 2014, 9:51am UTC](https://forum.ansible.com/t/subversion-only-on-server/15770 "2014-07-25T09:51:25Z")

</div>

If I am storing templates and other files in subversion, does the client need to be able to reach the svn server or can I just have the ansible server grab files from svn server and feed them to client?

---

## ["Play recap" or current status programmatically available in task?](https://forum.ansible.com/t/play-recap-or-current-status-programmatically-available-in-task/15758)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 2\
**Last updated:** [July 25, 2014, 8:41am UTC](https://forum.ansible.com/t/play-recap-or-current-status-programmatically-available-in-task/15758 "2014-07-25T08:41:10Z")

</div>

Hello, I’d like to send a summary of the run (basically the play recap which is shown after playbook execution on the command line) to a hipchat room. PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible 1.6.9 Released](https://forum.ansible.com/t/ansible-1-6-9-released/15774)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 25, 2014, 3:38am UTC](https://forum.ansible.com/t/ansible-1-6-9-released/15774 "2014-07-25T03:38:11Z")

</div>

Hi everyone, We have released Ansible 1.6.9, which also addresses some regressions in module parameter parsing introduced by the 1.6.7 security release. This update is available via PyPi and releases.ansible.com now, a…

---

## [Debugging templates](https://forum.ansible.com/t/debugging-templates/15754)

<div class="topic-metadata">

**Author:** [@Matt\_Clarkson](https://forum.ansible.com/u/Matt_Clarkson)\
**Replies:** 2\
**Last updated:** [July 25, 2014, 3:34am UTC](https://forum.ansible.com/t/debugging-templates/15754 "2014-07-25T03:34:21Z")

</div>

Hi, I’m looking for a way to quickly render/debug template files populated with variables from ec2. My strategy is to write a playbook that discovers that facts then runs the template module locally. Here is my curren…

---

## [Dynamic inventories and variables best practices.](https://forum.ansible.com/t/dynamic-inventories-and-variables-best-practices/15741)

<div class="topic-metadata">

**Author:** [@Marcin\_Praczko](https://forum.ansible.com/u/Marcin_Praczko)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 11:51pm UTC](https://forum.ansible.com/t/dynamic-inventories-and-variables-best-practices/15741 "2014-07-24T23:51:43Z")

</div>

Hello ansible group, I would like to ask you for some advices related with dynamic inventories and variables. I read Dynamic Inventories documentation from asnbile however still don’t see clear picture about solution. …

---

## [Best Practice to deploy your fleet with asg module](https://forum.ansible.com/t/best-practice-to-deploy-your-fleet-with-asg-module/15773)

<div class="topic-metadata">

**Author:** [@raul\_rodriguez](https://forum.ansible.com/u/raul_rodriguez)\
**Replies:** 0\
**Last updated:** [July 24, 2014, 11:47pm UTC](https://forum.ansible.com/t/best-practice-to-deploy-your-fleet-with-asg-module/15773 "2014-07-24T23:47:25Z")

</div>

Hi guys, I’ve been a very happy ansible user for the past 3 months, and I found the docs & community are very helpful. But now, I’m looking to deploy three small asg groups. I’ve been looking to find the best way to d…

---

## [psycopg2.ProgrammingError: conflicting or redundant options](https://forum.ansible.com/t/psycopg2-programmingerror-conflicting-or-redundant-options/15767)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 2\
**Last updated:** [July 24, 2014, 11:39pm UTC](https://forum.ansible.com/t/psycopg2-programmingerror-conflicting-or-redundant-options/15767 "2014-07-24T23:39:25Z")

</div>

ansible 1.6.6 This stanza in my playbook: name: Create database user postgresql\_user: name={{rc\_db\_user}} password={{rc\_db\_pass}} role\_attr\_flags=NOSUPERUSER,NOCREATEROLE,NOCREATEUSER,NOCREATEDB login\_user={{pg\_us…

---

## [set\_fact on 'meta' playbook](https://forum.ansible.com/t/set-fact-on-meta-playbook/15772)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [July 24, 2014, 11:34pm UTC](https://forum.ansible.com/t/set-fact-on-meta-playbook/15772 "2014-07-24T23:34:05Z")

</div>

Well… sort of, not really. What happens when you “when” a role, it applies a “when” as the first condition of every task in the role. So I suspect you have applied the “when” to your “set\_fact” :slight\_smile: All the …

---

## [File module and prevent deletion of some path types](https://forum.ansible.com/t/file-module-and-prevent-deletion-of-some-path-types/15760)

<div class="topic-metadata">

**Author:** [@Maxim\_Odinintsev](https://forum.ansible.com/u/Maxim_Odinintsev)\
**Replies:** 4\
**Last updated:** [July 24, 2014, 10:56pm UTC](https://forum.ansible.com/t/file-module-and-prevent-deletion-of-some-path-types/15760 "2014-07-24T22:56:17Z")

</div>

Hello, I need delete directories or files, but only if they a regular directory or files (not links). I can do it with stat module, but it make playbook some heavy, because i need run stat, then register results, then …

---

## [tags](https://forum.ansible.com/t/tags/15771)

<div class="topic-metadata">

**Author:** [@Michael\_Dur](https://forum.ansible.com/u/Michael_Dur)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 10:53pm UTC](https://forum.ansible.com/t/tags/15771 "2014-07-24T22:53:17Z")

</div>

I notice when you try use a tag that does not exist ansible happily prints those that do exist in the error output. Would it be possible/desirable to have an option to just print the tags on demand? How about a tree of …

---

## [Defining variables and save them as json file.](https://forum.ansible.com/t/defining-variables-and-save-them-as-json-file/15765)

<div class="topic-metadata">

**Author:** [@Marcin\_Praczko](https://forum.ansible.com/u/Marcin_Praczko)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 10:47pm UTC](https://forum.ansible.com/t/defining-variables-and-save-them-as-json-file/15765 "2014-07-24T22:47:22Z")

</div>

Hi, I struggle with some issue with variables definition which I am not totally understand and can’t find help in ansible docs. I am trying to have nice variables structure and save it as json file (re-use as local fac…

---

## [Nested directory walking question](https://forum.ansible.com/t/nested-directory-walking-question/15747)

<div class="topic-metadata">

**Author:** [@Bill\_Lubanovic](https://forum.ansible.com/u/Bill_Lubanovic)\
**Replies:** 3\
**Last updated:** [July 24, 2014, 10:45pm UTC](https://forum.ansible.com/t/nested-directory-walking-question/15747 "2014-07-24T22:45:45Z")

</div>

I’d like to walk a directory hierarchy of the form ///. is a fixed root directory, and isn’t relevant. I have a number of directories, which represent machine categories. Under each are zero or more directories, whic…

---

## [Calling Tags From a Playbook](https://forum.ansible.com/t/calling-tags-from-a-playbook/15716)

<div class="topic-metadata">

**Author:** [@Michael\_Liu1](https://forum.ansible.com/u/Michael_Liu1)\
**Replies:** 3\
**Last updated:** [July 24, 2014, 10:44pm UTC](https://forum.ansible.com/t/calling-tags-from-a-playbook/15716 "2014-07-24T22:44:58Z")

</div>

I know you have to ability to call task tags from the command line, for example: ansible-playbook -i staging\_env mydeploy.yml --tags “web\_stop” But, is there a way to call task tags from with in a playbook? I would rat…

---

## [stat upside down](https://forum.ansible.com/t/stat-upside-down/15762)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 10:43pm UTC](https://forum.ansible.com/t/stat-upside-down/15762 "2014-07-24T22:43:35Z")

</div>

Hi, I have this strange issue. The following code was working fine (I think) as :

---

## [issue setting tags on ec2 module](https://forum.ansible.com/t/issue-setting-tags-on-ec2-module/15734)

<div class="topic-metadata">

**Author:** [@Hernandes\_Sousa](https://forum.ansible.com/u/Hernandes_Sousa)\
**Replies:** 4\
**Last updated:** [July 24, 2014, 9:25pm UTC](https://forum.ansible.com/t/issue-setting-tags-on-ec2-module/15734 "2014-07-24T21:25:45Z")

</div>

I’m having trouble setting up instance\_tags in the following playbook: vars: key\_name: mykey instance\_type: t2.micro security\_group: sg-xxxxxxxx image: ami-f5b815e8 region: sa-east-1 subnet\_id: subnet-5eaxxxxb in…

---

## [Error 'msg: You need to be root to perform this command.' with sudo on](https://forum.ansible.com/t/error-msg-you-need-to-be-root-to-perform-this-command-with-sudo-on/15766)

<div class="topic-metadata">

**Author:** [@Thomas\_Hudson](https://forum.ansible.com/u/Thomas_Hudson)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 9:01pm UTC](https://forum.ansible.com/t/error-msg-you-need-to-be-root-to-perform-this-command-with-sudo-on/15766 "2014-07-24T21:01:44Z")

</div>

I’m getting this error with the following playbook:

---

## [autoscaling\_group + add\_host == not possible?](https://forum.ansible.com/t/autoscaling-group-add-host-not-possible/15763)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 6\
**Last updated:** [July 24, 2014, 8:37pm UTC](https://forum.ansible.com/t/autoscaling-group-add-host-not-possible/15763 "2014-07-24T20:37:45Z")

</div>

Hi! Is there any way to provision hosts built by a rax\_scaling\_group? Is it possible to re-read dynamic inventory midway through the run - after the servers have been built - and have them ansibled? Or is the only option…

---

## [Variable registration step, ignore\_errors, and idempotency](https://forum.ansible.com/t/variable-registration-step-ignore-errors-and-idempotency/15746)

<div class="topic-metadata">

**Author:** [@Ryan\_VanGundy](https://forum.ansible.com/u/Ryan_VanGundy)\
**Replies:** 2\
**Last updated:** [July 24, 2014, 5:25pm UTC](https://forum.ansible.com/t/variable-registration-step-ignore-errors-and-idempotency/15746 "2014-07-24T17:25:17Z")

</div>

I’m writing a playbook that runs an initial git commit on a folder if there has not yet been a commit. I check this using: \` name: Get commit count command: git rev-list HEAD --count chdir={{ project\_path }} ignore\_…

---

## [Connect to remote servers](https://forum.ansible.com/t/connect-to-remote-servers/15745)

<div class="topic-metadata">

**Author:** [@Narcis\_Pillao\_Figuer](https://forum.ansible.com/u/Narcis_Pillao_Figuer)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 2:09pm UTC](https://forum.ansible.com/t/connect-to-remote-servers/15745 "2014-07-24T14:09:10Z")

</div>

Hi all, I need to configure an instance which needs to connect to a remote server via ssh, I’ve been doing some tests and troubleshooting but I’m doing something wrong I guess, since when I’m tryin to connect to that ss…

---

## [Reminder about ansible-devel list (you might be interested!)](https://forum.ansible.com/t/reminder-about-ansible-devel-list-you-might-be-interested/15759)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [July 24, 2014, 11:26am UTC](https://forum.ansible.com/t/reminder-about-ansible-devel-list-you-might-be-interested/15759 "2014-07-24T11:26:23Z")

</div>

Just a quick reminder as I’ve gotten a few questions what ansible-development mailing list is. https://groups.google.com/forum/#!forum/ansible-devel Ansible-development list is a great list to join to: ask questions …

---

## [locations for the "lookup('file'...)](https://forum.ansible.com/t/locations-for-the-lookup-file/15748)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [July 24, 2014, 11:12am UTC](https://forum.ansible.com/t/locations-for-the-lookup-file/15748 "2014-07-24T11:12:08Z")

</div>

Hi, I’m trying to get through my “slow” day here - can’t figure out (or locate documetation explaining it) - where does “lookup(‘file’,…)” looks indeed. I have a structure: group\_vars/all.yml pgsql\_key pgsql\_key.pub …

---

## [calculate from facts](https://forum.ansible.com/t/calculate-from-facts/14570)

<div class="topic-metadata">

**Author:** [@Patrik\_Uytterhoeven](https://forum.ansible.com/u/Patrik_Uytterhoeven)\
**Replies:** 4\
**Last updated:** [July 24, 2014, 11:04am UTC](https://forum.ansible.com/t/calculate-from-facts/14570 "2014-07-24T11:04:31Z")

</div>

hi, i would like to calculate 75% from from my memory if i read my pc memory from facts i can calculate it by multiplying it by 0.75 but that number will not always be a round number sometimes it will be a float is t…

---

## [In a large enviroment, with duplicated stacks, why use group\_vars and host\_vars instead of vars\_files ?](https://forum.ansible.com/t/in-a-large-enviroment-with-duplicated-stacks-why-use-group-vars-and-host-vars-instead-of-vars-files/15744)

<div class="topic-metadata">

**Author:** [@Luca\_Carboni](https://forum.ansible.com/u/Luca_Carboni)\
**Replies:** 3\
**Last updated:** [July 24, 2014, 11:04am UTC](https://forum.ansible.com/t/in-a-large-enviroment-with-duplicated-stacks-why-use-group-vars-and-host-vars-instead-of-vars-files/15744 "2014-07-24T11:04:01Z")

</div>

Hi all, I’m fine tuning roles for our farm. we started with group\_vars and host\_vars, but it results dispersive, lot of file in group\_vars and more important number of files in host\_vars. We changed all to use vars\_fi…

---

## [shortcuts for OpenStack operations](https://forum.ansible.com/t/shortcuts-for-openstack-operations/15752)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 11:02am UTC](https://forum.ansible.com/t/shortcuts-for-openstack-operations/15752 "2014-07-24T11:02:56Z")

</div>

I have finally gottent my first OpenStack “node creation” playbook which in fact turned out rather nice, once I looked at source code :wink: I have found out that names used in OpenStack component creation routines from…

---

## [Server Side Module](https://forum.ansible.com/t/server-side-module/15756)

<div class="topic-metadata">

**Author:** [@Timothy\_Vandenbrande](https://forum.ansible.com/u/Timothy_Vandenbrande)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 10:59am UTC](https://forum.ansible.com/t/server-side-module/15756 "2014-07-24T10:59:02Z")

</div>

(This is a copy from the Ansible Development group, but it seems there aren’t as many ppl active there) Hey, I tried making a win\_copy module for ansible, but misunderstood Mr De Haan a bit. (on GitHub: https://githu…

---

## [1.6.8 parsing variations](https://forum.ansible.com/t/1-6-8-parsing-variations/15753)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [July 24, 2014, 4:27am UTC](https://forum.ansible.com/t/1-6-8-parsing-variations/15753 "2014-07-24T04:27:57Z")

</div>

Some users have been reporting some problems with 1.6.8 parsing, particularly over-zealous security checks against certain shell/command strings, in particular. The development branch now contains fixes for nearly all o…

---

## [Should playbooks be able to limit the tags called in a role they load?](https://forum.ansible.com/t/should-playbooks-be-able-to-limit-the-tags-called-in-a-role-they-load/15738)

<div class="topic-metadata">

**Author:** [@Greg\_Swift](https://forum.ansible.com/u/Greg_Swift)\
**Replies:** 3\
**Last updated:** [July 24, 2014, 2:53am UTC](https://forum.ansible.com/t/should-playbooks-be-able-to-limit-the-tags-called-in-a-role-they-load/15738 "2014-07-24T02:53:42Z")

</div>

So I apparently was going the wrong route with my thoughts on how tags in roles and playbooks interacted. I was thinking that when you referenced the tags when bringing in the role you were limiting the role, not tagging…

---

## [who to group hosts by fqdn or ip?](https://forum.ansible.com/t/who-to-group-hosts-by-fqdn-or-ip/15071)

<div class="topic-metadata">

**Author:** [@Camp\_Nou](https://forum.ansible.com/u/Camp_Nou)\
**Replies:** 3\
**Last updated:** [July 23, 2014, 10:11pm UTC](https://forum.ansible.com/t/who-to-group-hosts-by-fqdn-or-ip/15071 "2014-07-23T22:11:16Z")

</div>

It seems group\_by doesn’t support filters? ‘’’ hosts: all tasks: name: group hosts by inventory hostname group\_by: key=“{{ inventory\_hostname | regex\_replace(‘.+\\.(prod|test|dev)\\.example\\.org’, ‘\\1’) }}” ‘’’ The …

---

## [localhost has group\_vars undefined](https://forum.ansible.com/t/localhost-has-group-vars-undefined/15743)

<div class="topic-metadata">

**Author:** [@Robert\_Osborne](https://forum.ansible.com/u/Robert_Osborne)\
**Replies:** 1\
**Last updated:** [July 23, 2014, 10:08pm UTC](https://forum.ansible.com/t/localhost-has-group-vars-undefined/15743 "2014-07-23T22:08:41Z")

</div>

In my inventory I have: \[buildserver\] localhost ansible\_connection=local But the playbooks associated with \[buildserver\] all fail with “undefined” variables; all the group\_vars associated with the playbook are seeming…

---

## [GCE Deploy new host](https://forum.ansible.com/t/gce-deploy-new-host/15595)

<div class="topic-metadata">

**Author:** [@Mark\_Olliver](https://forum.ansible.com/u/Mark_Olliver)\
**Replies:** 3\
**Last updated:** [July 23, 2014, 8:14pm UTC](https://forum.ansible.com/t/gce-deploy-new-host/15595 "2014-07-23T20:14:32Z")

</div>

Hi, I am trying to create a new host using the GCE module but I keep hitting the same user. The credentials I am using do have full access. Playbook name: Create instances hosts: localhost tasks: name: Launch instan…

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

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