# Latest

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

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

**Page:** 1009

---

## [Question about variables and local connections](https://forum.ansible.com/t/question-about-variables-and-local-connections/13989)

<div class="topic-metadata">

**Author:** [@Lars\_Vonk](https://forum.ansible.com/u/Lars_Vonk)\
**Replies:** 6\
**Last updated:** [November 25, 2013, 10:54am UTC](https://forum.ansible.com/t/question-about-variables-and-local-connections/13989 "2013-11-25T10:54:59Z")

</div>

Hi, We are creating playbooks for our servers that include creating instances with rackspace. We have problems with setting up the different inventory files with the appropriate vars. To illustrate the problem I created…

---

## [Tablespace module for PostgreSQL](https://forum.ansible.com/t/tablespace-module-for-postgresql/13954)

<div class="topic-metadata">

**Author:** [@Giorgio\_Valoti](https://forum.ansible.com/u/Giorgio_Valoti)\
**Replies:** 2\
**Last updated:** [November 25, 2013, 10:16am UTC](https://forum.ansible.com/t/tablespace-module-for-postgresql/13954 "2013-11-25T10:16:17Z")

</div>

Hi all, I’ve created a very simple module to manage tablespaces for PostreSQL. Before going ahead and create a PR on GitHub, I’d like to know if it would be a usefult addition to the module library.

---

## [Unexpected password-lookup behaviour after re-organizing playbooks using roles](https://forum.ansible.com/t/unexpected-password-lookup-behaviour-after-re-organizing-playbooks-using-roles/13988)

<div class="topic-metadata">

**Author:** [@Koen\_Smets](https://forum.ansible.com/u/Koen_Smets)\
**Replies:** 2\
**Last updated:** [November 25, 2013, 8:14am UTC](https://forum.ansible.com/t/unexpected-password-lookup-behaviour-after-re-organizing-playbooks-using-roles/13988 "2013-11-25T08:14:19Z")

</div>

Dear all, After re-organising my playbooks using roles and changing $PASSWORD(credentials/mysql/root) to {{ lookup(‘password’, ‘credentials/mysql/root’) }}, I run into troubles configuring mysql. file: ansible-playbook…

---

## [Kernel arguments module](https://forum.ansible.com/t/kernel-arguments-module/13991)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 2\
**Last updated:** [November 24, 2013, 11:50pm UTC](https://forum.ansible.com/t/kernel-arguments-module/13991 "2013-11-24T23:50:16Z")

</div>

Hi All, I’m thinking of writing a kernel\_arg module to help with modifying kernel arguments in /boot/grub/menu.lst, but before I do that just wanted to make sure no such module exists? (I had a look at the Ansible Modul…

---

## [epel/fedora packages info](https://forum.ansible.com/t/epel-fedora-packages-info/13990)

<div class="topic-metadata">

**Author:** [@nirik](https://forum.ansible.com/u/nirik)\
**Replies:** 0\
**Last updated:** [November 24, 2013, 7:00pm UTC](https://forum.ansible.com/t/epel-fedora-packages-info/13990 "2013-11-24T19:00:40Z")

</div>

Just thought I would send a short note to the list about epel and fedora packages for those that are using them. There seems to be a bit of confusion about when they are available, etc. - I've been building new ansibl…

---

## [set\_fact and "variable variables"](https://forum.ansible.com/t/set-fact-and-variable-variables/13987)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 9:40pm UTC](https://forum.ansible.com/t/set-fact-and-variable-variables/13987 "2013-11-23T21:40:08Z")

</div>

Hello, I send this message to ansible-devel as I think it is an advanced subject that can lead to a devel discussion. The following play currently works as expected (or at least as I expected :wink: : hosts: localhos…

---

## [Conditions and configure options](https://forum.ansible.com/t/conditions-and-configure-options/13912)

<div class="topic-metadata">

**Author:** [@Peter\_Droogmans](https://forum.ansible.com/u/Peter_Droogmans)\
**Replies:** 9\
**Last updated:** [November 23, 2013, 8:53pm UTC](https://forum.ansible.com/t/conditions-and-configure-options/13912 "2013-11-23T20:53:02Z")

</div>

I started using ansible a week a go and I’m loving it, but I ran into a problem with conditions. I read that concatenation isn’t supported so I tried the following This works if all options are set to true, but with the…

---

## [Permissions / non-existent file errors on handler task attempting to source .bashrc?](https://forum.ansible.com/t/permissions-non-existent-file-errors-on-handler-task-attempting-to-source-bashrc/13921)

<div class="topic-metadata">

**Author:** [@Steven\_Haddox](https://forum.ansible.com/u/Steven_Haddox)\
**Replies:** 17\
**Last updated:** [November 23, 2013, 8:37pm UTC](https://forum.ansible.com/t/permissions-non-existent-file-errors-on-handler-task-attempting-to-source-bashrc/13921 "2013-11-23T20:37:37Z")

</div>

I’m 99% sure this is something on my end rather than Ansible’s and in turn am seeking some pointers as to what I’m doing wrong. In order to save replicating a lot of the basic infrastructure I have in place I’ve pushed m…

---

## [Best way to test for a substring in a variable](https://forum.ansible.com/t/best-way-to-test-for-a-substring-in-a-variable/13947)

<div class="topic-metadata">

**Author:** [@Ryan\_Mitchell](https://forum.ansible.com/u/Ryan_Mitchell)\
**Replies:** 10\
**Last updated:** [November 23, 2013, 7:39pm UTC](https://forum.ansible.com/t/best-way-to-test-for-a-substring-in-a-variable/13947 "2013-11-23T19:39:48Z")

</div>

Sorry if this has been answered somewhere but I couldn’t find anything that really addressed this, or I’m really dense about how best to solve this problem. I have a variable that should be either a fully-qualified doma…

---

## [cfgmgmtcamp.eu](https://forum.ansible.com/t/cfgmgmtcamp-eu/13769)

<div class="topic-metadata">

**Author:** [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 5:23pm UTC](https://forum.ansible.com/t/cfgmgmtcamp-eu/13769 "2013-11-23T17:23:08Z")

</div>

Hi everyone, As some of you already might have heard, there will be a Config Management Camp ( or cfgmgmtcamp) held in Ghent, Belgium next year right after Fosdem. More info at : http://cfgmgmtcamp.eu/ Toshaan Bharvan…

---

## [Loop until with delay: {{ variable.json.counter}}](https://forum.ansible.com/t/loop-until-with-delay-variable-json-counter/13985)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 4:53pm UTC](https://forum.ansible.com/t/loop-until-with-delay-variable-json-counter/13985 "2013-11-23T16:53:55Z")

</div>

Hi. I’m running my playbook to get akamai to clear some caches and I’m using theit REST API that return json. now I’m running into a problem with a look that I want to delay for X amount of seconds and X is part of the…

---

## [OT: Idempotence, convergence, and other silly fancy words we use too often](https://forum.ansible.com/t/ot-idempotence-convergence-and-other-silly-fancy-words-we-use-too-often/13986)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 4:35pm UTC](https://forum.ansible.com/t/ot-idempotence-convergence-and-other-silly-fancy-words-we-use-too-often/13986 "2013-11-23T16:35:43Z")

</div>

Somewhat OT, but I think lots of people coming from certain other tools might not know what this word means, and are saying it too frequently :slight\_smile: I’ve seen it crop up in bug reports a fair amount, “X is not id…

---

## [stuck on creating an EC2 playbook using dynamic inventory](https://forum.ansible.com/t/stuck-on-creating-an-ec2-playbook-using-dynamic-inventory/13939)

<div class="topic-metadata">

**Author:** [@Sandeep\_Srinivasa](https://forum.ansible.com/u/Sandeep_Srinivasa)\
**Replies:** 7\
**Last updated:** [November 23, 2013, 4:20pm UTC](https://forum.ansible.com/t/stuck-on-creating-an-ec2-playbook-using-dynamic-inventory/13939 "2013-11-23T16:20:11Z")

</div>

hi guys, Just started using Ansible - have been using it primarily to work with building clusters on EC2. Now, my playbook is working perfectly with creating clusters. However I am trying to use another playbook to del…

---

## [question on variable references in 1.4](https://forum.ansible.com/t/question-on-variable-references-in-1-4/13958)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 5\
**Last updated:** [November 23, 2013, 4:18pm UTC](https://forum.ansible.com/t/question-on-variable-references-in-1-4/13958 "2013-11-23T16:18:22Z")

</div>

Hello, i’d like to do something like with ansible 1.4 : mylist: key1: val1 key2: “{{ key1 }}” # val1 key1: val3 key2: “{{ key1 }}” # val3 I tried different things (like key2: “{{ mylist\[0\].key1 }}”) but cann…

---

## [adding creates= and removes= on script:](https://forum.ansible.com/t/adding-creates-and-removes-on-script/13952)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 4:14pm UTC](https://forum.ansible.com/t/adding-creates-and-removes-on-script/13952 "2013-11-23T16:14:21Z")

</div>

migrating this thread from ansible project https://groups.google.com/forum/#!topic/ansible-project/R4qQQZmErXA Michael said: The “file exists” stuff should be handled by “execute module” rather than calling low level …

---

## [variables conditions on the machine running ansible](https://forum.ansible.com/t/variables-conditions-on-the-machine-running-ansible/13960)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 23, 2013, 4:06pm UTC](https://forum.ansible.com/t/variables-conditions-on-the-machine-running-ansible/13960 "2013-11-23T16:06:57Z")

</div>

Hello, I am in a situation where I launch ansible from different network configuration (LAN, WAN,…) Depending on the proxy/firewall, my git repos can have 2 different address. the vm running ansible has the same IP in…

---

## [looking for solutions for a packaging play inside a playbook](https://forum.ansible.com/t/looking-for-solutions-for-a-packaging-play-inside-a-playbook/13976)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 3:58pm UTC](https://forum.ansible.com/t/looking-for-solutions-for-a-packaging-play-inside-a-playbook/13976 "2013-11-23T15:58:08Z")

</div>

Hello, I am trying to setup my global playbook as : configuration of apps through vars : which apps, which repo they’re in, which git branch (“HEAD” or git sha) play 1 : packaging on localhost. this clones repos, …

---

## [features of register:](https://forum.ansible.com/t/features-of-register/13973)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 3:56pm UTC](https://forum.ansible.com/t/features-of-register/13973 "2013-11-23T15:56:11Z")

</div>

Hello, The feature name: capture output debug: msg=“hello world” register: myvar allows to capture the result of the task inside the variable myvar. if a with\_item is added, myvar.results becomes a list with all t…

---

## [How can I \_elegantly\_ build a long ad-hoc path to each role? (and a little about The Plethorole Project)](https://forum.ansible.com/t/how-can-i-elegantly-build-a-long-ad-hoc-path-to-each-role-and-a-little-about-the-plethorole-project/13981)

<div class="topic-metadata">

**Author:** [@josh2](https://forum.ansible.com/u/josh2)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 3:56pm UTC](https://forum.ansible.com/t/how-can-i-elegantly-build-a-long-ad-hoc-path-to-each-role-and-a-little-about-the-plethorole-project/13981 "2013-11-23T15:56:11Z")

</div>

Hi, I’m hoping to give my role-lines default path values, on a per role basis. I’m trying to create a imperative-based repository for roles, and I think the ability to build a long path to every role in a simple way is …

---

## [tags as variables](https://forum.ansible.com/t/tags-as-variables/13968)

<div class="topic-metadata">

**Author:** [@shirou](https://forum.ansible.com/u/shirou)\
**Replies:** 4\
**Last updated:** [November 23, 2013, 3:42pm UTC](https://forum.ansible.com/t/tags-as-variables/13968 "2013-11-23T15:42:04Z")

</div>

Hi list, I want to use tags in my playbook as variables.

---

## [Ansible 1.4 and acl](https://forum.ansible.com/t/ansible-1-4-and-acl/13982)

<div class="topic-metadata">

**Author:** [@Hugues\_Alary](https://forum.ansible.com/u/Hugues_Alary)\
**Replies:** 3\
**Last updated:** [November 23, 2013, 3:40pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982 "2013-11-23T15:40:20Z")

</div>

Hi there, First, congrats for the new release! I see that the new release comes with an acl module. Great! I however just tried using it, and I’m trying to set a default acl on a directory. With the command line tool…

---

## [Ideas on how to set-up dynamic ifcfg files](https://forum.ansible.com/t/ideas-on-how-to-set-up-dynamic-ifcfg-files/13845)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 9\
**Last updated:** [November 23, 2013, 3:39pm UTC](https://forum.ansible.com/t/ideas-on-how-to-set-up-dynamic-ifcfg-files/13845 "2013-11-23T15:39:13Z")

</div>

Hi All, I’ve just started looking into Ansible and I was wondering how the more experienced users would go about doing this. I want Ansible to configure the ifcfg-XXX and ifroute-XXX files for me using a template popul…

---

## [new synchronize module: can't specify relative path in playbook](https://forum.ansible.com/t/new-synchronize-module-cant-specify-relative-path-in-playbook/13966)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 2\
**Last updated:** [November 22, 2013, 9:57pm UTC](https://forum.ansible.com/t/new-synchronize-module-cant-specify-relative-path-in-playbook/13966 "2013-11-22T21:57:00Z")

</div>

I’m trying the following: name: Ensure adminer installed and up to date synchronize: src=roles/mysql/templates/adminer.php dest=/var/www/adminer.php I first tried just specifying the file name, as it should be au…

---

## [local\_action / delegate\_to: 127.0.0.1 fail when they try to use ssh.](https://forum.ansible.com/t/local-action-delegate-to-127-0-0-1-fail-when-they-try-to-use-ssh/13965)

<div class="topic-metadata">

**Author:** [@Grant\_BlahaErath](https://forum.ansible.com/u/Grant_BlahaErath)\
**Replies:** 2\
**Last updated:** [November 22, 2013, 9:45pm UTC](https://forum.ansible.com/t/local-action-delegate-to-127-0-0-1-fail-when-they-try-to-use-ssh/13965 "2013-11-22T21:45:11Z")

</div>

Hi, I have a rare behavior reported earlier, and I want to share it in case a third person encounters it. This behavior appeared misteriously in previously working code, and it causes ansible to ssh into the localhost r…

---

## [task action over multiple files using fileglob query](https://forum.ansible.com/t/task-action-over-multiple-files-using-fileglob-query/13979)

<div class="topic-metadata">

**Author:** [@Walid](https://forum.ansible.com/u/Walid)\
**Replies:** 5\
**Last updated:** [November 22, 2013, 9:34pm UTC](https://forum.ansible.com/t/task-action-over-multiple-files-using-fileglob-query/13979 "2013-11-22T21:34:01Z")

</div>

Hi, I would like to run the module lineinfile against several files that exist on the remote managed host. I saw in the changelog for 1.4 that i can use the following lookup plugin feature: " added a fileglob filter th…

---

## [Ansible, Cloud Instances and Inventories](https://forum.ansible.com/t/ansible-cloud-instances-and-inventories/13980)

<div class="topic-metadata">

**Author:** [@AmiableAlbion](https://forum.ansible.com/u/AmiableAlbion)\
**Replies:** 0\
**Last updated:** [November 22, 2013, 9:23pm UTC](https://forum.ansible.com/t/ansible-cloud-instances-and-inventories/13980 "2013-11-22T21:23:15Z")

</div>

Hi, I am relatively new to Ansible, but have been very impressed with its functionality and excited about it’s possibilities. I am primarily using it for OpenStack orchestration on a Nebula private cloud for launching L…

---

## [Awkward behaviour of lineinfile + insertafter=EOF](https://forum.ansible.com/t/awkward-behaviour-of-lineinfile-insertafter-eof/13970)

<div class="topic-metadata">

**Author:** [@Dhananjay\_Nene](https://forum.ansible.com/u/Dhananjay_Nene)\
**Replies:** 4\
**Last updated:** [November 22, 2013, 9:11pm UTC](https://forum.ansible.com/t/awkward-behaviour-of-lineinfile-insertafter-eof/13970 "2013-11-22T21:11:06Z")

</div>

I recently decided to upgrade my nodes from ubuntu 12.04 to 13.10 As I started testing the scripts, I've run into an interesting issue The file /etc/ssh/sshd\_config (in ubuntu 13.10) has no newline at the end of the f…

---

## [Password lookup issues after re-organising playbooks into roles](https://forum.ansible.com/t/password-lookup-issues-after-re-organising-playbooks-into-roles/13971)

<div class="topic-metadata">

**Author:** [@Koen\_Smets](https://forum.ansible.com/u/Koen_Smets)\
**Replies:** 1\
**Last updated:** [November 22, 2013, 9:00pm UTC](https://forum.ansible.com/t/password-lookup-issues-after-re-organising-playbooks-into-roles/13971 "2013-11-22T21:00:28Z")

</div>

Dear all, I started re-organising my playbooks with roles, but stumbled on some password lookup issues. file: ansible/roles/mysql/tasks/main.yml name: MySQL | Set the root password mysql\_user: user=root password=“{{…

---

## [How do I eliminate this deprecation warning?](https://forum.ansible.com/t/how-do-i-eliminate-this-deprecation-warning/13975)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 5\
**Last updated:** [November 22, 2013, 8:59pm UTC](https://forum.ansible.com/t/how-do-i-eliminate-this-deprecation-warning/13975 "2013-11-22T20:59:42Z")

</div>

I have the following in one of my playbooks: - authorized\_key: user=root key="$FILE(ssh/{{ item }}.pub)" with\_items: - nolan I'm now attempting to remove the deprecation warning on this. I tried: - authorized\_…

---

## [How to resolve include with\_items deprecation warning without duplication](https://forum.ansible.com/t/how-to-resolve-include-with-items-deprecation-warning-without-duplication/13972)

<div class="topic-metadata">

**Author:** [@Jeremy\_Chase](https://forum.ansible.com/u/Jeremy_Chase)\
**Replies:** 1\
**Last updated:** [November 22, 2013, 8:58pm UTC](https://forum.ansible.com/t/how-to-resolve-include-with-items-deprecation-warning-without-duplication/13972 "2013-11-22T20:58:55Z")

</div>

Hello, I just updated to 1.4 and am trying to grok how to resolve the “include + with\_items” deprecation warning without introducing several redundant with\_items on each action. So far the only solution I’ve found is to…

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

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