# Latest

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

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

**Page:** 811

---

## [Ansible 2.0 release plans](https://forum.ansible.com/t/ansible-2-0-release-plans/19999)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [December 14, 2015, 5:52am UTC](https://forum.ansible.com/t/ansible-2-0-release-plans/19999 "2015-12-14T05:52:14Z")

</div>

Hi all, Based on some ongoing work in the stable-2.0 branch, we’ve decided there will be an RC3 release, which we plan on releasing early this week. The downside to this is the fact that we’re cutting things very close…

---

## [Regression of #9966?](https://forum.ansible.com/t/regression-of-9966/19979)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 5\
**Last updated:** [December 14, 2015, 2:50am UTC](https://forum.ansible.com/t/regression-of-9966/19979 "2015-12-14T02:50:11Z")

</div>

Getting what looks like a regression of https://github.com/ansible/ansible/issues/9966. Since the issue is closed posting what is there here. $ ansible --version ansible 2.1.0 (devel 30e729557f) last updated 2015/12/09…

---

## [Ansible 2.0 RC2 is available for testing!](https://forum.ansible.com/t/ansible-2-0-rc2-is-available-for-testing/19952)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 10\
**Last updated:** [December 13, 2015, 8:45pm UTC](https://forum.ansible.com/t/ansible-2-0-rc2-is-available-for-testing/19952 "2015-12-13T20:45:30Z")

</div>

Hi all, we’re happy to announce the second release candidate for Ansible 2.0! This release candidate includes a few bug fixes and cleanups since rc1 was released, and if we don’t have anything major show up in the next …

---

## [dictionary subset based on inventory?](https://forum.ansible.com/t/dictionary-subset-based-on-inventory/19996)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 1\
**Last updated:** [December 13, 2015, 8:08pm UTC](https://forum.ansible.com/t/dictionary-subset-based-on-inventory/19996 "2015-12-13T20:08:20Z")

</div>

have a little lxc playbook making reverse proxies from one container to the others. it reads from a dictionary of container definitions, and i only want it to proxy the containers acting as web servers, which are in the …

---

## [Python API documentation](https://forum.ansible.com/t/python-api-documentation/13792)

<div class="topic-metadata">

**Author:** [@knowshan](https://forum.ansible.com/u/knowshan)\
**Replies:** 3\
**Last updated:** [December 13, 2015, 2:20pm UTC](https://forum.ansible.com/t/python-api-documentation/13792 "2015-12-13T14:20:16Z")

</div>

I would like to provision an ec2 instance using Ansible’s Python API. I was wondering how local\_action can be used in the API. I couldn’t find any Python API documentation link on the Ansible site. Any link to the API do…

---

## [Replace range with enumerate](https://forum.ansible.com/t/replace-range-with-enumerate/19997)

<div class="topic-metadata">

**Author:** [@Usman\_Ehtesham](https://forum.ansible.com/u/Usman_Ehtesham)\
**Replies:** 1\
**Last updated:** [December 13, 2015, 1:58pm UTC](https://forum.ansible.com/t/replace-range-with-enumerate/19997 "2015-12-13T13:58:22Z")

</div>

In the link https://github.com/ansible/ansible/blob/devel/lib/ansible/cli/\_\_init\_\_.py#L84, for i in range(0, len(self.arg)): is bit redundant, when you can just do range(len(self.arg)) But its better (and more Pythoni…

---

## [variables messed up when using including tasks](https://forum.ansible.com/t/variables-messed-up-when-using-including-tasks/19965)

<div class="topic-metadata">

**Author:** [@silverdr](https://forum.ansible.com/u/silverdr)\
**Replies:** 13\
**Last updated:** [December 13, 2015, 12:03pm UTC](https://forum.ansible.com/t/variables-messed-up-when-using-including-tasks/19965 "2015-12-13T12:03:15Z")

</div>

Hello, group, I encountered a strange problem with variables when running a role. The role has some defaults and the variables are used throughout the plays. At some point in the tasks/mains playbook, there are included …

---

## [Install IIS sub\_features via win\_feature module (but not ALL sub features)](https://forum.ansible.com/t/install-iis-sub-features-via-win-feature-module-but-not-all-sub-features/19995)

<div class="topic-metadata">

**Author:** [@jiri.fusek](https://forum.ansible.com/u/jiri.fusek)\
**Replies:** 1\
**Last updated:** [December 12, 2015, 6:34pm UTC](https://forum.ansible.com/t/install-iis-sub-features-via-win-feature-module-but-not-all-sub-features/19995 "2015-12-12T18:34:39Z")

</div>

Hello, I have question if there is possibility via Ansible to install only particular IIS Web Server sub feature - not ALL sub features like now with property setup “include\_sub\_features: yes”. (I’m using Windows Server…

---

## [Playbook templating done before loading group\_vars contents?](https://forum.ansible.com/t/playbook-templating-done-before-loading-group-vars-contents/19994)

<div class="topic-metadata">

**Author:** [@Alexandr\_Kurilin](https://forum.ansible.com/u/Alexandr_Kurilin)\
**Replies:** 2\
**Last updated:** [December 11, 2015, 11:02pm UTC](https://forum.ansible.com/t/playbook-templating-done-before-loading-group-vars-contents/19994 "2015-12-11T23:02:07Z")

</div>

Hey folks, Ansible 1.9.2 here. I’ve been recently working on moving us over from static inventories to using the ec2 script. One constraint I have is that I separate different environments within the same AWS account by…

---

## [Raw module and interactive commands](https://forum.ansible.com/t/raw-module-and-interactive-commands/19913)

<div class="topic-metadata">

**Author:** [@theyuseus](https://forum.ansible.com/u/theyuseus)\
**Replies:** 11\
**Last updated:** [December 11, 2015, 10:14pm UTC](https://forum.ansible.com/t/raw-module-and-interactive-commands/19913 "2015-12-11T22:14:46Z")

</div>

Is it possible to use the raw module to interactively enter text? For example, I’m trying to manage a switch and one of the commands ask a yes/no question. Is it possible to enter a “y” right after invoking the command? …

---

## [How to make an item in with\_items conditional?](https://forum.ansible.com/t/how-to-make-an-item-in-with-items-conditional/19992)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 8\
**Last updated:** [December 11, 2015, 9:34pm UTC](https://forum.ansible.com/t/how-to-make-an-item-in-with-items-conditional/19992 "2015-12-11T21:34:29Z")

</div>

Take this playbook: hosts: mt1-dummys101 tasks: name: Install apt packages sudo: true apt: pkg={{ item }} with\_items: build-essential libyaml-dev python2.7-dev “{{ ‘silversearcher-ag’ if ansible\_distribution\_major\_…

---

## [Ansible getting host from multiple groups in role](https://forum.ansible.com/t/ansible-getting-host-from-multiple-groups-in-role/19986)

<div class="topic-metadata">

**Author:** [@Yoshi\_Spendiff1](https://forum.ansible.com/u/Yoshi_Spendiff1)\
**Replies:** 1\
**Last updated:** [December 11, 2015, 9:11pm UTC](https://forum.ansible.com/t/ansible-getting-host-from-multiple-groups-in-role/19986 "2015-12-11T21:11:07Z")

</div>

Hi, I’m working on creating some provisioning code to create and delete stacks in EC2. So far I have four pieces of code which I’m working on An ansible role which creates infrastructure like a VPC and security groups …

---

## [Management of multiple exclusive authorized\_keys entries, for multiple users](https://forum.ansible.com/t/management-of-multiple-exclusive-authorized-keys-entries-for-multiple-users/19990)

<div class="topic-metadata">

**Author:** [@cmacrae](https://forum.ansible.com/u/cmacrae)\
**Replies:** 2\
**Last updated:** [December 11, 2015, 7:06pm UTC](https://forum.ansible.com/t/management-of-multiple-exclusive-authorized-keys-entries-for-multiple-users/19990 "2015-12-11T19:06:40Z")

</div>

Hi everyone. I’ve been mulling something over in my head, I’ve got something I want to tackle, but I’m not sure how to go about doing so. Here’s the scenario: I want to put together a tiny role that manages user’s auth…

---

## [Variables and serial: keyword](https://forum.ansible.com/t/variables-and-serial-keyword/19993)

<div class="topic-metadata">

**Author:** [@Eugene\_Zhulkov](https://forum.ansible.com/u/Eugene_Zhulkov)\
**Replies:** 1\
**Last updated:** [December 11, 2015, 5:57pm UTC](https://forum.ansible.com/t/variables-and-serial-keyword/19993 "2015-12-11T17:57:46Z")

</div>

I’ve been struggling with passing variable to serial for the whole day. All I need is to pass group’s length, I’ve tried serial: "{{ groups\['appserver'\]|length }}" and got a runtime error. Finally I come up with this…

---

## [Ansible 2 - latest beta - a variable gets the value of another](https://forum.ansible.com/t/ansible-2-latest-beta-a-variable-gets-the-value-of-another/19975)

<div class="topic-metadata">

**Author:** [@alvlin.uy](https://forum.ansible.com/u/alvlin.uy)\
**Replies:** 4\
**Last updated:** [December 11, 2015, 4:50pm UTC](https://forum.ansible.com/t/ansible-2-latest-beta-a-variable-gets-the-value-of-another/19975 "2015-12-11T16:50:08Z")

</div>

Hi, I am having a variable replaced with the contents of another (which has a completely different name). This is the relevant part of my task file, which installs a new version of the application I’m supporting. This p…

---

## [kerb host princ maintenance](https://forum.ansible.com/t/kerb-host-princ-maintenance/19991)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 0\
**Last updated:** [December 11, 2015, 4:27pm UTC](https://forum.ansible.com/t/kerb-host-princ-maintenance/19991 "2015-12-11T16:27:35Z")

</div>

Does anyone know of an existing module that allows me to manage krb5 princs and keytabs that also supports --check-mode? I found one that essentially runs a bash script to add princs, but it doesn’t check first to see i…

---

## [Handy playbook for running given role](https://forum.ansible.com/t/handy-playbook-for-running-given-role/19989)

<div class="topic-metadata">

**Author:** [@Paul\_Totterman](https://forum.ansible.com/u/Paul_Totterman)\
**Replies:** 0\
**Last updated:** [December 11, 2015, 1:06pm UTC](https://forum.ansible.com/t/handy-playbook-for-running-given-role/19989 "2015-12-11T13:06:27Z")

</div>

Hi, This may come in handy at some point: \` vim: set ft=yaml: usage: ansible-playbook -e role=somerole role.yml

---

## [suggestion to make weblogic deployment and configuration as core module for ansible](https://forum.ansible.com/t/suggestion-to-make-weblogic-deployment-and-configuration-as-core-module-for-ansible/19972)

<div class="topic-metadata">

**Author:** [@Anirban\_Roy](https://forum.ansible.com/u/Anirban_Roy)\
**Replies:** 3\
**Last updated:** [December 11, 2015, 8:01am UTC](https://forum.ansible.com/t/suggestion-to-make-weblogic-deployment-and-configuration-as-core-module-for-ansible/19972 "2015-12-11T08:01:32Z")

</div>

Hi I was wondering if there is any plan for adding weblogic deployment and configuration as a core module for ansible. We have a home made framework with perl , which has weblogic as its core module. As we plan to shi…

---

## [Git, unsupported parameter for module: refspec](https://forum.ansible.com/t/git-unsupported-parameter-for-module-refspec/19958)

<div class="topic-metadata">

**Author:** [@Paul\_Stivers](https://forum.ansible.com/u/Paul_Stivers)\
**Replies:** 2\
**Last updated:** [December 10, 2015, 9:02pm UTC](https://forum.ansible.com/t/git-unsupported-parameter-for-module-refspec/19958 "2015-12-10T21:02:35Z")

</div>

Hi all, I’m trying to use the Ansible Git module to deploy an application repository in Git using a Git tag. I’m thinking I need to use the refspec parameter to define the tag. The following task works without the refsp…

---

## [Reversing changes from ConfigureRemotingForAnsible.ps1 script](https://forum.ansible.com/t/reversing-changes-from-configureremotingforansible-ps1-script/19983)

<div class="topic-metadata">

**Author:** [@Andre\_Villegas](https://forum.ansible.com/u/Andre_Villegas)\
**Replies:** 0\
**Last updated:** [December 10, 2015, 7:22pm UTC](https://forum.ansible.com/t/reversing-changes-from-configureremotingforansible-ps1-script/19983 "2015-12-10T19:22:48Z")

</div>

For this script, ConfigureRemotingForAnsible.ps1, that automates the setup of WinRM on Windows remote nodes, can the changes be easily reversed to bring back to “factory” settings? Thank you!

---

## [Access ansible list in python script.](https://forum.ansible.com/t/access-ansible-list-in-python-script/19980)

<div class="topic-metadata">

**Author:** [@anoop.kolari](https://forum.ansible.com/u/anoop.kolari)\
**Replies:** 2\
**Last updated:** [December 10, 2015, 5:53pm UTC](https://forum.ansible.com/t/access-ansible-list-in-python-script/19980 "2015-12-10T17:53:55Z")

</div>

Hi, I’m calling a python script by passing an ansible list as an argument. command: “python /home/vagrant/setup/configs/update\_installed\_app.py \[‘django-allauth’, ‘test’\]” But when i print this list in my python scrip…

---

## [Rework of properties in zfs module](https://forum.ansible.com/t/rework-of-properties-in-zfs-module/19981)

<div class="topic-metadata">

**Author:** [@Johan\_Wiren](https://forum.ansible.com/u/Johan_Wiren)\
**Replies:** 0\
**Last updated:** [December 10, 2015, 5:15pm UTC](https://forum.ansible.com/t/rework-of-properties-in-zfs-module/19981 "2015-12-10T17:15:17Z")

</div>

When development of the zfs module started there was no possibility to set check\_invalid\_arguments=False in the argspec and i don’t think complex args were available either so ALL zfs properties ended up being an ansible…

---

## [pass variable to handler?](https://forum.ansible.com/t/pass-variable-to-handler/19978)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [December 10, 2015, 2:06am UTC](https://forum.ansible.com/t/pass-variable-to-handler/19978 "2015-12-10T02:06:27Z")

</div>

Using the lxc module, and want to do this. is there a way? \` name: skip dns lookup so ssh doesnt take forever lineinfile: line: UseDNS no dest: /var/lib/lxc/{{ item.key }}/rootfs/etc/ssh/sshd\_config with\_dict: “{{…

---

## [tmp file permissions issues with sudo user](https://forum.ansible.com/t/tmp-file-permissions-issues-with-sudo-user/19800)

<div class="topic-metadata">

**Author:** [@Arunagiri](https://forum.ansible.com/u/Arunagiri)\
**Replies:** 1\
**Last updated:** [December 9, 2015, 11:55pm UTC](https://forum.ansible.com/t/tmp-file-permissions-issues-with-sudo-user/19800 "2015-12-09T23:55:10Z")

</div>

Hi All, We are facing issues while starting tomcat with sudo user and uses Ansible tower to setup credentials, tasks and execute them. We have two users defined, user1 is ssh user to machine and user2 a sudo user. Thi…

---

## [help on my loop issue](https://forum.ansible.com/t/help-on-my-loop-issue/19977)

<div class="topic-metadata">

**Author:** [@Mgsz](https://forum.ansible.com/u/Mgsz)\
**Replies:** 0\
**Last updated:** [December 9, 2015, 11:12pm UTC](https://forum.ansible.com/t/help-on-my-loop-issue/19977 "2015-12-09T23:12:21Z")

</div>

pretty new to Ansible, here is my problem, could anyone help? Thanks!! within my playbook, I have following tasks: debug: msg=“{{ dev\_interfaces\[0\].name }}” name: debug message interface name debug: var=item with\_i…

---

## [trying dynamic inventory (ec2.py) and getting boto BadStatusLine error?](https://forum.ansible.com/t/trying-dynamic-inventory-ec2-py-and-getting-boto-badstatusline-error/19976)

<div class="topic-metadata">

**Author:** [@Derek\_Lai](https://forum.ansible.com/u/Derek_Lai)\
**Replies:** 0\
**Last updated:** [December 9, 2015, 9:35pm UTC](https://forum.ansible.com/t/trying-dynamic-inventory-ec2-py-and-getting-boto-badstatusline-error/19976 "2015-12-09T21:35:01Z")

</div>

Hi Just installed ansible 1.9.4 and trying the dynamic inventory ec2.py example. My boto is version 2.38.0. I’m getting a BadStatusLine error from boto when I run $ ec2.py --list. $ ec2.py pretty bad gets the same error…

---

## [Ansible2: Included tasks not running](https://forum.ansible.com/t/ansible2-included-tasks-not-running/19554)

<div class="topic-metadata">

**Author:** [@alvlin.uy](https://forum.ansible.com/u/alvlin.uy)\
**Replies:** 1\
**Last updated:** [December 9, 2015, 9:18pm UTC](https://forum.ansible.com/t/ansible2-included-tasks-not-running/19554 "2015-12-09T21:18:28Z")

</div>

Hi to everyone! First of all, let me apologize if I’m asking for an already reported bug, I searched the web and the group but didn’t find anything. I’m having an issue with included task files + with\_items. I’m using …

---

## [How to make Ansible output look nice?](https://forum.ansible.com/t/how-to-make-ansible-output-look-nice/19953)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 3\
**Last updated:** [December 9, 2015, 5:42pm UTC](https://forum.ansible.com/t/how-to-make-ansible-output-look-nice/19953 "2015-12-09T17:42:54Z")

</div>

I have been looking around and cannot find the answer to this…my ansible output looks terrible, and is difficult to read. What is the best way to make it more readable? (item={‘value’: {u’services’: \[u’dns’\], u’sources’…

---

## [ansible.cfg file...where to find a new copy after in-place upgrade to 2.0?](https://forum.ansible.com/t/ansible-cfg-file-where-to-find-a-new-copy-after-in-place-upgrade-to-2-0/19955)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 2\
**Last updated:** [December 9, 2015, 4:15pm UTC](https://forum.ansible.com/t/ansible-cfg-file-where-to-find-a-new-copy-after-in-place-upgrade-to-2-0/19955 "2015-12-09T16:15:13Z")

</div>

Where can I find a copy of the default ansible.cfg file for Ansible 2.0? My old one from 1.8 is missing a lot of the new settings, so I want to find a new one and tweak the two settings that I need to customize. Thanks…

---

## [how to proxy to containers behind nat?](https://forum.ansible.com/t/how-to-proxy-to-containers-behind-nat/19973)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 1\
**Last updated:** [December 9, 2015, 12:30pm UTC](https://forum.ansible.com/t/how-to-proxy-to-containers-behind-nat/19973 "2015-12-09T12:30:26Z")

</div>

ansible 1.9.4 from pip on os x. make an lxc host with no other purpose. all the containers are behind nat, so cant directly ssh to them, but i can ssh to the physical host. this works, ssh n.n.n.n -o “ProxyCommand ssh …

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

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