# Latest

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

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

**Page:** 804

---

## [Ansible 2.0 Deprecation in "when:" conditional.](https://forum.ansible.com/t/ansible-2-0-deprecation-in-when-conditional/20199)

<div class="topic-metadata">

**Author:** [@Manuel\_Jimenez](https://forum.ansible.com/u/Manuel_Jimenez)\
**Replies:** 1\
**Last updated:** [January 13, 2016, 5:34pm UTC](https://forum.ansible.com/t/ansible-2-0-deprecation-in-when-conditional/20199 "2016-01-13T17:34:56Z")

</div>

Hi! I have a role that clean my /etc/cron.d , /etc/cron.daily, etc… and installs new crons that I have defined in the role. For this duty I’ve do a simple but powerfull playbook but in version 2.0 instead of skeep a ste…

---

## [Ansible 2.0 is here!](https://forum.ansible.com/t/ansible-2-0-is-here/20177)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 4\
**Last updated:** [January 13, 2016, 5:24pm UTC](https://forum.ansible.com/t/ansible-2-0-is-here/20177 "2016-01-13T17:24:23Z")

</div>

After a year of work, Ansible 2.0 is now available for download! http://www.ansible.com/blog/ansible-2.0-launch Thanks to everyone in the community who has helped with this, whether it’s been through code contributions…

---

## [File exists: '/home/travis/.fireball.keys'](https://forum.ansible.com/t/file-exists-home-travis-fireball-keys/14170)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 5\
**Last updated:** [January 13, 2016, 3:42pm UTC](https://forum.ansible.com/t/file-exists-home-travis-fireball-keys/14170 "2016-01-13T15:42:42Z")

</div>

Hi, I’m trying to get Ansible’s accelerated mode to work on Travis CI, but I’m getting OSError: \[Errno 17\] File exists: ‘/home/travis/.fireball.keys’ See here: https://travis-ci.org/analytically/hadoop-ansible/builds/…

---

## [ansible 2.0: limit not working as intended ?](https://forum.ansible.com/t/ansible-2-0-limit-not-working-as-intended/20195)

<div class="topic-metadata">

**Author:** [@Mike\_C1](https://forum.ansible.com/u/Mike_C1)\
**Replies:** 5\
**Last updated:** [January 13, 2016, 3:40pm UTC](https://forum.ansible.com/t/ansible-2-0-limit-not-working-as-intended/20195 "2016-01-13T15:40:16Z")

</div>

im creating my hosts file with for f in $(seq 1 10); do echo “host$f” \>\> hosts; done and then try to list hosts with ansible all -i hosts --limit ~host1 --list-hosts with this result hosts (10): host1 host2 host3 …

---

## [V2 default values not picked up?](https://forum.ansible.com/t/v2-default-values-not-picked-up/20193)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 1\
**Last updated:** [January 13, 2016, 3:15pm UTC](https://forum.ansible.com/t/v2-default-values-not-picked-up/20193 "2016-01-13T15:15:35Z")

</div>

Hi, I upgraded to 2.0.0.1 (from 1.9.4) this morning and ran one of my playbooks to see if things worked and it lit up like a christmas tree. Most of that was just warnings (and the fact that ansible\_ssh\_port is not call…

---

## [with\_dict + conditional depending on item.value](https://forum.ansible.com/t/with-dict-conditional-depending-on-item-value/20198)

<div class="topic-metadata">

**Author:** [@Tomas\_Javier\_Garcia](https://forum.ansible.com/u/Tomas_Javier_Garcia)\
**Replies:** 0\
**Last updated:** [January 13, 2016, 2:21pm UTC](https://forum.ansible.com/t/with-dict-conditional-depending-on-item-value/20198 "2016-01-13T14:21:19Z")

</div>

Hi, I’ve been working on single and multiple wars deployment ansible scripts. To simplify teh mutiple I just created the vars/projectX.yml with the artifacts information so the ansible call doesn’t contain several param…

---

## [when git clone changed do docker rebuild](https://forum.ansible.com/t/when-git-clone-changed-do-docker-rebuild/20194)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 0\
**Last updated:** [January 13, 2016, 11:20am UTC](https://forum.ansible.com/t/when-git-clone-changed-do-docker-rebuild/20194 "2016-01-13T11:20:59Z")

</div>

Hi All, I’m trying to do the following: - name: Git checkout git: accept\_hostkey: yes clone: yes dest: "/opt/docker-images/{{ item.path }}" force: yes key\_file: /tmp/gi…

---

## [How to recursively set directory and file permissions](https://forum.ansible.com/t/how-to-recursively-set-directory-and-file-permissions/20176)

<div class="topic-metadata">

**Author:** [@Edward\_Ned\_Harvey](https://forum.ansible.com/u/Edward_Ned_Harvey)\
**Replies:** 1\
**Last updated:** [January 13, 2016, 8:24am UTC](https://forum.ansible.com/t/how-to-recursively-set-directory-and-file-permissions/20176 "2016-01-13T08:24:58Z")

</div>

If I do this: file: dest=/foo/bar/somedir owner=root group=apache mode=0775 recurse=yes It recursively sets the owner, group, and permissions to 0775 on all directories and files in that path. But I want to set directo…

---

## [Ansible 2.0 Upgrade Appears to Succeed But Fails?](https://forum.ansible.com/t/ansible-2-0-upgrade-appears-to-succeed-but-fails/20180)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 6\
**Last updated:** [January 13, 2016, 6:34am UTC](https://forum.ansible.com/t/ansible-2-0-upgrade-appears-to-succeed-but-fails/20180 "2016-01-13T06:34:43Z")

</div>

I ran my usual Ansible upgrade for Ansible on my MacOSX (v10.11) laptop and it appeared to upgrade me: $ sudo -H pip install --upgrade ansible --user python Password: Collecting ansible Downloading ansible-2.0.0.0.tar.g…

---

## [Generating a config from a running vm](https://forum.ansible.com/t/generating-a-config-from-a-running-vm/20166)

<div class="topic-metadata">

**Author:** [@Robert\_Haskins](https://forum.ansible.com/u/Robert_Haskins)\
**Replies:** 2\
**Last updated:** [January 12, 2016, 11:45pm UTC](https://forum.ansible.com/t/generating-a-config-from-a-running-vm/20166 "2016-01-12T23:45:33Z")

</div>

I am new to Ansible and trying to learn how it might work in my environment. I was wondering if there was a mechanism whereby one could generate an Ansible config for an already running machine that was not built under A…

---

## [AWS VPC inventory no public](https://forum.ansible.com/t/aws-vpc-inventory-no-public/20182)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 3\
**Last updated:** [January 12, 2016, 10:39pm UTC](https://forum.ansible.com/t/aws-vpc-inventory-no-public/20182 "2016-01-12T22:39:46Z")

</div>

Hey, So I would love to get the aws ec2 inventory working, but I cant seem to find a way to connect to my instances within a VPC subnet. I changed the ec2.ini configuration to: \` destination\_variable = private\_dns\_na…

---

## [Powershell script not completely executing...](https://forum.ansible.com/t/powershell-script-not-completely-executing/18905)

<div class="topic-metadata">

**Author:** [@O\_haya](https://forum.ansible.com/u/O_haya)\
**Replies:** 23\
**Last updated:** [January 12, 2016, 10:01pm UTC](https://forum.ansible.com/t/powershell-script-not-completely-executing/18905 "2016-01-12T22:01:42Z")

</div>

Hi, I have started trying to replicate some of the things that we are currently doing with Chef, but with Ansible. One of these is installing Microsoft Sharepoint (on Windows 2008 R2). In Chef, I do this using some Pow…

---

## [Need to drop out of superuser role](https://forum.ansible.com/t/need-to-drop-out-of-superuser-role/20179)

<div class="topic-metadata">

**Author:** [@Mark\_Constant](https://forum.ansible.com/u/Mark_Constant)\
**Replies:** 2\
**Last updated:** [January 12, 2016, 9:07pm UTC](https://forum.ansible.com/t/need-to-drop-out-of-superuser-role/20179 "2016-01-12T21:07:29Z")

</div>

I have a playbook where I have to run a bunch of commands as sudo. So at the beginning of the playbook I put become: yes. The issue is there is one command running a shell script where the shell script can’t be run as s…

---

## [skipping playbook include due to conditional test failure](https://forum.ansible.com/t/skipping-playbook-include-due-to-conditional-test-failure/20186)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 0\
**Last updated:** [January 12, 2016, 8:45pm UTC](https://forum.ansible.com/t/skipping-playbook-include-due-to-conditional-test-failure/20186 "2016-01-12T20:45:45Z")

</div>

Just upgraded to ansible 2.0 in our sandbox environment In our site.yml we include a number of playbooks like so include: coolapp.yml when: groups.coolapp is defined This allows our code to not fail if the productio…

---

## [Running TUI commands from a shell](https://forum.ansible.com/t/running-tui-commands-from-a-shell/20183)

<div class="topic-metadata">

**Author:** [@Sam\_Mingolelli](https://forum.ansible.com/u/Sam_Mingolelli)\
**Replies:** 0\
**Last updated:** [January 12, 2016, 7:47pm UTC](https://forum.ansible.com/t/running-tui-commands-from-a-shell/20183 "2016-01-12T19:47:48Z")

</div>

I’m in the process of trying to run the cloudera installation like so from a task: \` name: download cloudera cluster manager installer get\_url: url=http://archive.cloudera.com/cm5/installer/5.3.6/cloudera-manager-ins…

---

## [\[SOS\] Error with self-developed shell module](https://forum.ansible.com/t/sos-error-with-self-developed-shell-module/20175)

<div class="topic-metadata">

**Author:** [@edison\_wang1](https://forum.ansible.com/u/edison_wang1)\
**Replies:** 1\
**Last updated:** [January 12, 2016, 2:56pm UTC](https://forum.ansible.com/t/sos-error-with-self-developed-shell-module/20175 "2016-01-12T14:56:21Z")

</div>

hi, I wrote a simple shell script and made it as Ansible module with putting it under Library Path. I ran the module and got the failure message. However, I can tell from the output message that the shell module has bee…

---

## [role var reference group\_var](https://forum.ansible.com/t/role-var-reference-group-var/20178)

<div class="topic-metadata">

**Author:** [@John\_Favorite](https://forum.ansible.com/u/John_Favorite)\
**Replies:** 0\
**Last updated:** [January 12, 2016, 2:35pm UTC](https://forum.ansible.com/t/role-var-reference-group-var/20178 "2016-01-12T14:35:14Z")

</div>

Hi I was wondering if there is a way to have a role var defined under defaults to reference a group\_var. Basically i would like one file to change if specifics need to be defined per deployment/site. Here is a quick d…

---

## [I made a string split filter - best place to contribute?](https://forum.ansible.com/t/i-made-a-string-split-filter-best-place-to-contribute/20151)

<div class="topic-metadata">

**Author:** [@Tim\_Raasveld](https://forum.ansible.com/u/Tim_Raasveld)\
**Replies:** 2\
**Last updated:** [January 12, 2016, 11:24am UTC](https://forum.ansible.com/t/i-made-a-string-split-filter-best-place-to-contribute/20151 "2016-01-12T11:24:10Z")

</div>

I made a string split filter for Ansible( https://github.com/timraasveld/ansible-string-split-filter/blob/master/split.py ) and would like to contribute it to the main project. Because Ansible’s “Community Information” …

---

## [New AWS Modules: botocore and boto3 are now production ready.](https://forum.ansible.com/t/new-aws-modules-botocore-and-boto3-are-now-production-ready/18636)

<div class="topic-metadata">

**Author:** [@Jonathan\_Davila](https://forum.ansible.com/u/Jonathan_Davila)\
**Replies:** 8\
**Last updated:** [January 12, 2016, 5:31am UTC](https://forum.ansible.com/t/new-aws-modules-botocore-and-boto3-are-now-production-ready/18636 "2016-01-12T05:31:37Z")

</div>

This is a follow up to a prior RFC: https://groups.google.com/forum/#!searchin/ansible-devel/boto3/ansible-devel/BlruiipCVxk/KdvQI-wSSYUJ I am advocating for a standard that new AWS module pull requests should be writte…

---

## [Understanding how roles, dependencies, and tags work together.](https://forum.ansible.com/t/understanding-how-roles-dependencies-and-tags-work-together/20149)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 9:57pm UTC](https://forum.ansible.com/t/understanding-how-roles-dependencies-and-tags-work-together/20149 "2016-01-11T21:57:58Z")

</div>

I’m trying to understand how roles, dependencies, and tags work together. I’m seeing “wrong” behavior when I use meta/main.yml dependencies: and tags -or- I do not understand how all these things work together. I apolo…

---

## [New SSH Retry In Ansible 2.0?](https://forum.ansible.com/t/new-ssh-retry-in-ansible-2-0/20173)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 9:44pm UTC](https://forum.ansible.com/t/new-ssh-retry-in-ansible-2-0/20173 "2016-01-11T21:44:16Z")

</div>

Hi, I understand there is a new parm in 2.0 which will cause ssh to retry x times to establish a new connection. Is that correct? What’s the config keyword to set that? THanks -T

---

## [Dynamically deploying multiple exclusive SSH authorized\_keys](https://forum.ansible.com/t/dynamically-deploying-multiple-exclusive-ssh-authorized-keys/20138)

<div class="topic-metadata">

**Author:** [@cmacrae](https://forum.ansible.com/u/cmacrae)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 7:14pm UTC](https://forum.ansible.com/t/dynamically-deploying-multiple-exclusive-ssh-authorized-keys/20138 "2016-01-11T19:14:31Z")

</div>

Hi all, Further misunderstandings on my part for iterating over varied YAML structures, but here’s the deal: I’m writing a super tiny role with the intent of dynamically deploying any authorized\_keys defined in a host/…

---

## [gce.py issues authenticating to GCE](https://forum.ansible.com/t/gce-py-issues-authenticating-to-gce/20164)

<div class="topic-metadata">

**Author:** [@Alex\_Leonhardt](https://forum.ansible.com/u/Alex_Leonhardt)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 7:03pm UTC](https://forum.ansible.com/t/gce-py-issues-authenticating-to-gce/20164 "2016-01-11T19:03:49Z")

</div>

Hi, So I’ve been trying to get gce to work, but no luck - it used to work, something changed, and now it isn’t - not sure what happened, but I tried to setup everything from scratch again … On GCE, I’ve created a servi…

---

## [How to distribute file per server?](https://forum.ansible.com/t/how-to-distribute-file-per-server/20078)

<div class="topic-metadata">

**Author:** [@Jakov\_Sosic](https://forum.ansible.com/u/Jakov_Sosic)\
**Replies:** 2\
**Last updated:** [January 11, 2016, 6:57pm UTC](https://forum.ansible.com/t/how-to-distribute-file-per-server/20078 "2016-01-11T18:57:40Z")

</div>

Hi guys, sorry if this is a newbie question, but looking around I couldn't find an answer... I have my own CA, and create x509 key and certificate for each server. What is the best way to distribute them with ansible?…

---

## [\[Proposal\] Git Module: Add option to clean untracked and ignored files](https://forum.ansible.com/t/proposal-git-module-add-option-to-clean-untracked-and-ignored-files/20171)

<div class="topic-metadata">

**Author:** [@Raghu\_Udiyar](https://forum.ansible.com/u/Raghu_Udiyar)\
**Replies:** 0\
**Last updated:** [January 11, 2016, 6:42pm UTC](https://forum.ansible.com/t/proposal-git-module-add-option-to-clean-untracked-and-ignored-files/20171 "2016-01-11T18:42:26Z")

</div>

Simmilar to the force option to reset repository, does it makes sense to add clean\_untracked and clean\_ignored? I have opened an issue for this as well here : https://github.com/ansible/ansible-modules-core/issues/2656

---

## [Structuring multiple similar services on single host](https://forum.ansible.com/t/structuring-multiple-similar-services-on-single-host/20156)

<div class="topic-metadata">

**Author:** [@Daan\_de\_Wit](https://forum.ansible.com/u/Daan_de_Wit)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 4:41pm UTC](https://forum.ansible.com/t/structuring-multiple-similar-services-on-single-host/20156 "2016-01-11T16:41:04Z")

</div>

Hi, I’m seeking advice for how to best structure the inventory for our situation. We have multiple hosts, and each host is running multiple instances of the same software that we’d like to update using Ansible. Each ins…

---

## [ETA on Ansible 2.0 ?](https://forum.ansible.com/t/eta-on-ansible-2-0/18465)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 18\
**Last updated:** [January 11, 2016, 4:25pm UTC](https://forum.ansible.com/t/eta-on-ansible-2-0/18465 "2016-01-11T16:25:08Z")

</div>

Is there an estimated release date for Ansible 2.0 ? Cheers, J

---

## [how to apply ansible tower licence using command line?](https://forum.ansible.com/t/how-to-apply-ansible-tower-licence-using-command-line/20170)

<div class="topic-metadata">

**Author:** [@Makarand\_Maslekar](https://forum.ansible.com/u/Makarand_Maslekar)\
**Replies:** 1\
**Last updated:** [January 11, 2016, 3:03pm UTC](https://forum.ansible.com/t/how-to-apply-ansible-tower-licence-using-command-line/20170 "2016-01-11T15:03:05Z")

</div>

how to apply ansible tower licence using command line?

---

## [The API server (galaxy.ansible.com) is not responding,Please try again later.](https://forum.ansible.com/t/the-api-server-galaxy-ansible-com-is-not-responding-please-try-again-later/18477)

<div class="topic-metadata">

**Author:** [@Prasanna\_Siriki](https://forum.ansible.com/u/Prasanna_Siriki)\
**Replies:** 8\
**Last updated:** [January 11, 2016, 2:25pm UTC](https://forum.ansible.com/t/the-api-server-galaxy-ansible-com-is-not-responding-please-try-again-later/18477 "2016-01-11T14:25:28Z")

</div>

Hello, I am trying to install Juniper.junos ansible-galaxy install Juniper.junos The API server (galaxy.ansible.com) is not responding,Please try again later. I am getting the above error. Regards, Prasanna

---

## [\[ansible-2.0.0-0.7.rc2\] os\_server\_facts module - Syntax Error while loading YAML](https://forum.ansible.com/t/ansible-2-0-0-0-7-rc2-os-server-facts-module-syntax-error-while-loading-yaml/20040)

<div class="topic-metadata">

**Author:** [@Stavros](https://forum.ansible.com/u/Stavros)\
**Replies:** 9\
**Last updated:** [January 11, 2016, 1:53pm UTC](https://forum.ansible.com/t/ansible-2-0-0-0-7-rc2-os-server-facts-module-syntax-error-while-loading-yaml/20040 "2016-01-11T13:53:00Z")

</div>

Hi, I am trying to use the os\_server\_facts module, but I get a syntax error: The inventory file “oshost” contains only the following line: localhost ansible\_connection=local The playbook “os\_server\_facts.yml” is a si…

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

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