# Latest

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

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

**Page:** 854

---

## [Automated Install of Ansible for Vagrant for Windows](https://forum.ansible.com/t/automated-install-of-ansible-for-vagrant-for-windows/18723)

<div class="topic-metadata">

**Author:** [@Nicholas\_Irving](https://forum.ansible.com/u/Nicholas_Irving)\
**Replies:** 0\
**Last updated:** [July 9, 2015, 10:37pm UTC](https://forum.ansible.com/t/automated-install-of-ansible-for-vagrant-for-windows/18723 "2015-07-09T22:37:40Z")

</div>

Morning I have created a Windows PowerShell script @ https://github.com/darkedges/WinVagInsAns It installs Babun (cygwin), Virtual Box, Vagrant and Ansible, and configures them to work with all the necessary patches to…

---

## [URI Module fails POST but CURL succeds as shell](https://forum.ansible.com/t/uri-module-fails-post-but-curl-succeds-as-shell/18683)

<div class="topic-metadata">

**Author:** [@sveera](https://forum.ansible.com/u/sveera)\
**Replies:** 9\
**Last updated:** [July 9, 2015, 10:15pm UTC](https://forum.ansible.com/t/uri-module-fails-post-but-curl-succeds-as-shell/18683 "2015-07-09T22:15:15Z")

</div>

I am getting a connection refused socket error :111 when using get\_uri module for POST of a zip file to a url . If i use curl command on shell the task runs without error. How can i fix this issue?

---

## [Nested Loop Registed Variable](https://forum.ansible.com/t/nested-loop-registed-variable/18713)

<div class="topic-metadata">

**Author:** [@Abhishek\_R](https://forum.ansible.com/u/Abhishek_R)\
**Replies:** 1\
**Last updated:** [July 9, 2015, 9:06pm UTC](https://forum.ansible.com/t/nested-loop-registed-variable/18713 "2015-07-09T21:06:10Z")

</div>

Hi folks, Need some help related to registered variables. The first task in my playbook performs some operations over a nested loop and I’m registering a variable for its results. The variable looks like this - “n\_ini…

---

## [Executing Ansible from Java](https://forum.ansible.com/t/executing-ansible-from-java/18710)

<div class="topic-metadata">

**Author:** [@john](https://forum.ansible.com/u/john)\
**Replies:** 1\
**Last updated:** [July 9, 2015, 7:23pm UTC](https://forum.ansible.com/t/executing-ansible-from-java/18710 "2015-07-09T19:23:17Z")

</div>

Executing Ansible Command from Java without defining absolute path or etc… Open Source Project Ansible execution from Java without installing it…like Jar, or Spring Framework… How to execute Ansible commands (i.e. host…

---

## [Log the actual playbook contents?](https://forum.ansible.com/t/log-the-actual-playbook-contents/18127)

<div class="topic-metadata">

**Author:** [@Mark\_Felder](https://forum.ansible.com/u/Mark_Felder)\
**Replies:** 4\
**Last updated:** [July 9, 2015, 6:21pm UTC](https://forum.ansible.com/t/log-the-actual-playbook-contents/18127 "2015-07-09T18:21:33Z")

</div>

Hello, I'm working with ansible in some environments rather sensitive to security/auditing and we have some significant controls designed around playbooks working their way up to QA/Prod environments, but our test en…

---

## [Beware: yum module in 1.9.2 batches package installs](https://forum.ansible.com/t/beware-yum-module-in-1-9-2-batches-package-installs/18715)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev](https://forum.ansible.com/u/Anand_Buddhdev)\
**Replies:** 1\
**Last updated:** [July 9, 2015, 4:49pm UTC](https://forum.ansible.com/t/beware-yum-module-in-1-9-2-batches-package-installs/18715 "2015-07-09T16:49:09Z")

</div>

Hi Ansible users, I updated from 1.9.1 to 1.9.2 and was bitten by a fundamental change in the yum module. Previously, if you had a task like this: yum: name={{ item }} with\_items: epel-release exim python-virtualenv …

---

## [mysql module not found on mac by Ansible](https://forum.ansible.com/t/mysql-module-not-found-on-mac-by-ansible/18717)

<div class="topic-metadata">

**Author:** [@John\_Scancella](https://forum.ansible.com/u/John_Scancella)\
**Replies:** 0\
**Last updated:** [July 9, 2015, 4:04pm UTC](https://forum.ansible.com/t/mysql-module-not-found-on-mac-by-ansible/18717 "2015-07-09T16:04:02Z")

</div>

Hello, Sorry if this has already been answered, but after much googling I couldn’t find the answer. I am trying to create a database in mysql using Ansible. I see from the documentation that Ansible needs to have the My…

---

## [Variable list depending on groups](https://forum.ansible.com/t/variable-list-depending-on-groups/18716)

<div class="topic-metadata">

**Author:** [@paul.lautman](https://forum.ansible.com/u/paul.lautman)\
**Replies:** 0\
**Last updated:** [July 9, 2015, 1:13pm UTC](https://forum.ansible.com/t/variable-list-depending-on-groups/18716 "2015-07-09T13:13:34Z")

</div>

I am using the zabbix\_hosts module. Depending on the groups that a particular host is in, I need to link to various Zabbix templates. So: if a server is in dbservers I need to link it to “Template App MySQL” if a ser…

---

## [ansible ignores facts caching to redis](https://forum.ansible.com/t/ansible-ignores-facts-caching-to-redis/18714)

<div class="topic-metadata">

**Author:** [@user66](https://forum.ansible.com/u/user66)\
**Replies:** 0\
**Last updated:** [July 9, 2015, 10:45am UTC](https://forum.ansible.com/t/ansible-ignores-facts-caching-to-redis/18714 "2015-07-09T10:45:33Z")

</div>

OS: fedora 21 ansible-1.9.1-2.fc21.noarch $ export ANSIBLE\_CFG=./ansible.cfg.testing $ cat $ANSIBLE\_CFG \[defaults\] gathering = smart fact\_caching = redis fact\_caching\_timeout = 86400 fact\_caching\_connection = 127…

---

## [lookup csvfile with\_items issue](https://forum.ansible.com/t/lookup-csvfile-with-items-issue/18705)

<div class="topic-metadata">

**Author:** [@Bart\_Pit](https://forum.ansible.com/u/Bart_Pit)\
**Replies:** 4\
**Last updated:** [July 8, 2015, 7:02pm UTC](https://forum.ansible.com/t/lookup-csvfile-with-items-issue/18705 "2015-07-08T19:02:46Z")

</div>

Hi! I’m struggling to get ‘lookup’ with ‘csvfile’ in combination with ‘with\_items’ to work. I have this csv file (shortened snippet): "col1","col2" 1,"Mike" 2,"Sally" Than I also have this var: \` test\_ids: 1 2 \` …

---

## [:children group syntax](https://forum.ansible.com/t/children-group-syntax/18711)

<div class="topic-metadata">

**Author:** [@Dan\_Mick](https://forum.ansible.com/u/Dan_Mick)\
**Replies:** 6\
**Last updated:** [July 8, 2015, 6:41pm UTC](https://forum.ansible.com/t/children-group-syntax/18711 "2015-07-08T18:41:08Z")

</div>

Why does :children exist? Why couldn’t it be the case that groups of groups just recurse on their components, expanding as they go?

---

## [GCE dynamic inventory error on OSX 10 , ansible 1.62](https://forum.ansible.com/t/gce-dynamic-inventory-error-on-osx-10-ansible-1-62/17738)

<div class="topic-metadata">

**Author:** [@harsh001](https://forum.ansible.com/u/harsh001)\
**Replies:** 4\
**Last updated:** [July 8, 2015, 8:10am UTC](https://forum.ansible.com/t/gce-dynamic-inventory-error-on-osx-10-ansible-1-62/17738 "2015-07-08T08:10:47Z")

</div>

Having an issue when using the dynamic inventory gce.py script with a bastion box . ssh config proxying all connections through the bastion: ansible.cf looks like this : \[defaults\] host\_key\_checking=False forks=11 as…

---

## [Unarchive module verbosity](https://forum.ansible.com/t/unarchive-module-verbosity/17974)

<div class="topic-metadata">

**Author:** [@user87](https://forum.ansible.com/u/user87)\
**Replies:** 7\
**Last updated:** [July 8, 2015, 7:30am UTC](https://forum.ansible.com/t/unarchive-module-verbosity/17974 "2015-07-08T07:30:34Z")

</div>

Hello everyone! I’ve got a problem with “unarchive” core module. With the latest version 1.9 the behavior of the module changed. In ansible version 1.7.2 all gzip and tar archives were extracted with tar (or gtar) com…

---

## [How to use cached facts inside ansible module and caching custom facts](https://forum.ansible.com/t/how-to-use-cached-facts-inside-ansible-module-and-caching-custom-facts/18709)

<div class="topic-metadata">

**Author:** [@Yasir\_Saleem](https://forum.ansible.com/u/Yasir_Saleem)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 11:39pm UTC](https://forum.ansible.com/t/how-to-use-cached-facts-inside-ansible-module-and-caching-custom-facts/18709 "2015-07-07T23:39:58Z")

</div>

Hi, I am writing module that validates host facts(large number of them) with inventory database for audit and monitoring purposes. I have couple of questions in this regard: Is there a way to cache custom facts? Is th…

---

## [jinja2 support for cloudformation module](https://forum.ansible.com/t/jinja2-support-for-cloudformation-module/17397)

<div class="topic-metadata">

**Author:** [@kuLa](https://forum.ansible.com/u/kuLa)\
**Replies:** 2\
**Last updated:** [July 7, 2015, 10:29pm UTC](https://forum.ansible.com/t/jinja2-support-for-cloudformation-module/17397 "2015-07-07T22:29:17Z")

</div>

Hi all, I’ve been doing deep integration for pure cloudformation stack with ansible and thought that it’ll be nice to have jinja support for it. Am I the first one which see benefits in having ex for loops in security …

---

## [Create Dynamic Array Based on OS?](https://forum.ansible.com/t/create-dynamic-array-based-on-os/18704)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 2\
**Last updated:** [July 7, 2015, 9:07pm UTC](https://forum.ansible.com/t/create-dynamic-array-based-on-os/18704 "2015-07-07T21:07:28Z")

</div>

Hello. I am new to Ansible. Is there a way to create a dynamic array called packages. I currently have the following blow, but I would like to just have it called packages, depending on debian or redhat, and if another …

---

## [Can modules use Pipe ?](https://forum.ansible.com/t/can-modules-use-pipe/18707)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 3\
**Last updated:** [July 7, 2015, 8:09pm UTC](https://forum.ansible.com/t/can-modules-use-pipe/18707 "2015-07-07T20:09:16Z")

</div>

Hi , I am developing a Ansible based product and so far so good. One of the problems that ansible might not be solving(i might be wrong) is piping the output from 1 module to the other module Example I have several p…

---

## [Running from Source - callbacks error](https://forum.ansible.com/t/running-from-source-callbacks-error/18692)

<div class="topic-metadata">

**Author:** [@Ethan\_Merrill](https://forum.ansible.com/u/Ethan_Merrill)\
**Replies:** 7\
**Last updated:** [July 7, 2015, 7:49pm UTC](https://forum.ansible.com/t/running-from-source-callbacks-error/18692 "2015-07-07T19:49:46Z")

</div>

Hi… I just setup a new ubuntu system to run from source using the “sudo make install” command. When I try to run scripts that use “from ansible import callbacks” Python gives an error that callbacks doesn’t exist. If I …

---

## [Dynamic Package Installs?](https://forum.ansible.com/t/dynamic-package-installs/18706)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 6:26pm UTC](https://forum.ansible.com/t/dynamic-package-installs/18706 "2015-07-07T18:26:17Z")

</div>

Currently I have the following. tasks: name: install the Debian packages apt: name={{ item }} state=latest with\_items: “{{ packages }}” when: ansible\_os\_family == “Debian” name: install the RedHat packages yum…

---

## [Ansible Community Meeting](https://forum.ansible.com/t/ansible-community-meeting/18703)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 0\
**Last updated:** [July 7, 2015, 5:01pm UTC](https://forum.ansible.com/t/ansible-community-meeting/18703 "2015-07-07T17:01:28Z")

</div>

This week's Ansible Community Meeting taking place on google hangouts: https://plus.google.com/hangouts/\_/e5clury3sjkdpcfbxz3yckyctub Come on out for up to two hours where you can have committers' attention to review,…

---

## [Best practise for DTAP](https://forum.ansible.com/t/best-practise-for-dtap/18697)

<div class="topic-metadata">

**Author:** [@Marcel\_van\_den\_Brink](https://forum.ansible.com/u/Marcel_van_den_Brink)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 4:02pm UTC](https://forum.ansible.com/t/best-practise-for-dtap/18697 "2015-07-07T16:02:52Z")

</div>

Hi, I was wondering if someone has some best practises regarding a workflow using Git in a DTAP environment. It is usually the case, that you use a more experimental version of your scripts on development and test. A m…

---

## [ec2\_group removed egress rules for internal IPs](https://forum.ansible.com/t/ec2-group-removed-egress-rules-for-internal-ips/18702)

<div class="topic-metadata">

**Author:** [@Gregory\_Spranger](https://forum.ansible.com/u/Gregory_Spranger)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 3:32pm UTC](https://forum.ansible.com/t/ec2-group-removed-egress-rules-for-internal-ips/18702 "2015-07-07T15:32:43Z")

</div>

hi there, so we had something odd happen to us and i figured i would reach out to the community for help … so the background: ansible 1.9.1 we have a YML data set that contains “normal” info for SGs like ingress and e…

---

## [Filter plugins](https://forum.ansible.com/t/filter-plugins/18698)

<div class="topic-metadata">

**Author:** [@Valentin\_Fadeev](https://forum.ansible.com/u/Valentin_Fadeev)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 3:16pm UTC](https://forum.ansible.com/t/filter-plugins/18698 "2015-07-07T15:16:44Z")

</div>

Recently I had to write templates containing somewhat long filter pipelines. Part of the logic involved lookuping current output of the pipeline in a dictionary (hostvars) and then extracting the value of a field of the …

---

## [Odd "Authentication or permission failure" error with initial Ansible play](https://forum.ansible.com/t/odd-authentication-or-permission-failure-error-with-initial-ansible-play/13721)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 12\
**Last updated:** [July 7, 2015, 1:41pm UTC](https://forum.ansible.com/t/odd-authentication-or-permission-failure-error-with-initial-ansible-play/13721 "2015-07-07T13:41:30Z")

</div>

I’m still new to Ansible, but over the past couple days I’ve been trying to use it to setup a couple new vm’s. I start by cloning a vmware VM that has a basic sudo user, and configuring it’s networking/dns/firewall. Once…

---

## [Check if Vagrant Server](https://forum.ansible.com/t/check-if-vagrant-server/18689)

<div class="topic-metadata">

**Author:** [@Phill\_Pafford](https://forum.ansible.com/u/Phill_Pafford)\
**Replies:** 3\
**Last updated:** [July 7, 2015, 12:45pm UTC](https://forum.ansible.com/t/check-if-vagrant-server/18689 "2015-07-07T12:45:44Z")

</div>

Is there something I can check to see if the playbook is being executed on a vagrant server? Example: If vagrant run this additional role or If vagrant skip this role Thoughts on how I can do this?

---

## [Issues with Ansible Docker module](https://forum.ansible.com/t/issues-with-ansible-docker-module/18700)

<div class="topic-metadata">

**Author:** [@Anthony\_Green](https://forum.ansible.com/u/Anthony_Green)\
**Replies:** 0\
**Last updated:** [July 7, 2015, 12:34pm UTC](https://forum.ansible.com/t/issues-with-ansible-docker-module/18700 "2015-07-07T12:34:43Z")

</div>

These tasks name: Create Jenkins data directory on host file: “path=/home/{{ansible\_ssh\_user}}/.jenkins state=directory mode=0777” name: Jenkins data directory shell: “docker create -v {{ansible\_env.HOME}}/.jenki…

---

## [Dynamic NIC list using cobbler profile](https://forum.ansible.com/t/dynamic-nic-list-using-cobbler-profile/18699)

<div class="topic-metadata">

**Author:** [@Rakesh\_Dobariya](https://forum.ansible.com/u/Rakesh_Dobariya)\
**Replies:** 0\
**Last updated:** [July 7, 2015, 12:32pm UTC](https://forum.ansible.com/t/dynamic-nic-list-using-cobbler-profile/18699 "2015-07-07T12:32:58Z")

</div>

Hi, I wish if someonce can help me with my issue… I am creating VM, but passing cobbler inventory using cobbler.py as below ansible-playbook -i /etc/ansible/cobbler.py /etc/ansible/vm.yml --e {“hostname” : “esxi.serve…

---

## [why is this task hanging? (shell module)](https://forum.ansible.com/t/why-is-this-task-hanging-shell-module/18681)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 2\
**Last updated:** [July 7, 2015, 3:12am UTC](https://forum.ansible.com/t/why-is-this-task-hanging-shell-module/18681 "2015-07-07T03:12:00Z")

</div>

Hi all, Wrote a task as follows: name: Bootstrap Consul servers shell: /usr/local/bin/consul agent -server -bootstrap-expect 3 -data-dir /tmp/consul -dc nyc3 -bind {{ ansible\_default\_ipv4.address }} \>\> {{ consul\_log\_…

---

## [Unable to set up NFS on EC2 instances launched using Ansible](https://forum.ansible.com/t/unable-to-set-up-nfs-on-ec2-instances-launched-using-ansible/18695)

<div class="topic-metadata">

**Author:** [@Luke\_Valenta](https://forum.ansible.com/u/Luke_Valenta)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 12:23am UTC](https://forum.ansible.com/t/unable-to-set-up-nfs-on-ec2-instances-launched-using-ansible/18695 "2015-07-07T00:23:24Z")

</div>

Hi, I am unable to get NFS configured correctly on EC2 instances launched via the ‘ec2’ module in Ansible. When I launch instances using the exact same AMI from the AWS EC2 console, NFS works without a hitch. First I’l…

---

## [regex with lineinfile module giving error](https://forum.ansible.com/t/regex-with-lineinfile-module-giving-error/18694)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 2\
**Last updated:** [July 6, 2015, 8:59pm UTC](https://forum.ansible.com/t/regex-with-lineinfile-module-giving-error/18694 "2015-07-06T20:59:46Z")

</div>

I have version 1.8.2 of ansible, but it’s giving me this error when I try to use regex with lineinfile: \*\*msg: unsupported parameter for module: regex\*\* Here's what I'm trying to run: - name: Set ASSET\_VERSION to …

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

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