# Latest

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

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

**Page:** 975

---

## [Relicensing GPLv3 - need ok from Seth/Jeremy/Tim](https://forum.ansible.com/t/relicensing-gplv3-need-ok-from-seth-jeremy-tim/11311)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 6\
**Last updated:** [April 22, 2014, 4:46pm UTC](https://forum.ansible.com/t/relicensing-gplv3-need-ok-from-seth-jeremy-tim/11311 "2014-04-22T16:46:25Z")

</div>

I’m reconsidering the MIT license pick for various reasons. Is everybody ok with changing the license? (We are not going to require copyright assignment so this will become more difficult later) –Michael

---

## [Different behavior of path resolving in lookup function in 1.5.3 and 1.5.4](https://forum.ansible.com/t/different-behavior-of-path-resolving-in-lookup-function-in-1-5-3-and-1-5-4/14951)

<div class="topic-metadata">

**Author:** [@Max\_Romanovsky](https://forum.ansible.com/u/Max_Romanovsky)\
**Replies:** 2\
**Last updated:** [April 22, 2014, 1:16pm UTC](https://forum.ansible.com/t/different-behavior-of-path-resolving-in-lookup-function-in-1-5-3-and-1-5-4/14951 "2014-04-22T13:16:01Z")

</div>

Hello, I have a problem after migration from 1.5.3 to 1.5.4 My ansible directory is structured according to recommendations in Best Practices doc. It is stored in /vagrant/ansible /vagrant/ansible/group\_vars/all cont…

---

## [Keeping Ansible in Check](https://forum.ansible.com/t/keeping-ansible-in-check/15060)

<div class="topic-metadata">

**Author:** [@Brian\_Dunbar](https://forum.ansible.com/u/Brian_Dunbar)\
**Replies:** 1\
**Last updated:** [April 21, 2014, 11:26pm UTC](https://forum.ansible.com/t/keeping-ansible-in-check/15060 "2014-04-21T23:26:25Z")

</div>

Hi, There are now four of us contributing to our ansible repository. We’re using it for a great deal and it’s been a game-changer. However … With four people contributing, we have a small amount of duplication, some or…

---

## [Best approach to inventory/vars organization?](https://forum.ansible.com/t/best-approach-to-inventory-vars-organization/15059)

<div class="topic-metadata">

**Author:** [@Fran\_Garcia](https://forum.ansible.com/u/Fran_Garcia)\
**Replies:** 1\
**Last updated:** [April 21, 2014, 11:23pm UTC](https://forum.ansible.com/t/best-approach-to-inventory-vars-organization/15059 "2014-04-21T23:23:06Z")

</div>

Hi all, This is my first post here so apologies if this has been already asked before :slight\_smile: . Any pointers to the relevant conversation will be much appreciated. I’m trying to understand what approach I shou…

---

## [How to create user on remote machine and then configure the machine as this user?](https://forum.ansible.com/t/how-to-create-user-on-remote-machine-and-then-configure-the-machine-as-this-user/15057)

<div class="topic-metadata">

**Author:** [@Daniel\_Charbonneau](https://forum.ansible.com/u/Daniel_Charbonneau)\
**Replies:** 10\
**Last updated:** [April 21, 2014, 5:20pm UTC](https://forum.ansible.com/t/how-to-create-user-on-remote-machine-and-then-configure-the-machine-as-this-user/15057 "2014-04-21T17:20:02Z")

</div>

The remote machine I am logging into currently only allows me to login via root, but I’d like to create another user and perform configurations as this user. I don’t know how to do this, would someone point me to a few r…

---

## [Threadsafety with Ansible Python API](https://forum.ansible.com/t/threadsafety-with-ansible-python-api/15049)

<div class="topic-metadata">

**Author:** [@Ryan\_Hobbs](https://forum.ansible.com/u/Ryan_Hobbs)\
**Replies:** 2\
**Last updated:** [April 21, 2014, 2:37pm UTC](https://forum.ansible.com/t/threadsafety-with-ansible-python-api/15049 "2014-04-21T14:37:37Z")

</div>

We are currently using Ansible rev 1.5.4 and would like to know if Ansible is thread safe when using it with their python bindings (http://docs.ansible.com/developing\_api.html)? In our environment we have a python applic…

---

## [AttributeError: 'module' object has no attribute 'ETIME' - after git update](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-etime-after-git-update/15053)

<div class="topic-metadata">

**Author:** [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Replies:** 5\
**Last updated:** [April 21, 2014, 1:15pm UTC](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-etime-after-git-update/15053 "2014-04-21T13:15:40Z")

</div>

Had a working setup using the dev branch from a week or two ago… today I did an update and after that I am getting an error: GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \<107.170.122.…

---

## [Manage group\_vars with vault?](https://forum.ansible.com/t/manage-group-vars-with-vault/15055)

<div class="topic-metadata">

**Author:** [@Aaron\_Hunter](https://forum.ansible.com/u/Aaron_Hunter)\
**Replies:** 1\
**Last updated:** [April 21, 2014, 1:13pm UTC](https://forum.ansible.com/t/manage-group-vars-with-vault/15055 "2014-04-21T13:13:42Z")

</div>

I’d like to manage a subset of group\_vars variables with vault. That is, split the variables “group\_vars/all” so that some are in plaintext and some are managed by vault. Is it possible for “group\_vars/all” to -include a…

---

## [problems with variables: git module creating wrong directory, /root/\\\[/root/olio\\\]/](https://forum.ansible.com/t/problems-with-variables-git-module-creating-wrong-directory-root-root-olio/15056)

<div class="topic-metadata">

**Author:** [@Daniel\_Charbonneau](https://forum.ansible.com/u/Daniel_Charbonneau)\
**Replies:** 2\
**Last updated:** [April 20, 2014, 8:27pm UTC](https://forum.ansible.com/t/problems-with-variables-git-module-creating-wrong-directory-root-root-olio/15056 "2014-04-20T20:27:08Z")

</div>

The second task below fails with npm not being able to find a package.json within /root/ That is, it doesn’t know that it should cd into /root/olio, and so of course it isn’t going to find a package.json file. The git m…

---

## [Listing current facts from node](https://forum.ansible.com/t/listing-current-facts-from-node/15054)

<div class="topic-metadata">

**Author:** [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Replies:** 3\
**Last updated:** [April 20, 2014, 2:58am UTC](https://forum.ansible.com/t/listing-current-facts-from-node/15054 "2014-04-20T02:58:24Z")

</div>

How do I list all the fact variables for a given node? Upgrade to the latest code from git today a previously working playbook stopped working. This code is skipping Ubuntu machines when: ansible\_os\_family == “Ubuntu” …

---

## [Inserting a a role from galaxy as a dependency](https://forum.ansible.com/t/inserting-a-a-role-from-galaxy-as-a-dependency/15052)

<div class="topic-metadata">

**Author:** [@Daniel\_Charbonneau](https://forum.ansible.com/u/Daniel_Charbonneau)\
**Replies:** 1\
**Last updated:** [April 19, 2014, 8:25pm UTC](https://forum.ansible.com/t/inserting-a-a-role-from-galaxy-as-a-dependency/15052 "2014-04-19T20:25:25Z")

</div>

Here’s an example of my project’s setup: https://gist.github.com/novodinia/afa58be3c34dd600291f Launching the bar application causes an error because it can’t find Java. Would someone be willing to help me out with usi…

---

## [Release 1.5.5 - contains 2 small security updates](https://forum.ansible.com/t/release-1-5-5-contains-2-small-security-updates/15048)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [April 18, 2014, 9:15pm UTC](https://forum.ansible.com/t/release-1-5-5-contains-2-small-security-updates/15048 "2014-04-18T21:15:33Z")

</div>

Hi all, We’ve cut a release of Ansible entitled 1.5.5 containing two minor security updates. These are as follows: (1) As previously mentioned in https://groups.google.com/forum/#!topic/ansible-announce/j1qfi5gAX3o, t…

---

## [apt module failing on Ubuntu 14.04 LTS](https://forum.ansible.com/t/apt-module-failing-on-ubuntu-14-04-lts/15047)

<div class="topic-metadata">

**Author:** [@Mike\_Titus](https://forum.ansible.com/u/Mike_Titus)\
**Replies:** 1\
**Last updated:** [April 18, 2014, 8:47pm UTC](https://forum.ansible.com/t/apt-module-failing-on-ubuntu-14-04-lts/15047 "2014-04-18T20:47:01Z")

</div>

Anisble 1.5.4 running from Ubuntu 13.10, “virgin” install of Ubuntu 14.04 LTS, the very first task of my playbook fails: name: apt-get update apt: update\_cache=yes TASK: \[common | apt-get update\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Why does ansible change LANG to C?](https://forum.ansible.com/t/why-does-ansible-change-lang-to-c/14993)

<div class="topic-metadata">

**Author:** [@Alistair\_Bayley](https://forum.ansible.com/u/Alistair_Bayley)\
**Replies:** 4\
**Last updated:** [April 18, 2014, 8:05pm UTC](https://forum.ansible.com/t/why-does-ansible-change-lang-to-c/14993 "2014-04-18T20:05:49Z")

</div>

We’ve tracked down a bug in our ansible-driven build to the LANG environment variable being explicitly set to “C”. I’m wondering why this is done i.e. why modify it at all? Why not just use the environment of the user/ac…

---

## [module document variable for check\_mode](https://forum.ansible.com/t/module-document-variable-for-check-mode/15045)

<div class="topic-metadata">

**Author:** [@Jeremy\_Schulman](https://forum.ansible.com/u/Jeremy_Schulman)\
**Replies:** 2\
**Last updated:** [April 18, 2014, 6:48pm UTC](https://forum.ansible.com/t/module-document-variable-for-check-mode/15045 "2014-04-18T18:48:41Z")

</div>

Hi Team, I am writing modules and in the process of writing the DOCUMENTATION and EXAMPLE strings. Is there a way to indicate whether or not the module support check\_mode so that folks can find this out from looking at …

---

## [Creating group and user](https://forum.ansible.com/t/creating-group-and-user/15044)

<div class="topic-metadata">

**Author:** [@Wojciech\_Pietrzak](https://forum.ansible.com/u/Wojciech_Pietrzak)\
**Replies:** 1\
**Last updated:** [April 18, 2014, 4:22pm UTC](https://forum.ansible.com/t/creating-group-and-user/15044 "2014-04-18T16:22:56Z")

</div>

Hi, I’m trying to create a “www” group and a “web” user who should be a member of this “www” group. \` --- - name: create group for deloyment and web group: state=present name=web system=yes - name: cr…

---

## [unable to configure ansible properly - sudo: True has no effect on any task](https://forum.ansible.com/t/unable-to-configure-ansible-properly-sudo-true-has-no-effect-on-any-task/15005)

<div class="topic-metadata">

**Author:** [@Joel\_Hughes](https://forum.ansible.com/u/Joel_Hughes)\
**Replies:** 4\
**Last updated:** [April 18, 2014, 3:46am UTC](https://forum.ansible.com/t/unable-to-configure-ansible-properly-sudo-true-has-no-effect-on-any-task/15005 "2014-04-18T03:46:22Z")

</div>

sudo: True has no effect on any task This is a configuration issue, but after many hours I’m unable to locate it. Tested against ansible 1.4.5, 1.5.0 through 1.5.4 and development branch so I’m sure it’s not ansible. …

---

## [apt\_key "file" parameter doesn't seem to read from the "files" directory of a role](https://forum.ansible.com/t/apt-key-file-parameter-doesnt-seem-to-read-from-the-files-directory-of-a-role/15043)

<div class="topic-metadata">

**Author:** [@Mike\_Titus](https://forum.ansible.com/u/Mike_Titus)\
**Replies:** 1\
**Last updated:** [April 17, 2014, 10:19pm UTC](https://forum.ansible.com/t/apt-key-file-parameter-doesnt-seem-to-read-from-the-files-directory-of-a-role/15043 "2014-04-17T22:19:17Z")

</div>

Given this task inside main.yml within a role: apt\_key: file=percona-key-CD2EFD2A.gpg id=CD2EFD2A state=present and given that the file percona-key-CD2EFD2A.gpg does exist in the /files folder for that role (with appro…

---

## [Host Module](https://forum.ansible.com/t/host-module/15037)

<div class="topic-metadata">

**Author:** [@Paul\_Wolstenholme](https://forum.ansible.com/u/Paul_Wolstenholme)\
**Replies:** 3\
**Last updated:** [April 17, 2014, 10:17pm UTC](https://forum.ansible.com/t/host-module/15037 "2014-04-17T22:17:37Z")

</div>

I’ve just upgrade to Ansible 1.5.4. It’s awesome. I had been using the host module in the version I had upgrade from. Just wondering what the status of the host module. Is it permanently dead. Cheers, Paul

---

## [Is it possible to encrypt non-YAML data with Vault?](https://forum.ansible.com/t/is-it-possible-to-encrypt-non-yaml-data-with-vault/15042)

<div class="topic-metadata">

**Author:** [@Alex\_Dunae](https://forum.ansible.com/u/Alex_Dunae)\
**Replies:** 3\
**Last updated:** [April 17, 2014, 9:55pm UTC](https://forum.ansible.com/t/is-it-possible-to-encrypt-non-yaml-data-with-vault/15042 "2014-04-17T21:55:49Z")

</div>

I’m looking to put our ~10 SSL certificates in our repository and have them installed with Ansible. From what I can tell, it seems that I can only use vault for data in YAML files, not arbitrary plaintext files. I’ve sta…

---

## [delegate\_to: with a different user from the target hosts](https://forum.ansible.com/t/delegate-to-with-a-different-user-from-the-target-hosts/15013)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 3\
**Last updated:** [April 17, 2014, 6:38pm UTC](https://forum.ansible.com/t/delegate-to-with-a-different-user-from-the-target-hosts/15013 "2014-04-17T18:38:01Z")

</div>

We are operating a private openstack cloud. We would like to host a single local mirror for data and package repositories per cloud, with many tenants for a given cloud. Each tenant/project is on a private subnet with a…

---

## [(ssh) error pinging servers](https://forum.ansible.com/t/ssh-error-pinging-servers/15041)

<div class="topic-metadata">

**Author:** [@Daniel\_Charbonneau](https://forum.ansible.com/u/Daniel_Charbonneau)\
**Replies:** 2\
**Last updated:** [April 17, 2014, 5:59pm UTC](https://forum.ansible.com/t/ssh-error-pinging-servers/15041 "2014-04-17T17:59:04Z")

</div>

Hi, I’m trying to do perform a very basic hello world with a server, and I’m receiving an error that, after googling around, I’m still unsure how to handle. You can see the files and output here: https://gist.github.com…

---

## [Problem with includes in templates](https://forum.ansible.com/t/problem-with-includes-in-templates/14998)

<div class="topic-metadata">

**Author:** [@Thomas\_Klein](https://forum.ansible.com/u/Thomas_Klein)\
**Replies:** 2\
**Last updated:** [April 17, 2014, 5:00pm UTC](https://forum.ansible.com/t/problem-with-includes-in-templates/14998 "2014-04-17T17:00:59Z")

</div>

Hi, i’m working with ansible 1.5 and encounter a problem when working with includes in templates. In one template file i have this code snippet: {% for group in group\_names %} {% include “debug\_include.j2” with conte…

---

## [Dynamic inventory, empty group with children](https://forum.ansible.com/t/dynamic-inventory-empty-group-with-children/15039)

<div class="topic-metadata">

**Author:** [@Dane](https://forum.ansible.com/u/Dane)\
**Replies:** 2\
**Last updated:** [April 17, 2014, 12:13pm UTC](https://forum.ansible.com/t/dynamic-inventory-empty-group-with-children/15039 "2014-04-17T12:13:01Z")

</div>

Hello list, I’m working on a dynamic inventory script for our Ansible deployment. Mostly we’re going to be dealing with clusters of machines, so from our side we’re grouping hosts into the cluster they’ll be in and each…

---

## [Run handler on failed task](https://forum.ansible.com/t/run-handler-on-failed-task/15015)

<div class="topic-metadata">

**Author:** [@Joachim\_Friberg](https://forum.ansible.com/u/Joachim_Friberg)\
**Replies:** 7\
**Last updated:** [April 17, 2014, 11:57am UTC](https://forum.ansible.com/t/run-handler-on-failed-task/15015 "2014-04-17T11:57:52Z")

</div>

Hi, So what I want to do, and have not yet found a way todo yet, is to run a handler if a taks fails rather then if it succeeds. For example I want to do a yum install mysql on a server, but this server does not have p…

---

## [inventory with different ports, same address](https://forum.ansible.com/t/inventory-with-different-ports-same-address/15038)

<div class="topic-metadata">

**Author:** [@jorrit.boekel](https://forum.ansible.com/u/jorrit.boekel)\
**Replies:** 1\
**Last updated:** [April 17, 2014, 11:55am UTC](https://forum.ansible.com/t/inventory-with-different-ports-same-address/15038 "2014-04-17T11:55:42Z")

</div>

Hi all, In my setup with ansible 1.5.4 if I have the following inventory: \[first\] example.com:1234 \[second\] example.com:1235 and a play: hosts: first second roles: do\_stuff Ansible will only execute tasks on o…

---

## [Improving or extending the mount module for existing mounts](https://forum.ansible.com/t/improving-or-extending-the-mount-module-for-existing-mounts/15033)

<div class="topic-metadata">

**Author:** [@Beau\_Simensen](https://forum.ansible.com/u/Beau_Simensen)\
**Replies:** 1\
**Last updated:** [April 17, 2014, 2:29am UTC](https://forum.ansible.com/t/improving-or-extending-the-mount-module-for-existing-mounts/15033 "2014-04-17T02:29:14Z")

</div>

Hi all! I’ve been digging Ansible on the first few days I’ve been trying to play with it. I ran into some complications with mount, though. My use case is that I want to add the “acl” option to the “/” mount. If I want …

---

## [Inserting an entire block of configuration using lineinfile](https://forum.ansible.com/t/inserting-an-entire-block-of-configuration-using-lineinfile/14979)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 4\
**Last updated:** [April 17, 2014, 2:28am UTC](https://forum.ansible.com/t/inserting-an-entire-block-of-configuration-using-lineinfile/14979 "2014-04-17T02:28:48Z")

</div>

I need to insert many lines of configuration and must use lineinfile or something similar. The particular application in question also writes changes over time to other parts of the same file. What is the best, cleanes…

---

## [\--limit with \[nnn:nnn\] not working](https://forum.ansible.com/t/limit-with-nnn-nnn-not-working/15022)

<div class="topic-metadata">

**Author:** [@Mike\_Cavedon](https://forum.ansible.com/u/Mike_Cavedon)\
**Replies:** 3\
**Last updated:** [April 17, 2014, 2:26am UTC](https://forum.ansible.com/t/limit-with-nnn-nnn-not-working/15022 "2014-04-17T02:26:54Z")

</div>

I have the following hosts file. (skytap\_env)\[jenkins@rts-loadgen02 dxansible\]$ cat hosts\_file \[router\_hosts\] rts-rr\[201:203\].slsin.dataxu.net rts-rr\[301:303\].slsin.dataxu.net The following --limit works correctly. …

---

## [We could be wrong, but this one looks like it might be an issue with missing quotes.](https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15024)

<div class="topic-metadata">

**Author:** [@Andrew\_Holway](https://forum.ansible.com/u/Andrew_Holway)\
**Replies:** 8\
**Last updated:** [April 17, 2014, 2:16am UTC](https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15024 "2014-04-17T02:16:47Z")

</div>

Hi, I cant get past this error. I’ve tried various combinations of quotes but to no avail. Any ideas? ta, Andrew \[root@ansible ansible-catn-freeipa\]# ansible-playbook freeipa.yml -i hosts ERROR: Syntax Error while …

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

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