# Latest

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

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

**Page:** 711

---

## [Escape space in Windows directory path in playbook](https://forum.ansible.com/t/escape-space-in-windows-directory-path-in-playbook/22943)

<div class="topic-metadata">

**Author:** [@Tim3](https://forum.ansible.com/u/Tim3)\
**Replies:** 4\
**Last updated:** [November 9, 2016, 4:45pm UTC](https://forum.ansible.com/t/escape-space-in-windows-directory-path-in-playbook/22943 "2016-11-09T16:45:21Z")

</div>

Hi, I want to copy some files to the Startup folder using “win\_copy”. The problem is, that the destination directory is “dest=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp/link.lnk” which has a space bet…

---

## [Access All Variables in Plugin - Ansible 2.1](https://forum.ansible.com/t/access-all-variables-in-plugin-ansible-2-1/22983)

<div class="topic-metadata">

**Author:** [@Nick\_Chandler](https://forum.ansible.com/u/Nick_Chandler)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 2:24pm UTC](https://forum.ansible.com/t/access-all-variables-in-plugin-ansible-2-1/22983 "2016-11-09T14:24:45Z")

</div>

Hi, everyone. I have an Ansible project that has a number of roles, along with several different playbooks. Several roles require certain variables to be set in order for the roles to execute properly. These variables m…

---

## [Making 100% sure content of directory will not get deleted](https://forum.ansible.com/t/making-100-sure-content-of-directory-will-not-get-deleted/22988)

<div class="topic-metadata">

**Author:** [@Wasim\_Khamlichi](https://forum.ansible.com/u/Wasim_Khamlichi)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 1:33pm UTC](https://forum.ansible.com/t/making-100-sure-content-of-directory-will-not-get-deleted/22988 "2016-11-09T13:33:27Z")

</div>

I’m writing a play to create a few symlinks in my app directory that link to some shared directories on a NFS mount. Because of the way the application is, in the location where I’m trying to place the symlink, there ma…

---

## [Howto get value of passed limit](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987)

<div class="topic-metadata">

**Author:** [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 10:41am UTC](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987 "2016-11-09T10:41:20Z")

</div>

Hello, I am looking for a way to obtain the limit specified when running a playbook. http://docs.ansible.com/ansible/playbooks\_variables.html doesn’t seem to contain information about this. vars\[‘ansible\_play\_batch’\] …

---

## [AWS AMIs and Launch configuration UserData](https://forum.ansible.com/t/aws-amis-and-launch-configuration-userdata/22901)

<div class="topic-metadata">

**Author:** [@James1](https://forum.ansible.com/u/James1)\
**Replies:** 4\
**Last updated:** [November 9, 2016, 8:33am UTC](https://forum.ansible.com/t/aws-amis-and-launch-configuration-userdata/22901 "2016-11-09T08:33:42Z")

</div>

Hi all This is my first post of (hopefully) many. I’m James, I’m an IT contractor, and I’m currently working in an infrastructure team that heavily uses Ansible, my background is mainly Java, so I’m less infrastructure …

---

## [Ansible Tower - Job Type: Check with --diff](https://forum.ansible.com/t/ansible-tower-job-type-check-with-diff/22986)

<div class="topic-metadata">

**Author:** [@Lance\_Le\_Roux](https://forum.ansible.com/u/Lance_Le_Roux)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 12:22am UTC](https://forum.ansible.com/t/ansible-tower-job-type-check-with-diff/22986 "2016-11-09T00:22:51Z")

</div>

I am using junos\_check and like to run my playbook with the --check --diff arguments as it returns what configuration changes will actually be applied to the network device. i.e. \[edit system arp\] aging-timer 240; a…

---

## [developing on the Ansible Project.](https://forum.ansible.com/t/developing-on-the-ansible-project/22985)

<div class="topic-metadata">

**Author:** [@Dave\_Germiquet](https://forum.ansible.com/u/Dave_Germiquet)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 12:19am UTC](https://forum.ansible.com/t/developing-on-the-ansible-project/22985 "2016-11-09T00:19:40Z")

</div>

Hi Everyone, I’m looking to become a developer and contributor on the ansible project, just came by to say hello.

---

## [How to get latest versions of roles using galaxy?](https://forum.ansible.com/t/how-to-get-latest-versions-of-roles-using-galaxy/22982)

<div class="topic-metadata">

**Author:** [@Zhomart\_Mukhamejanov](https://forum.ansible.com/u/Zhomart_Mukhamejanov)\
**Replies:** 2\
**Last updated:** [November 8, 2016, 8:23pm UTC](https://forum.ansible.com/t/how-to-get-latest-versions-of-roles-using-galaxy/22982 "2016-11-08T20:23:06Z")

</div>

Currently I’m using a role with it’s dependencies. Author of the role fixed some major bugs but didn’t pushed the release to the galaxy.ansible.com. I want to get latest version of the role and it’s dependencies from gi…

---

## [nxos\_command using the src option](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981)

<div class="topic-metadata">

**Author:** [@mamullen13316](https://forum.ansible.com/u/mamullen13316)\
**Replies:** 0\
**Last updated:** [November 8, 2016, 6:43pm UTC](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981 "2016-11-08T18:43:52Z")

</div>

I’m using the src parameter of nxos\_config to enter several configuration lines at once. When it detects that one of the lines differs from the running configuration, does it push the entire block from the src file or ju…

---

## [Targeting Windows 2008 R2 machines with Ansible?](https://forum.ansible.com/t/targeting-windows-2008-r2-machines-with-ansible/22975)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [November 8, 2016, 4:23pm UTC](https://forum.ansible.com/t/targeting-windows-2008-r2-machines-with-ansible/22975 "2016-11-08T16:23:28Z")

</div>

Hello, I’m curious if anyone is making use of Server 2008/R2 versions of Windows Server any more. I am setting up a S2008R2 VM at the moment to test a PR and I’m wondering how much use this version of windows is gettin…

---

## [How to save stdout\_lines to a file without losing the newlines](https://forum.ansible.com/t/how-to-save-stdout-lines-to-a-file-without-losing-the-newlines/22973)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 8\
**Last updated:** [November 8, 2016, 3:10pm UTC](https://forum.ansible.com/t/how-to-save-stdout-lines-to-a-file-without-losing-the-newlines/22973 "2016-11-08T15:10:13Z")

</div>

Hi everyone, Considering a variable {{ table.stdout\_lines \]\] containing the following when printing it out on the terminal: TASK \[save\_table : Printing the returned table\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Unreachable host breaks a template?](https://forum.ansible.com/t/unreachable-host-breaks-a-template/22967)

<div class="topic-metadata">

**Author:** [@autogun](https://forum.ansible.com/u/autogun)\
**Replies:** 3\
**Last updated:** [November 8, 2016, 2:56pm UTC](https://forum.ansible.com/t/unreachable-host-breaks-a-template/22967 "2016-11-08T14:56:47Z")

</div>

Hi all, I’m building an HTML report based on a template that looks something like this: \` {% for i in ansible\_play\_hosts %} {{ i }} {{ hostvars\[i\].ansible\_os\_name }} {{ hostvars\[i\].ansible\_distribution }} {{ hostvar…

---

## [Accessing "Step" option from the Ansible API 2.0](https://forum.ansible.com/t/accessing-step-option-from-the-ansible-api-2-0/22979)

<div class="topic-metadata">

**Author:** [@Evelio\_VILA](https://forum.ansible.com/u/Evelio_VILA)\
**Replies:** 1\
**Last updated:** [November 8, 2016, 6:14am UTC](https://forum.ansible.com/t/accessing-step-option-from-the-ansible-api-2-0/22979 "2016-11-08T06:14:40Z")

</div>

Hello list! Using the Ansible API 2.x what would be the easiest way to pass the “–step” option to the PlaybookExecutor call? eg from: PlaybookExecutor(playbooks=playbooks, inventory=inventory, variable\_manager=variab…

---

## [Yum install latest should take into consideration of release numbers](https://forum.ansible.com/t/yum-install-latest-should-take-into-consideration-of-release-numbers/22977)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 0\
**Last updated:** [November 8, 2016, 12:35am UTC](https://forum.ansible.com/t/yum-install-latest-should-take-into-consideration-of-release-numbers/22977 "2016-11-08T00:35:02Z")

</div>

Hi all, I have a situation where I have to resort to using the shell instead of yum module: \[root@qa-s1-sm1 ansible\]# ansible localhost -c local -m yum -a “name=myrpm-db1.5.1 state=latest enablerepo=repo-Snapshots disa…

---

## [win\_regedit  "found a duplicate dict key"](https://forum.ansible.com/t/win-regedit-found-a-duplicate-dict-key/22974)

<div class="topic-metadata">

**Author:** [@Todd\_Schaal](https://forum.ansible.com/u/Todd_Schaal)\
**Replies:** 2\
**Last updated:** [November 7, 2016, 9:06pm UTC](https://forum.ansible.com/t/win-regedit-found-a-duplicate-dict-key/22974 "2016-11-07T21:06:12Z")

</div>

I get the warning “found a duplicate dict key” when trying to modify multiple values under a single key. What’s the appropriate way to do this? I’ve tried using separate tasks or using a like as below, but I still get th…

---

## [Windows wait\_for module](https://forum.ansible.com/t/windows-wait-for-module/22821)

<div class="topic-metadata">

**Author:** [@paul.northrop.oz](https://forum.ansible.com/u/paul.northrop.oz)\
**Replies:** 5\
**Last updated:** [November 7, 2016, 8:33pm UTC](https://forum.ansible.com/t/windows-wait-for-module/22821 "2016-11-07T20:33:57Z")

</div>

Hi, I have developed a Windows version of the wait\_for module that mimics part of functionality of the Linux wait\_for module. Currently my module is capable of the following: wait for the existence of a file (path p…

---

## [Ansible Loops](https://forum.ansible.com/t/ansible-loops/20738)

<div class="topic-metadata">

**Author:** [@a\_akin](https://forum.ansible.com/u/a_akin)\
**Replies:** 4\
**Last updated:** [November 7, 2016, 5:40pm UTC](https://forum.ansible.com/t/ansible-loops/20738 "2016-11-07T17:40:41Z")

</div>

I am trying to update several values under a particular Registry Key name for example: win\_regedit: key: HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU value: DetectionFrequency data: 00000001 datatype: …

---

## [Pattern First after intersection](https://forum.ansible.com/t/pattern-first-after-intersection/22961)

<div class="topic-metadata">

**Author:** [@Edgardo\_Vega](https://forum.ansible.com/u/Edgardo_Vega)\
**Replies:** 5\
**Last updated:** [November 7, 2016, 5:08pm UTC](https://forum.ansible.com/t/pattern-first-after-intersection/22961 "2016-11-07T17:08:19Z")

</div>

I can’t figure out how to create the correct pattern. Currently I am about to get a list of three zookeeper boxes from the pattern tag\_zookeeper:&tag\_env\_test.What I need is to get the first (really just any 1) one that …

---

## [First Post for middleware engineer](https://forum.ansible.com/t/first-post-for-middleware-engineer/22971)

<div class="topic-metadata">

**Author:** [@ackwdw123](https://forum.ansible.com/u/ackwdw123)\
**Replies:** 1\
**Last updated:** [November 7, 2016, 3:37pm UTC](https://forum.ansible.com/t/first-post-for-middleware-engineer/22971 "2016-11-07T15:37:40Z")

</div>

Hi everyone, I am a middleware engineer and am looking at possibilities to use Ansible for extremely complex middleware use-cases. I have read over some of the various projects at the Ansible Galaxy site. I wanted to ask…

---

## [How to get a sorted list of the last n files?](https://forum.ansible.com/t/how-to-get-a-sorted-list-of-the-last-n-files/22953)

<div class="topic-metadata">

**Author:** [@Greg\_Langford](https://forum.ansible.com/u/Greg_Langford)\
**Replies:** 2\
**Last updated:** [November 7, 2016, 8:42am UTC](https://forum.ansible.com/t/how-to-get-a-sorted-list-of-the-last-n-files/22953 "2016-11-07T08:42:38Z")

</div>

Good Afternoon All, I am looking for a way to get a list of files in a directory sorted by name. At the moment I am using the command module to run ls on the remote system. Is it possible with the find module to sort …

---

## [Problem using results of 'find' module...](https://forum.ansible.com/t/problem-using-results-of-find-module/22969)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 2\
**Last updated:** [November 7, 2016, 1:41am UTC](https://forum.ansible.com/t/problem-using-results-of-find-module/22969 "2016-11-07T01:41:40Z")

</div>

Hi all, Trying to use the ‘find’ module to collect a list of files that I will then operate on. To test this out, I wrote a simple playbook as follows: name: test playbook #remote\_user: root hosts: localhost tasks: …

---

## [How to clone oracle database using ansible](https://forum.ansible.com/t/how-to-clone-oracle-database-using-ansible/22963)

<div class="topic-metadata">

**Author:** [@Shaikh\_Abdul](https://forum.ansible.com/u/Shaikh_Abdul)\
**Replies:** 4\
**Last updated:** [November 6, 2016, 10:54pm UTC](https://forum.ansible.com/t/how-to-clone-oracle-database-using-ansible/22963 "2016-11-06T22:54:05Z")

</div>

Hi All, Please advise, How to clone oracle database using ansible Regards, Abdul

---

## [Newbie dev wants to contribute](https://forum.ansible.com/t/newbie-dev-wants-to-contribute/22966)

<div class="topic-metadata">

**Author:** [@David\_Fozo](https://forum.ansible.com/u/David_Fozo)\
**Replies:** 3\
**Last updated:** [November 6, 2016, 5:01pm UTC](https://forum.ansible.com/t/newbie-dev-wants-to-contribute/22966 "2016-11-06T17:01:22Z")

</div>

Dear devs, I came from the community page. I was wondering how to help developing Ansible. Is there a ticket system somewhere? With what should I start with? Thank you, David

---

## [How to use include\_vars  with "name=" in playbook?](https://forum.ansible.com/t/how-to-use-include-vars-with-name-in-playbook/22960)

<div class="topic-metadata">

**Author:** [@LXC-dev\_Koha-Lappi](https://forum.ansible.com/u/LXC-dev_Koha-Lappi)\
**Replies:** 6\
**Last updated:** [November 6, 2016, 2:04am UTC](https://forum.ansible.com/t/how-to-use-include-vars-with-name-in-playbook/22960 "2016-11-06T02:04:24Z")

</div>

Hi Ansible-project, I’m trying to use “include\_vars” in my playbook, but have some problems understanding how should it be used. Here is the relevant part of the playbook in role “myrole” tasks: (partial) file: roles/…

---

## [Ansible 2.1.3 FINAL has been released!](https://forum.ansible.com/t/ansible-2-1-3-final-has-been-released/22964)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 2\
**Last updated:** [November 5, 2016, 2:13am UTC](https://forum.ansible.com/t/ansible-2-1-3-final-has-been-released/22964 "2016-11-05T02:13:00Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.1.3 has been released! This release fixes many bugs, including the two CVE-related bugs also fixed in the 2.2.0 release: Security fix for CVE-2016-8628 - Command inj…

---

## [Patch Recap -- Can we access the PLAY RECAP data?](https://forum.ansible.com/t/patch-recap-can-we-access-the-play-recap-data/22947)

<div class="topic-metadata">

**Author:** [@John\_Leo\_Huetter](https://forum.ansible.com/u/John_Leo_Huetter)\
**Replies:** 1\
**Last updated:** [November 4, 2016, 6:56pm UTC](https://forum.ansible.com/t/patch-recap-can-we-access-the-play-recap-data/22947 "2016-11-04T18:56:26Z")

</div>

Hello, I am running a playbook and would like to know the name of the object where I can access the PLAY RECAP statuses/return code. For example here: PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How to clone oracle database using ansible](https://forum.ansible.com/t/how-to-clone-oracle-database-using-ansible/22965)

<div class="topic-metadata">

**Author:** [@Shaikh\_Abdul](https://forum.ansible.com/u/Shaikh_Abdul)\
**Replies:** 0\
**Last updated:** [November 4, 2016, 5:29pm UTC](https://forum.ansible.com/t/how-to-clone-oracle-database-using-ansible/22965 "2016-11-04T17:29:50Z")

</div>

Hi, Please advise, How to clone oracle database using ansible

---

## [Module management meeting: Wednesday 9 November, 1900 UTC](https://forum.ansible.com/t/module-management-meeting-wednesday-9-november-1900-utc/22962)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [November 4, 2016, 4:44pm UTC](https://forum.ansible.com/t/module-management-meeting-wednesday-9-november-1900-utc/22962 "2016-11-04T16:44:47Z")

</div>

We've tried to set this meeting up a couple of times, so hoping that third time is the charm. :slight\_smile: This meeting is to clarify the proposal for management of our ever-growing set of Ansible modules. If you ar…

---

## [Hi, why can't I post?](https://forum.ansible.com/t/hi-why-cant-i-post/22959)

<div class="topic-metadata">

**Author:** [@LXC-dev\_Koha-Lappi](https://forum.ansible.com/u/LXC-dev_Koha-Lappi)\
**Replies:** 2\
**Last updated:** [November 4, 2016, 2:27pm UTC](https://forum.ansible.com/t/hi-why-cant-i-post/22959 "2016-11-04T14:27:07Z")

</div>

I joined this group some time ago, but can not post, why? -jukka PS. Just testing if this post gets thru :wink:

---

## [letsencrypt module behaviour](https://forum.ansible.com/t/letsencrypt-module-behaviour/22958)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 0\
**Last updated:** [November 4, 2016, 12:44pm UTC](https://forum.ansible.com/t/letsencrypt-module-behaviour/22958 "2016-11-04T12:44:28Z")

</div>

Searching the group for letsencrypt produces zero results, so I wonder if this might help people: Trying to understand the functioning of the LE module - there are some oddities. The steps for LE are described in the d…

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

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