# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=82

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

**Page:** 83

---

## [Newbie Question: Copying files from host to Windows target](https://forum.ansible.com/t/newbie-question-copying-files-from-host-to-windows-target/16361)

<div class="topic-metadata">

**Author:** [@Ron\_Marquez](https://forum.ansible.com/u/Ron_Marquez)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 8:33pm UTC](https://forum.ansible.com/t/newbie-question-copying-files-from-host-to-windows-target/16361 "2014-09-26T20:33:26Z")

</div>

Hello, I am pretty new to ansible with windows support. I am wondering if there is a module that can copy files from my Ubuntu host to my Windows host? Thanks

---

## [windows updates](https://forum.ansible.com/t/windows-updates/16292)

<div class="topic-metadata">

**Author:** [@Dann\_Bohn](https://forum.ansible.com/u/Dann_Bohn)\
**Replies:** 3\
**Last updated:** [September 25, 2014, 8:05pm UTC](https://forum.ansible.com/t/windows-updates/16292 "2014-09-25T20:05:09Z")

</div>

Hi all, I’m pinging the group to see if anyone is interested / working on windows update support (running updates, checking config) – I’m not a windows admin, but this is something that i’d like to see. Am I going abou…

---

## [Any support for template in Windows?](https://forum.ansible.com/t/any-support-for-template-in-windows/16265)

<div class="topic-metadata">

**Author:** [@Daniel\_Spisak](https://forum.ansible.com/u/Daniel_Spisak)\
**Replies:** 7\
**Last updated:** [September 25, 2014, 7:55pm UTC](https://forum.ansible.com/t/any-support-for-template-in-windows/16265 "2014-09-25T19:55:22Z")

</div>

Hi there, somewhat new to Ansible, just using it for the past year on Linux hosts. I’m working on a project that has me applying ansible to a windows deployment scenario and I find myself in need of the template capabili…

---

## [urlparse filters](https://forum.ansible.com/t/urlparse-filters/16303)

<div class="topic-metadata">

**Author:** [@Jameel\_Al-Aziz](https://forum.ansible.com/u/Jameel_Al-Aziz)\
**Replies:** 5\
**Last updated:** [September 24, 2014, 8:38pm UTC](https://forum.ansible.com/t/urlparse-filters/16303 "2014-09-24T20:38:05Z")

</div>

I added a urljoin filter (https://github.com/jalaziz/ansible/commit/2eb5d1b94732197c651f6962444df88bb90a1575), but am considering adding some other urlparse filters before submitting the PR. Any suggestions on other url …

---

## [about having top-level scope for main() call in modules](https://forum.ansible.com/t/about-having-top-level-scope-for-main-call-in-modules/16251)

<div class="topic-metadata">

**Author:** [@Abhishek\_Kumar](https://forum.ansible.com/u/Abhishek_Kumar)\
**Replies:** 3\
**Last updated:** [September 24, 2014, 4:10pm UTC](https://forum.ansible.com/t/about-having-top-level-scope-for-main-call-in-modules/16251 "2014-09-24T16:10:37Z")

</div>

Hi, What if the call to main() in python-based core modules gets changed to just if \_\_name\_\_ == "\_\_main\_\_": main() it will import all required modules, and still not call main() if imported. Opinions?

---

## [Persistent set\_fact](https://forum.ansible.com/t/persistent-set-fact/16309)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 6\
**Last updated:** [September 24, 2014, 3:29pm UTC](https://forum.ansible.com/t/persistent-set-fact/16309 "2014-09-24T15:29:02Z")

</div>

Hi I was thinking about extending set\_fact to be able to write the facts given as a local facts file. Something like this: set\_fact: var=value persistent\_file=myvars To create /etc/ansible/facts.d/myvars.fact as a…

---

## [Ability to dump all variables](https://forum.ansible.com/t/ability-to-dump-all-variables/16267)

<div class="topic-metadata">

**Author:** [@Alexander\_Uvizhev](https://forum.ansible.com/u/Alexander_Uvizhev)\
**Replies:** 16\
**Last updated:** [September 24, 2014, 2:28am UTC](https://forum.ansible.com/t/ability-to-dump-all-variables/16267 "2014-09-24T02:28:57Z")

</div>

Hi, I need to dump all the vars available at certain steps of playbook so I tried to follow this tip. At first it looks like it does what I need but then I noticed that dumping vars gives me variables specified only in…

---

## [Clarifying docker and docker\_image module](https://forum.ansible.com/t/clarifying-docker-and-docker-image-module/16310)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 1\
**Last updated:** [September 24, 2014, 2:27am UTC](https://forum.ansible.com/t/clarifying-docker-and-docker-image-module/16310 "2014-09-24T02:27:06Z")

</div>

So this bug just hit my radar: https://github.com/ansible/ansible/issues/9104 In a nutshell, when you run the command ansible localhost -m docker -a ‘image=foo state=present’ nothing happens and success is returned. Th…

---

## [zabbix\_maintenance minor improvements](https://forum.ansible.com/t/zabbix-maintenance-minor-improvements/16093)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 3\
**Last updated:** [September 22, 2014, 6:24pm UTC](https://forum.ansible.com/t/zabbix-maintenance-minor-improvements/16093 "2014-09-22T18:24:36Z")

</div>

Hi I just made a PR https://github.com/ansible/ansible/pull/8841 for a minor improvment in this new module. Since this module is in devel only, I wanted to ask if those changes could make it in final 1.8. I made 2 rath…

---

## [module development - getting task/runner object](https://forum.ansible.com/t/module-development-getting-task-runner-object/16297)

<div class="topic-metadata">

**Author:** [@dawid.grzegorczyk](https://forum.ansible.com/u/dawid.grzegorczyk)\
**Replies:** 2\
**Last updated:** [September 22, 2014, 12:08pm UTC](https://forum.ansible.com/t/module-development-getting-task-runner-object/16297 "2014-09-22T12:08:56Z")

</div>

Hello, is there a way to get to current Task/Runner object from inside AnsibleModule? My playbook use case goes like this: name: My custom environment module myenvmodule: some\_param=some\_value environment: some\_env\_…

---

## [Hi,freshman here](https://forum.ansible.com/t/hi-freshman-here/16293)

<div class="topic-metadata">

**Author:** [@Jerrold\_Gao](https://forum.ansible.com/u/Jerrold_Gao)\
**Replies:** 2\
**Last updated:** [September 21, 2014, 7:47pm UTC](https://forum.ansible.com/t/hi-freshman-here/16293 "2014-09-21T19:47:27Z")

</div>

Hi, everyone. I am Yiru Gao or you can call me Jerrold. I am trying to catch up the current progress of this software. Where shall I start? Can anyone give me a direction? Thanks.

---

## [Ready to give back](https://forum.ansible.com/t/ready-to-give-back/16281)

<div class="topic-metadata">

**Author:** [@Jillian\_Karner](https://forum.ansible.com/u/Jillian_Karner)\
**Replies:** 3\
**Last updated:** [September 19, 2014, 3:02pm UTC](https://forum.ansible.com/t/ready-to-give-back/16281 "2014-09-19T15:02:06Z")

</div>

I’ve been working with Ansible for about four months now and I finally have some time to contribute back to the community. Where would be a good place to start? I’ve looked at a variety of the Issues listed on github and…

---

## [RFC: post\_tasks in roles](https://forum.ansible.com/t/rfc-post-tasks-in-roles/16285)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [September 19, 2014, 1:43pm UTC](https://forum.ansible.com/t/rfc-post-tasks-in-roles/16285 "2014-09-19T13:43:01Z")

</div>

Hi I would like to open a discussion about extending the role functionality with a directory similar to /task/main.yml e.g. /post\_tasks/main.yml for post\_task execution. I one of my roles I wanted to implement health c…

---

## [selinux: state=disabled](https://forum.ansible.com/t/selinux-state-disabled/16271)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 2\
**Last updated:** [September 19, 2014, 11:55am UTC](https://forum.ansible.com/t/selinux-state-disabled/16271 "2014-09-19T11:55:08Z")

</div>

Currently if SELinux is enabled on the system and if you run a task: \` selinux: state=disabled \` it will set SELinux as disabled in the conf file, but SELinux itself will still be enabled (in enforcing by default) u…

---

## [Rax module](https://forum.ansible.com/t/rax-module/16241)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 2\
**Last updated:** [September 16, 2014, 1:52pm UTC](https://forum.ansible.com/t/rax-module/16241 "2014-09-16T13:52:58Z")

</div>

Hi, We’ve run into a problem with the rax module. It worked fine to create our test env, but when we came to creating the prod version, it didn’t do anything. (No errors, but no changes either). Our incantation looks li…

---

## [Always allow ansible-galaxy to install with git SHAs as versions](https://forum.ansible.com/t/always-allow-ansible-galaxy-to-install-with-git-shas-as-versions/16223)

<div class="topic-metadata">

**Author:** [@Ches\_Martin](https://forum.ansible.com/u/Ches_Martin)\
**Replies:** 2\
**Last updated:** [September 16, 2014, 3:31am UTC](https://forum.ansible.com/t/always-allow-ansible-galaxy-to-install-with-git-shas-as-versions/16223 "2014-09-16T03:31:29Z")

</div>

Hi folks, Apologies in advance if this has perhaps already changed, I see there are some forthcoming changes like new role file format, and I haven’t dug into what all has been happening on master just yet. I had a bunc…

---

## [set\_facts with loops](https://forum.ansible.com/t/set-facts-with-loops/16221)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 0\
**Last updated:** [September 14, 2014, 8:31pm UTC](https://forum.ansible.com/t/set-facts-with-loops/16221 "2014-09-14T20:31:03Z")

</div>

Hi, I am trying to compile a list that would use with\_fileglob but it seems that set\_facts does not work with loops i.e. \`

---

## [integration tests: atomic\_copy fails when trying to chown from root to nobody as nobody](https://forum.ansible.com/t/integration-tests-atomic-copy-fails-when-trying-to-chown-from-root-to-nobody-as-nobody/16211)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 1\
**Last updated:** [September 14, 2014, 5:13pm UTC](https://forum.ansible.com/t/integration-tests-atomic-copy-fails-when-trying-to-chown-from-root-to-nobody-as-nobody/16211 "2014-09-14T17:13:25Z")

</div>

I was trying to get the integration tests (non\_destructive) running (with sudo) but ran into a failure. TASK: \[test\_copy | overwrite the file as user nobody\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* failed: \[testhost\] =\> {"failed": …

---

## [Bug found in yum module (and the fix)](https://forum.ansible.com/t/bug-found-in-yum-module-and-the-fix/16199)

<div class="topic-metadata">

**Author:** [@bbasleeper2](https://forum.ansible.com/u/bbasleeper2)\
**Replies:** 1\
**Last updated:** [September 12, 2014, 7:43pm UTC](https://forum.ansible.com/t/bug-found-in-yum-module-and-the-fix/16199 "2014-09-12T19:43:35Z")

</div>

I just faced an incredible bug in yum module. When you use state=latest with an enablerepo directive AND yum-utils package is not installed on target server, yum will not update any packages saying everything is up to d…

---

## [Windows package management via chocolatey](https://forum.ansible.com/t/windows-package-management-via-chocolatey/15986)

<div class="topic-metadata">

**Author:** [@Peter\_Mounce](https://forum.ansible.com/u/Peter_Mounce)\
**Replies:** 16\
**Last updated:** [September 12, 2014, 2:31pm UTC](https://forum.ansible.com/t/windows-package-management-via-chocolatey/15986 "2014-09-12T14:31:53Z")

</div>

Hi there I’ve been using Ansible fruitfully to provision a windows 2012 server in AWS, so I can use that as the basis for baking an AMI and moving my environment closer towards immutable infrastructure. In the doing, I…

---

## [ansible facts for interface aliases](https://forum.ansible.com/t/ansible-facts-for-interface-aliases/16192)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 1\
**Last updated:** [September 12, 2014, 11:00am UTC](https://forum.ansible.com/t/ansible-facts-for-interface-aliases/16192 "2014-09-12T11:00:48Z")

</div>

Hi If you have ip aliases so called ipv4 secondaries configured, you get this from setup: “ansible\_bond0”: { “active”: true, “device”: “bond0”, “ipv4”: { “address”: “10.100.219.17”, “netmask”: “255.255.255.0”, “n…

---

## [MySQL modules config parsing is broken](https://forum.ansible.com/t/mysql-modules-config-parsing-is-broken/15903)

<div class="topic-metadata">

**Author:** [@muffi\_muff](https://forum.ansible.com/u/muffi_muff)\
**Replies:** 11\
**Last updated:** [September 11, 2014, 1:25pm UTC](https://forum.ansible.com/t/mysql-modules-config-parsing-is-broken/15903 "2014-09-11T13:25:29Z")

</div>

Hello, as already described in PR #6295 (https://github.com/ansible/ansible/pull/6295) I think the config file parsing in the MySQL modules is broken. These are the problems I see with the current code: parsing the co…

---

## [New Windows PRs](https://forum.ansible.com/t/new-windows-prs/16163)

<div class="topic-metadata">

**Author:** [@Chris\_Church1](https://forum.ansible.com/u/Chris_Church1)\
**Replies:** 0\
**Last updated:** [September 9, 2014, 6:45pm UTC](https://forum.ansible.com/t/new-windows-prs/16163 "2014-09-09T18:45:50Z")

</div>

I’ve added 2 new pull requests for Windows modules, and would appreciate some feedback/testing from those of you using Ansible with winrm before merging them: https://github.com/ansible/ansible/pull/8945 (Updates to win…

---

## [Load callback plugins in the ansible script (GH #8396)](https://forum.ansible.com/t/load-callback-plugins-in-the-ansible-script-gh-8396/15849)

<div class="topic-metadata">

**Author:** [@zeglandos](https://forum.ansible.com/u/zeglandos)\
**Replies:** 4\
**Last updated:** [September 8, 2014, 5:38pm UTC](https://forum.ansible.com/t/load-callback-plugins-in-the-ansible-script-gh-8396/15849 "2014-09-08T17:38:23Z")

</div>

This is an open discussion, since I’m far from an expert on ansible. However, since I often run some commands on a lot of host, I’ve written a small callback plugin that summarize output on stdout and stderr. I need th…

---

## [Register var is var|succes when it was skipped (check\_mode)](https://forum.ansible.com/t/register-var-is-var-succes-when-it-was-skipped-check-mode/16067)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 4\
**Last updated:** [September 8, 2014, 6:41am UTC](https://forum.ansible.com/t/register-var-is-var-succes-when-it-was-skipped-check-mode/16067 "2014-09-08T06:41:13Z")

</div>

Hi I recently created a bug report https://github.com/ansible/ansible/issues/8753 for this unexpected behaviour which was closed. While it is not a big “deal” to fix it using always\_run in the command task. I still thi…

---

## [Windows; support for active directory or domain users; please test](https://forum.ansible.com/t/windows-support-for-active-directory-or-domain-users-please-test/16136)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 12:30pm UTC](https://forum.ansible.com/t/windows-support-for-active-directory-or-domain-users-please-test/16136 "2014-09-07T12:30:19Z")

</div>

Hi, I have just pushed https://github.com/ansible/ansible/pull/8914 to tackle this. If anyone else is interested in this, please could you give it a try so I can make the setup instructions as good as possible. Many t…

---

## [Public Image around Ansible + Windows](https://forum.ansible.com/t/public-image-around-ansible-windows/16090)

<div class="topic-metadata">

**Author:** [@Damon\_Overboe](https://forum.ansible.com/u/Damon_Overboe)\
**Replies:** 2\
**Last updated:** [September 7, 2014, 6:34am UTC](https://forum.ansible.com/t/public-image-around-ansible-windows/16090 "2014-09-07T06:34:11Z")

</div>

I posted up how to resolve the workaround on Twitter & my blog for the StackOverflows and Out of Memory issues I was facing with Windows + Ansible. It was a tip from Chris Church, pointing me to this topic: https://gith…

---

## [re-run failed task only](https://forum.ansible.com/t/re-run-failed-task-only/16128)

<div class="topic-metadata">

**Author:** [@Kien\_Pham](https://forum.ansible.com/u/Kien_Pham)\
**Replies:** 7\
**Last updated:** [September 5, 2014, 9:08pm UTC](https://forum.ansible.com/t/re-run-failed-task-only/16128 "2014-09-05T21:08:00Z")

</div>

Hi all, I would like to discuss whether ansible should support the re-run failed task. This is different with the suggested answer here: http://docs.ansible.com/playbooks\_loops.html#do-until-loops It is similar to how…

---

## [Question about talking to ssh-enabled devices](https://forum.ansible.com/t/question-about-talking-to-ssh-enabled-devices/16078)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 10\
**Last updated:** [September 5, 2014, 1:47am UTC](https://forum.ansible.com/t/question-about-talking-to-ssh-enabled-devices/16078 "2014-09-05T01:47:24Z")

</div>

Hi all, I’m looking at building a module to talk to an HP Switch (1910). This switch only has a web UI (not REST nor SOAP) and ssh. I have scoured the Internet and only found info about devices that have nice REST APIs.…

---

## [How can I help?](https://forum.ansible.com/t/how-can-i-help/15140)

<div class="topic-metadata">

**Author:** [@Clement\_Labbe](https://forum.ansible.com/u/Clement_Labbe)\
**Replies:** 8\
**Last updated:** [September 3, 2014, 7:27am UTC](https://forum.ansible.com/t/how-can-i-help/15140 "2014-09-03T07:27:43Z")

</div>

Hi Community, I’d like to help the development efforts. I am a systems engineer but I don’t work with (m)any fun technologies at work; I’m attracted by the Ansible project for many reasons. I have, on my computer, set u…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=81)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=83)
