# Latest

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

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

**Page:** 795

---

## [win\_nssm task shows 'changed' for every run](https://forum.ansible.com/t/win-nssm-task-shows-changed-for-every-run/20443)

<div class="topic-metadata">

**Author:** [@Joe\_Levis](https://forum.ansible.com/u/Joe_Levis)\
**Replies:** 2\
**Last updated:** [February 8, 2016, 3:51pm UTC](https://forum.ansible.com/t/win-nssm-task-shows-changed-for-every-run/20443 "2016-02-08T15:51:31Z")

</div>

Ubuntu 14.04, Ansible 2.0.0.2 I’m using win\_nssm to install a service. It’s successfully installing the service, however all subsequent runs show the win\_nssm task as ‘changed’. Why is win\_nssm showing ‘changed’ even t…

---

## [win\_environment module](https://forum.ansible.com/t/win-environment-module/20439)

<div class="topic-metadata">

**Author:** [@Shmulik\_Alfandari](https://forum.ansible.com/u/Shmulik_Alfandari)\
**Replies:** 1\
**Last updated:** [February 8, 2016, 2:37pm UTC](https://forum.ansible.com/t/win-environment-module/20439 "2016-02-08T14:37:20Z")

</div>

Hi, I am trying to add specific path to the Path Environment Variables on windows hosts using win\_environment module The problem is that this module can only add new variable or delete existing one, it’s impossible to …

---

## [postgresql\_privs module not setting priviledges on views \[bug?\]](https://forum.ansible.com/t/postgresql-privs-module-not-setting-priviledges-on-views-bug/20485)

<div class="topic-metadata">

**Author:** [@mcv21](https://forum.ansible.com/u/mcv21)\
**Replies:** 0\
**Last updated:** [February 8, 2016, 12:55pm UTC](https://forum.ansible.com/t/postgresql-privs-module-not-setting-priviledges-on-views-bug/20485 "2016-02-08T12:55:14Z")

</div>

Hi, I have the following: - name: grant SELECT privs to roles sudo: yes sudo\_user: postgres postgresql\_privs: db=raven type=table priv=SELECT objs=ALL\_IN\_SCHEMA role={{item}} with\_…

---

## [RFC: filetree lookup plugin](https://forum.ansible.com/t/rfc-filetree-lookup-plugin/20484)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 0\
**Last updated:** [February 8, 2016, 12:24pm UTC](https://forum.ansible.com/t/rfc-filetree-lookup-plugin/20484 "2016-02-08T12:24:17Z")

</div>

Hi, At $customer we have a tree of files that need to be distributed, and most of these files actually require to be templated to the target systems. The playbook is quite complicated as with\_fileglob is carefully writ…

---

## [no\_log / no\_target\_syslog ??](https://forum.ansible.com/t/no-log-no-target-syslog/20382)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 8\
**Last updated:** [February 8, 2016, 12:05pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382 "2016-02-08T12:05:52Z")

</div>

Hey, on the documentation its said: “no\_target\_syslog - prevents logging of tasks, but only on the targets, data is still logged on the master/controller” whats the meaning of log on “master/controller”. syslog, stdout…

---

## [YUM module Install loop too clever](https://forum.ansible.com/t/yum-module-install-loop-too-clever/20402)

<div class="topic-metadata">

**Author:** [@Arthur\_Francis](https://forum.ansible.com/u/Arthur_Francis)\
**Replies:** 5\
**Last updated:** [February 8, 2016, 9:11am UTC](https://forum.ansible.com/t/yum-module-install-loop-too-clever/20402 "2016-02-08T09:11:04Z")

</div>

Does anybody know if it is possible to make the yum module a little bit dumber and stop it from merging packages in one request? I am trying to install open-vm-tools and open-vm-tools-deploypkg on a centos vm, playbo…

---

## [PR #14359: foldling long lines in inventory files](https://forum.ansible.com/t/pr-14359-foldling-long-lines-in-inventory-files/20479)

<div class="topic-metadata">

**Author:** [@larsks](https://forum.ansible.com/u/larsks)\
**Replies:** 0\
**Last updated:** [February 8, 2016, 2:31am UTC](https://forum.ansible.com/t/pr-14359-foldling-long-lines-in-inventory-files/20479 "2016-02-08T02:31:11Z")

</div>

Over the weekend I submitted an RFE, https://github.com/ansible/ansible/issues/14358, for being able to fold long lines in Ansible inventory files. I’m working with some inventory files that have several per-host variabl…

---

## [Getting Ansible to run commands inside a running Docker container](https://forum.ansible.com/t/getting-ansible-to-run-commands-inside-a-running-docker-container/20467)

<div class="topic-metadata">

**Author:** [@Andre\_Castelan\_Prado](https://forum.ansible.com/u/Andre_Castelan_Prado)\
**Replies:** 1\
**Last updated:** [February 7, 2016, 8:42pm UTC](https://forum.ansible.com/t/getting-ansible-to-run-commands-inside-a-running-docker-container/20467 "2016-02-07T20:42:34Z")

</div>

Hello guys, I am using Ansible + Vagrant and having problem to run Django migrations inside a container that’s running my django app. Basically I have a postgres container and a django container If I vagrant ssh and th…

---

## [Deprecate ec2\_vpc?](https://forum.ansible.com/t/deprecate-ec2-vpc/20399)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 4\
**Last updated:** [February 7, 2016, 5:19pm UTC](https://forum.ansible.com/t/deprecate-ec2-vpc/20399 "2016-02-07T17:19:40Z")

</div>

I see that new bugs are being raised against ec2\_vpc. To avoid duplicate effort against ec2\_vpc and the newer vpc\_net, vpc\_route\_table and vpc\_subnet modules, can we deprecate ec2\_vpc?

---

## [Windows Modules](https://forum.ansible.com/t/windows-modules/20458)

<div class="topic-metadata">

**Author:** [@Nikhil\_Shah](https://forum.ansible.com/u/Nikhil_Shah)\
**Replies:** 2\
**Last updated:** [February 7, 2016, 9:32am UTC](https://forum.ansible.com/t/windows-modules/20458 "2016-02-07T09:32:08Z")

</div>

I need to do some custom things, (e.g. git pull/pip install -r requirements) on windows. I was able to connect to the machine over kerberos. But those modules don’t seem to work on Windows. It’s weird b/c the scripts mod…

---

## [Centralizing authentication file for multiple Windows hosts using the same user credentials](https://forum.ansible.com/t/centralizing-authentication-file-for-multiple-windows-hosts-using-the-same-user-credentials/20466)

<div class="topic-metadata">

**Author:** [@Joe\_Levis](https://forum.ansible.com/u/Joe_Levis)\
**Replies:** 1\
**Last updated:** [February 7, 2016, 9:23am UTC](https://forum.ansible.com/t/centralizing-authentication-file-for-multiple-windows-hosts-using-the-same-user-credentials/20466 "2016-02-07T09:23:34Z")

</div>

I’m trying to figure out a way to reuse the same auth file for multiple windows hosts. It seems that when you specify a windows host in a playbook, such as \[windows-webserver\], it automatically looks for a file ‘group\_va…

---

## [Best practice for soemthing like "systemctl daemon-reload"?](https://forum.ansible.com/t/best-practice-for-soemthing-like-systemctl-daemon-reload/20476)

<div class="topic-metadata">

**Author:** [@Jakov\_Sosic](https://forum.ansible.com/u/Jakov_Sosic)\
**Replies:** 0\
**Last updated:** [February 7, 2016, 1:26am UTC](https://forum.ansible.com/t/best-practice-for-soemthing-like-systemctl-daemon-reload/20476 "2016-02-07T01:26:49Z")

</div>

Hi guys. I'm wondering on how to tackle \`systemd\` with ansible. Problem is that if I deploy or change systemd unit file with ansible, just managing service won't do it because \`systemctl daemon-reload\` have to run for s…

---

## [understanding fetch module's security implications](https://forum.ansible.com/t/understanding-fetch-modules-security-implications/19932)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 6\
**Last updated:** [February 6, 2016, 7:52pm UTC](https://forum.ansible.com/t/understanding-fetch-modules-security-implications/19932 "2016-02-06T19:52:26Z")

</div>

Hi, I consider the ansible host as trusted, the target server that is managed with ansible is considered less trusted (it might start attacks against the ansible host). Does ansible's security design match that threa…

---

## [security guidelines for ansible role creators?](https://forum.ansible.com/t/security-guidelines-for-ansible-role-creators/20474)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 1\
**Last updated:** [February 6, 2016, 4:48pm UTC](https://forum.ansible.com/t/security-guidelines-for-ansible-role-creators/20474 "2016-02-06T16:48:23Z")

</div>

Hi, are there security guidelines for ansible role creators found somewhere that lists common security pitfalls that one should look at to avoid things like \[1\]\[2\] and other such cases? thanks! \[1\]https://github.com…

---

## [Proof of concept: Docker module state: reloaded testing](https://forum.ansible.com/t/proof-of-concept-docker-module-state-reloaded-testing/20473)

<div class="topic-metadata">

**Author:** [@alv2412](https://forum.ansible.com/u/alv2412)\
**Replies:** 1\
**Last updated:** [February 6, 2016, 1:52pm UTC](https://forum.ansible.com/t/proof-of-concept-docker-module-state-reloaded-testing/20473 "2016-02-06T13:52:06Z")

</div>

Hello, To avoid the various bugs in the Docker module related to state: reloaded we need some kind of automated testing. As a proof of concept I wrote a simple playbook that creates containers, applies some state chang…

---

## [expect module does not work with multiple prompts](https://forum.ansible.com/t/expect-module-does-not-work-with-multiple-prompts/19185)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 4\
**Last updated:** [February 6, 2016, 1:48pm UTC](https://forum.ansible.com/t/expect-module-does-not-work-with-multiple-prompts/19185 "2016-02-06T13:48:40Z")

</div>

Hi I have this task: \` tasks: expect: command: /path/to/bash/script.sh responses: '#? ': ‘5’ “\[y/N\]”: ‘y’ \` expect module correctly responds to first prompt, but not to second. It responds to second prompt wit…

---

## [\[2.0\]  tracebacks with no information?](https://forum.ansible.com/t/2-0-tracebacks-with-no-information/20470)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 1\
**Last updated:** [February 6, 2016, 4:32am UTC](https://forum.ansible.com/t/2-0-tracebacks-with-no-information/20470 "2016-02-06T04:32:00Z")

</div>

Ansible 2.0 I’ve got a fairly large hierarchy of nested Ansible scripts. When I run the main playbook: $ ansible-playbook -vvvv build.yml I get this giant traceback which contains, as far as I can see, no specific in…

---

## [another option besides sleep(1) in async\_wrapper](https://forum.ansible.com/t/another-option-besides-sleep-1-in-async-wrapper/20471)

<div class="topic-metadata">

**Author:** [@Casey\_Lucas](https://forum.ansible.com/u/Casey_Lucas)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 11:24pm UTC](https://forum.ansible.com/t/another-option-besides-sleep-1-in-async-wrapper/20471 "2016-02-05T23:24:25Z")

</div>

I run some tasks asynchronously (localhost against AWS) and noticed that the start time of a list of tasks (using with\_item) is always pretty much equal to the number of items in the list times 1 second. This startup tim…

---

## [Nested task includes when passed a list to iterate over, receive the list passed to the outermost parent.](https://forum.ansible.com/t/nested-task-includes-when-passed-a-list-to-iterate-over-receive-the-list-passed-to-the-outermost-parent/20469)

<div class="topic-metadata">

**Author:** [@Stewart\_M1](https://forum.ansible.com/u/Stewart_M1)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 8:17pm UTC](https://forum.ansible.com/t/nested-task-includes-when-passed-a-list-to-iterate-over-receive-the-list-passed-to-the-outermost-parent/20469 "2016-02-05T20:17:33Z")

</div>

Hi All, I raised this potential bug: https://github.com/ansible/ansible/issues/14325 which has been closed as being a current known limitation, together with a referral to the relevant docs (http://docs.ansible.com/an…

---

## [DEFUNCT procs: ansible not closing gracefully for unreachable hosts](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468)

<div class="topic-metadata">

**Author:** [@Fletcher\_Cocquyt](https://forum.ansible.com/u/Fletcher_Cocquyt)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 6:27pm UTC](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468 "2016-02-05T18:27:45Z")

</div>

Hi, I’ve been a happy ansible automation user for 3 months with 1032 hosts in our list. Security asked me to add 200+ hosts to the list - now I am seeing my daily ansible jobs result in hung / defunct processes NB: I …

---

## [ec2\_vpc versus ec2\_vpc\_net et al](https://forum.ansible.com/t/ec2-vpc-versus-ec2-vpc-net-et-al/20464)

<div class="topic-metadata">

**Author:** [@Jeff\_Hardy](https://forum.ansible.com/u/Jeff_Hardy)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 6:14pm UTC](https://forum.ansible.com/t/ec2-vpc-versus-ec2-vpc-net-et-al/20464 "2016-02-05T18:14:23Z")

</div>

I have been working up some playbooks and roles using the various vpc modules. With ec2\_vpc, it is possible to lay out vpc, subnets, and routes pretty much all-in-one, while doing the same with the newer (as of 2.0) ec2\_…

---

## [No changes happening under vm\_extra\_config?](https://forum.ansible.com/t/no-changes-happening-under-vm-extra-config/20463)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 2:30pm UTC](https://forum.ansible.com/t/no-changes-happening-under-vm-extra-config/20463 "2016-02-05T14:30:05Z")

</div>

Hi I’ve configured the below playbook which works fine, except for one thing…nothing is happening under the vm\_extra\_config section? Is there something that I have done wrong or is this a bug?

---

## [yumrepo module missing from OSX install package?](https://forum.ansible.com/t/yumrepo-module-missing-from-osx-install-package/20456)

<div class="topic-metadata">

**Author:** [@Allan\_Lang](https://forum.ansible.com/u/Allan_Lang)\
**Replies:** 2\
**Last updated:** [February 5, 2016, 2:12pm UTC](https://forum.ansible.com/t/yumrepo-module-missing-from-osx-install-package/20456 "2016-02-05T14:12:45Z")

</div>

Hi Just getting started with Ansible so apologies if this is a silly question. I’ve installed Ansible using the OS X .dmg package and I seem to be missing the yumrepo module, which I believe is an extras module, but doc…

---

## [Ansible command succeeded but playbook failed](https://forum.ansible.com/t/ansible-command-succeeded-but-playbook-failed/20461)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 12:34pm UTC](https://forum.ansible.com/t/ansible-command-succeeded-but-playbook-failed/20461 "2016-02-05T12:34:03Z")

</div>

Hi, When I execute ansible command, it return success result: root@\*\*\*\*temps# ansible release -m raw -u root -a “pwd” -c paramiko -k SSH password: 10.170.124.24 | SUCCESS | rc=0 \>\> /root But if I write this module …

---

## [The 'redis' python module is required, 'pip install redis'](https://forum.ansible.com/t/the-redis-python-module-is-required-pip-install-redis/20462)

<div class="topic-metadata">

**Author:** [@Sebastian\_Ortega](https://forum.ansible.com/u/Sebastian_Ortega)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 10:23am UTC](https://forum.ansible.com/t/the-redis-python-module-is-required-pip-install-redis/20462 "2016-02-05T10:23:58Z")

</div>

Hello, I'm having the same problem as in \[#12019\](https://github.com/ansible/ansible/issues/12019) but with a newer version of ansible. I'm writing here as \[@jimi-c\](https://github.com/jimi-c) warns about people not rea…

---

## [How to run a specific script of a role in playbook?](https://forum.ansible.com/t/how-to-run-a-specific-script-of-a-role-in-playbook/20460)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 8:56am UTC](https://forum.ansible.com/t/how-to-run-a-specific-script-of-a-role-in-playbook/20460 "2016-02-05T08:56:10Z")

</div>

Hi, How could I run just a specified script rather than the whole role? Appreciate your advice. hosts: ‘\*’ roles: { role: installation\_role/common.yml } Thank you. Kind regards, j

---

## [expect module throw exception when decoding responses dict](https://forum.ansible.com/t/expect-module-throw-exception-when-decoding-responses-dict/20444)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 4\
**Last updated:** [February 5, 2016, 6:38am UTC](https://forum.ansible.com/t/expect-module-throw-exception-when-decoding-responses-dict/20444 "2016-02-05T06:38:44Z")

</div>

Hi, When I ran this sample: expect: command: passwd master responses: (?i)password: “234567” sudo: yes register: hello name: Debug hello.stdout as part of a string debug: msg={{ hello.stdout }} Print all conte…

---

## [ERROR! duplicate loop in task: - please explain why](https://forum.ansible.com/t/error-duplicate-loop-in-task-please-explain-why/20262)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu1](https://forum.ansible.com/u/Steve_Kieu1)\
**Replies:** 4\
**Last updated:** [February 5, 2016, 6:16am UTC](https://forum.ansible.com/t/error-duplicate-loop-in-task-please-explain-why/20262 "2016-02-05T06:16:42Z")

</div>

Hi Team, I am trying ansible 2 and not sure why it got error below TASK \[postgres : include\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /home/stevek/ansible-jumbo/roles/postgres/tasks/main.yml:1…

---

## [clone git bare repo from local machne  to remote server.](https://forum.ansible.com/t/clone-git-bare-repo-from-local-machne-to-remote-server/20459)

<div class="topic-metadata">

**Author:** [@Praveen\_Singh](https://forum.ansible.com/u/Praveen_Singh)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 3:28am UTC](https://forum.ansible.com/t/clone-git-bare-repo-from-local-machne-to-remote-server/20459 "2016-02-05T03:28:06Z")

</div>

Hello, I think cloning a private repository from GitHub to remote server is quite a hassle. The steps are:- Create ssh key add it Github ssh keys copy private and public key to the remote server and clone Can I clone…

---

## [docker\_containers fact is empty when container already started](https://forum.ansible.com/t/docker-containers-fact-is-empty-when-container-already-started/20435)

<div class="topic-metadata">

**Author:** [@Clement\_Prevost](https://forum.ansible.com/u/Clement_Prevost)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 12:41am UTC](https://forum.ansible.com/t/docker-containers-fact-is-empty-when-container-already-started/20435 "2016-02-05T00:41:10Z")

</div>

Hi all, I’ve been trying the docker module as a way to provision containers for a local development environment. I’m facing some issues. I declare only one host in my inventory named docker-host I expect the docker m…

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

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