# Latest

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

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

**Page:** 851

---

## [need for docker\_facts module](https://forum.ansible.com/t/need-for-docker-facts-module/15051)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 9\
**Last updated:** [July 20, 2015, 9:27pm UTC](https://forum.ansible.com/t/need-for-docker-facts-module/15051 "2015-07-20T21:27:43Z")

</div>

Hi all! I found an issue with the docker module that I ended up discussing with Paul Durivage. The essential problem is that there is a list of dictionaries per container that only contains the last running container wh…

---

## [force use of --limit option?](https://forum.ansible.com/t/force-use-of-limit-option/18778)

<div class="topic-metadata">

**Author:** [@Erik\_Weathers](https://forum.ansible.com/u/Erik_Weathers)\
**Replies:** 8\
**Last updated:** [July 20, 2015, 8:38pm UTC](https://forum.ansible.com/t/force-use-of-limit-option/18778 "2015-07-20T20:38:37Z")

</div>

hi Ansible Developers! My team is getting its feet wet with ansible and we’re having contentious discussions about use of “hosts: all” in playbooks. I’m opposed to using an “extra-variable” in the ansible-playbook comm…

---

## [get\_url: accepting sha1 checksums](https://forum.ansible.com/t/get-url-accepting-sha1-checksums/18796)

<div class="topic-metadata">

**Author:** [@Mike\_C1](https://forum.ansible.com/u/Mike_C1)\
**Replies:** 1\
**Last updated:** [July 20, 2015, 6:13pm UTC](https://forum.ansible.com/t/get-url-accepting-sha1-checksums/18796 "2015-07-20T18:13:43Z")

</div>

Hi all, Is there any reasons why get\_url does not accept sha1 checksums and only accept sha256sum ? The reason behind this is, that i tried seting up the ELK stack and they provide sha1 checksums on the site. So i foun…

---

## [Importing custom python library from ansible custom module](https://forum.ansible.com/t/importing-custom-python-library-from-ansible-custom-module/18780)

<div class="topic-metadata">

**Author:** [@Olivier\_Lauret](https://forum.ansible.com/u/Olivier_Lauret)\
**Replies:** 7\
**Last updated:** [July 20, 2015, 3:51pm UTC](https://forum.ansible.com/t/importing-custom-python-library-from-ansible-custom-module/18780 "2015-07-20T15:51:17Z")

</div>

Hello all, Is there a way to import a custom python library from an ansible custom module? I am trying to create a custom module and need a specific python library. I have put my inifile.py file in the library folder o…

---

## [retrieving endpoint from data in the elasticache module](https://forum.ansible.com/t/retrieving-endpoint-from-data-in-the-elasticache-module/18150)

<div class="topic-metadata">

**Author:** [@DenMat\_Gone](https://forum.ansible.com/u/DenMat_Gone)\
**Replies:** 3\
**Last updated:** [July 20, 2015, 1:59pm UTC](https://forum.ansible.com/t/retrieving-endpoint-from-data-in-the-elasticache-module/18150 "2015-07-20T13:59:19Z")

</div>

Hi all, I have a question regarding the data returned from the elasticache module. I am able to create a memcached elasticache endpoint but I would like to retrieve that endpoint for use later in the playbook. I regis…

---

## [getting values from returned data (elasticache endpoint)](https://forum.ansible.com/t/getting-values-from-returned-data-elasticache-endpoint/18151)

<div class="topic-metadata">

**Author:** [@DenMat\_Gone](https://forum.ansible.com/u/DenMat_Gone)\
**Replies:** 3\
**Last updated:** [July 20, 2015, 1:58pm UTC](https://forum.ansible.com/t/getting-values-from-returned-data-elasticache-endpoint/18151 "2015-07-20T13:58:23Z")

</div>

Hi all, I’m using the elasticache module to create an elasticache instance. This works fine. I’m trying to parse the data returned to get the endpoint but I’m having trouble and was hoping for an answer. The data I’m t…

---

## [Dictionary elements access within group\_vars](https://forum.ansible.com/t/dictionary-elements-access-within-group-vars/18801)

<div class="topic-metadata">

**Author:** [@Daniel\_Siechniewicz](https://forum.ansible.com/u/Daniel_Siechniewicz)\
**Replies:** 1\
**Last updated:** [July 20, 2015, 12:51pm UTC](https://forum.ansible.com/t/dictionary-elements-access-within-group-vars/18801 "2015-07-20T12:51:20Z")

</div>

Hi, I’m using ansible\[-playbook\] 1.9.0.1. I have 4 “proxy” hosts talking to 2 “app” hosts: proxy1 → app1 proxy2 → app1 proxy3 → app2 proxy4 → app2 In group vars I defined: proxy\_to\_app\_map: 1: 1 2: 1 3: 2 4: …

---

## [Ansible Privilege Escalation](https://forum.ansible.com/t/ansible-privilege-escalation/18769)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 3\
**Last updated:** [July 20, 2015, 4:00am UTC](https://forum.ansible.com/t/ansible-privilege-escalation/18769 "2015-07-20T04:00:44Z")

</div>

Hello Everyone, Below is a play that i have written to execute the task as a sudo user. name: Testing the sudo user concept in this play hosts: all user: ved become: yes become\_method: su become\_pass: root\_123 ta…

---

## [Using Ansible to provision Jenkins](https://forum.ansible.com/t/using-ansible-to-provision-jenkins/18685)

<div class="topic-metadata">

**Author:** [@Anthony\_Green](https://forum.ansible.com/u/Anthony_Green)\
**Replies:** 2\
**Last updated:** [July 20, 2015, 3:52am UTC](https://forum.ansible.com/t/using-ansible-to-provision-jenkins/18685 "2015-07-20T03:52:28Z")

</div>

I’m using Ansible to provision a machine with Jenkins within a Docker container As part of the provisioning process I wait until Jenkins is running and then download the CLI to continue the provisioning by executing CLI…

---

## [Accumulating a list in Ansible](https://forum.ansible.com/t/accumulating-a-list-in-ansible/18802)

<div class="topic-metadata">

**Author:** [@Kevin\_Raison](https://forum.ansible.com/u/Kevin_Raison)\
**Replies:** 2\
**Last updated:** [July 20, 2015, 1:05am UTC](https://forum.ansible.com/t/accumulating-a-list-in-ansible/18802 "2015-07-20T01:05:59Z")

</div>

Hello, group. I am still a novice with Ansible, so perhaps my approach is flawed, so if there is a better way, I am happy to hear about it. I have a situation where I need to accumulate values into an Ansible list variab…

---

## [Using results of RDS facts to update a template](https://forum.ansible.com/t/using-results-of-rds-facts-to-update-a-template/18803)

<div class="topic-metadata">

**Author:** [@Dave\_Thomas](https://forum.ansible.com/u/Dave_Thomas)\
**Replies:** 4\
**Last updated:** [July 19, 2015, 7:39pm UTC](https://forum.ansible.com/t/using-results-of-rds-facts-to-update-a-template/18803 "2015-07-19T19:39:24Z")

</div>

I’d trying to get the database endpoint into a Rails database.ml file. I know the RDS id, so I can get the endpoint using reds/command: facts. Unfortunately, the RDS play has to use localhost, while the template write u…

---

## [Ansible cannot find hosts defined in ~/.ssh/config](https://forum.ansible.com/t/ansible-cannot-find-hosts-defined-in-ssh-config/18726)

<div class="topic-metadata">

**Author:** [@Aleksey\_Kislov](https://forum.ansible.com/u/Aleksey_Kislov)\
**Replies:** 1\
**Last updated:** [July 19, 2015, 4:38am UTC](https://forum.ansible.com/t/ansible-cannot-find-hosts-defined-in-ssh-config/18726 "2015-07-19T04:38:02Z")

</div>

After recent update, when I try to run my playbook, I immediately get the skipping: no hosts matched response. I can reproduce it with following command: ansible myhost --list-hosts The output of it is No hosts match…

---

## [run two command in one task](https://forum.ansible.com/t/run-two-command-in-one-task/18743)

<div class="topic-metadata">

**Author:** [@Roy](https://forum.ansible.com/u/Roy)\
**Replies:** 1\
**Last updated:** [July 19, 2015, 4:27am UTC](https://forum.ansible.com/t/run-two-command-in-one-task/18743 "2015-07-19T04:27:50Z")

</div>

Hi, I was trying to write simple task in ansible to create HDFS user hone directory if it’s not exist. So following is the task I wrote name: create user home dir in HDFS shell: shell: “hadoop fs -test -d /user/{{ i…

---

## [Adding private key to remote host](https://forum.ansible.com/t/adding-private-key-to-remote-host/18789)

<div class="topic-metadata">

**Author:** [@Eugene\_Romero](https://forum.ansible.com/u/Eugene_Romero)\
**Replies:** 3\
**Last updated:** [July 19, 2015, 3:53am UTC](https://forum.ansible.com/t/adding-private-key-to-remote-host/18789 "2015-07-19T03:53:30Z")

</div>

Hi all! In my company, we have playbooks to set up brand new servers in different roles, so that we can quickly configure new servers in case of expansion, emergency, etc. One of the steps involved in these setups is a…

---

## [Ansible provisioning through bastion SSH host](https://forum.ansible.com/t/ansible-provisioning-through-bastion-ssh-host/18785)

<div class="topic-metadata">

**Author:** [@andrew2](https://forum.ansible.com/u/andrew2)\
**Replies:** 2\
**Last updated:** [July 19, 2015, 3:34am UTC](https://forum.ansible.com/t/ansible-provisioning-through-bastion-ssh-host/18785 "2015-07-19T03:34:41Z")

</div>

Hi folks, I’m encountering issues provisioning with Ansible via SSH from outside our datacenter (well, AWS Virtual Private Cloud). Our bastion hosts (“jump boxes”) are configured to accept SSH keys from staff members. …

---

## [Changing default for update\_password](https://forum.ansible.com/t/changing-default-for-update-password/18735)

<div class="topic-metadata">

**Author:** [@hvjunk](https://forum.ansible.com/u/hvjunk)\
**Replies:** 1\
**Last updated:** [July 19, 2015, 2:54am UTC](https://forum.ansible.com/t/changing-default-for-update-password/18735 "2015-07-19T02:54:37Z")

</div>

Goodday, Googling just gives me the page on the User module, but my need is to set the update\_password=on\_create as the default for users, as they change their passwords, but we keep the users.yml to help update keys et…

---

## [strange creating directory with delegate\_to](https://forum.ansible.com/t/strange-creating-directory-with-delegate-to/18795)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 3\
**Last updated:** [July 18, 2015, 2:59am UTC](https://forum.ansible.com/t/strange-creating-directory-with-delegate-to/18795 "2015-07-18T02:59:37Z")

</div>

when running \` debug: var=groups.control name: Create facts.d directory on ops-control file: state: directory path: /etc/ansible/facts.d sudo: yes delegate\_to: “{{groups.control}}” \` i get \` TASK: \[debu…

---

## [strange jinja logic](https://forum.ansible.com/t/strange-jinja-logic/18791)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 2\
**Last updated:** [July 18, 2015, 2:58am UTC](https://forum.ansible.com/t/strange-jinja-logic/18791 "2015-07-18T02:58:08Z")

</div>

I have: \` debug: var=\_consul\_install\_agent debug: var=consul\_use\_dnsmasq debug: msg=“{{\_consul\_install\_agent and consul\_use\_dnsmasq}}” \` The two variables are true and false respectively, but the expression evaluate…

---

## [to\_json uses single quotes](https://forum.ansible.com/t/to-json-uses-single-quotes/18793)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 3\
**Last updated:** [July 18, 2015, 2:55am UTC](https://forum.ansible.com/t/to-json-uses-single-quotes/18793 "2015-07-18T02:55:01Z")

</div>

I’ve seen one other post on this from 2014, but it did not really have solution. Whenever I use to\_json the resulting json uses single quotes. Then when I later try to use from\_json it does not parse. Is anybody else …

---

## [ec2\_vpc route\_tables tags not created](https://forum.ansible.com/t/ec2-vpc-route-tables-tags-not-created/18779)

<div class="topic-metadata">

**Author:** [@Erik\_Steffl](https://forum.ansible.com/u/Erik_Steffl)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 9:25pm UTC](https://forum.ansible.com/t/ec2-vpc-route-tables-tags-not-created/18779 "2015-07-17T21:25:10Z")

</div>

Creating VPC using ec2\_vpc module. Have a public net so adding a routing table: “route\_tables”: \[ { “subnets”: \[“10.0.0.0/24”\], “routes”: \[ { “dest”: “0.0.0.0/0”, “gw”: “igw” } \], “resource\_tags”: { “Name”: “way\_out…

---

## [Kerberos Unknown credential cache type](https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799)

<div class="topic-metadata">

**Author:** [@Guillaume\_Querso](https://forum.ansible.com/u/Guillaume_Querso)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 5:33pm UTC](https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799 "2015-07-17T17:33:28Z")

</div>

hi, apparently, we need to use python 2.7.6 (the newest) for kerberos to work, otherwise ansible doesn’t try kerberos properly (you should have transport=kerberos in the verbose). my problem is the following: i try to…

---

## [how to set up kerberos](https://forum.ansible.com/t/how-to-set-up-kerberos/18783)

<div class="topic-metadata">

**Author:** [@Guillaume\_Querso](https://forum.ansible.com/u/Guillaume_Querso)\
**Replies:** 4\
**Last updated:** [July 17, 2015, 5:25pm UTC](https://forum.ansible.com/t/how-to-set-up-kerberos/18783 "2015-07-17T17:25:44Z")

</div>

hi all! I am currently using ansible 1.9.2 on a RHEL 6 server. what I would like is to connect to a windows 2008 R2 server via kerberos to be able to use domain accounts. What i did: creating a ticket on the linux se…

---

## [set\_fact strange behavior](https://forum.ansible.com/t/set-fact-strange-behavior/18800)

<div class="topic-metadata">

**Author:** [@Alexander\_Popov1](https://forum.ansible.com/u/Alexander_Popov1)\
**Replies:** 0\
**Last updated:** [July 17, 2015, 4:57pm UTC](https://forum.ansible.com/t/set-fact-strange-behavior/18800 "2015-07-17T16:57:38Z")

</div>

name: crate vpc. ec2\_vpc: … register: vpc debug: var=vpc.vpc\_id name: select public vpc set\_fact: vpc\_id: “{{vpc.vpc\_id}}” debug: var=vpc\_id TASK \[setup : setup : crate vpc\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Using set\_fact along with do until group](https://forum.ansible.com/t/using-set-fact-along-with-do-until-group/18797)

<div class="topic-metadata">

**Author:** [@Naween\_Ghimire](https://forum.ansible.com/u/Naween_Ghimire)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 3:54pm UTC](https://forum.ansible.com/t/using-set-fact-along-with-do-until-group/18797 "2015-07-17T15:54:10Z")

</div>

Hi I have a usecase where i have a string “dumb”. During the execution of play i create a new string by using a random filter and this string should be any of \[‘duma’,‘dumc’,‘dumd’\] but not “dumb”. So i tried to use do u…

---

## [assemble delimiter does not resolve attributes](https://forum.ansible.com/t/assemble-delimiter-does-not-resolve-attributes/18422)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 5\
**Last updated:** [July 17, 2015, 3:32pm UTC](https://forum.ansible.com/t/assemble-delimiter-does-not-resolve-attributes/18422 "2015-07-17T15:32:46Z")

</div>

I am using assemble like so: \` name: Assemble the final kibana.yml assemble: src: “{{kibana\_confd\_dir}}” dest: “{{kibana\_config\_dir}}/kibana.yml” delimiter: “# {{ansible\_managed}}” owner: “{{kibana\_user}}” group…

---

## [ansible wont use csh even if it set in inverntory](https://forum.ansible.com/t/ansible-wont-use-csh-even-if-it-set-in-inverntory/18798)

<div class="topic-metadata">

**Author:** [@Michael\_Veselovski](https://forum.ansible.com/u/Michael_Veselovski)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 1:01pm UTC](https://forum.ansible.com/t/ansible-wont-use-csh-even-if-it-set-in-inverntory/18798 "2015-07-17T13:01:10Z")

</div>

Hello I’m having problem with using ansible with my freebsd 10.1 hosts there is example of my play freebsd.local ansible\_ssh\_host=192.168.2.110 ansible\_ssh\_pass=‘XXXXXXXXX’ ansible\_shell\_type=csh ansible\_python\_interp…

---

## [v2 hacking broken?](https://forum.ansible.com/t/v2-hacking-broken/18788)

<div class="topic-metadata">

**Author:** [@rick.mendes4](https://forum.ansible.com/u/rick.mendes4)\
**Replies:** 3\
**Last updated:** [July 17, 2015, 11:29am UTC](https://forum.ansible.com/t/v2-hacking-broken/18788 "2015-07-17T11:29:50Z")

</div>

I grabbed the latest sources today from the ansible repository so I could test a module. After the module tested out fine with v1, I tried testing it with v2. I ran into problems with the test-module script. I’ll use a …

---

## [LDAP modules](https://forum.ansible.com/t/ldap-modules/15898)

<div class="topic-metadata">

**Author:** [@Peter\_Sagerson](https://forum.ansible.com/u/Peter_Sagerson)\
**Replies:** 2\
**Last updated:** [July 17, 2015, 10:45am UTC](https://forum.ansible.com/t/ldap-modules/15898 "2015-07-17T10:45:24Z")

</div>

Hello, I’m working on an Ansible project that requires bootstrapping an LDAP directory. In my case, the goal is to set up an LDAP service in the same way one would set up MySQL or any other data store. Since Ansible doe…

---

## [Ansible: extrating IP address from CIDR(192.168.21.x/24)](https://forum.ansible.com/t/ansible-extrating-ip-address-from-cidr-192-168-21-x-24/18790)

<div class="topic-metadata">

**Author:** [@Victor1](https://forum.ansible.com/u/Victor1)\
**Replies:** 1\
**Last updated:** [July 17, 2015, 6:16am UTC](https://forum.ansible.com/t/ansible-extrating-ip-address-from-cidr-192-168-21-x-24/18790 "2015-07-17T06:16:09Z")

</div>

I have a variable name something like this defined in json format. “zxc\_address” : “192.168.21.x/24” and i need to extract the IP address part(192.168.21.x) using ansible(yaml code) what is the simple solution for that…

---

## [ERROR: Invalid ini entry](https://forum.ansible.com/t/error-invalid-ini-entry/18792)

<div class="topic-metadata">

**Author:** [@user93](https://forum.ansible.com/u/user93)\
**Replies:** 0\
**Last updated:** [July 17, 2015, 5:44am UTC](https://forum.ansible.com/t/error-invalid-ini-entry/18792 "2015-07-17T05:44:02Z")

</div>

I first time configurating ansible. I use ansible-playbook 1.7.2, ubuntu 14.10 (last version in my ubuntu). I am configured playbook and task, created inventory file. I started ansible follow command ansible-playbook -…

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

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