# Latest

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

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

**Page:** 806

---

## [win\_updates not working](https://forum.ansible.com/t/win-updates-not-working/19170)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 17\
**Last updated:** [January 6, 2016, 9:17pm UTC](https://forum.ansible.com/t/win-updates-not-working/19170 "2016-01-06T21:17:42Z")

</div>

I’m trying to use the extras module win\_updates to update my Windows servers. The play runs without failure, but no updates are applied. Ideally, I want the install all available updates (e.g. critical, important, optio…

---

## [common file dependencies for roles](https://forum.ansible.com/t/common-file-dependencies-for-roles/20124)

<div class="topic-metadata">

**Author:** [@Yoshi\_Spendiff1](https://forum.ansible.com/u/Yoshi_Spendiff1)\
**Replies:** 4\
**Last updated:** [January 6, 2016, 4:46pm UTC](https://forum.ansible.com/t/common-file-dependencies-for-roles/20124 "2016-01-06T16:46:12Z")

</div>

Hi, I’m wondering if anyone knows of any tricks for neatly handling common file dependencies for roles. I initially thought having a common dependent role in meta/main.yml would facilitate this but apparently dependenci…

---

## [Ansible ad-hoc does not find commands which are available in interactive shells](https://forum.ansible.com/t/ansible-ad-hoc-does-not-find-commands-which-are-available-in-interactive-shells/20132)

<div class="topic-metadata">

**Author:** [@Simon\_Szustkowski](https://forum.ansible.com/u/Simon_Szustkowski)\
**Replies:** 0\
**Last updated:** [January 6, 2016, 2:49pm UTC](https://forum.ansible.com/t/ansible-ad-hoc-does-not-find-commands-which-are-available-in-interactive-shells/20132 "2016-01-06T14:49:36Z")

</div>

Hi everyone, i am currently experiencing some newbie problems, i think. I want to execute ansible with an ad-hoc command so that each machine fetches the latest version of my dotfiles which are managed by mr and vcsh. …

---

## [Abort Playbook on Play Failure](https://forum.ansible.com/t/abort-playbook-on-play-failure/20106)

<div class="topic-metadata">

**Author:** [@James\_Lucas](https://forum.ansible.com/u/James_Lucas)\
**Replies:** 3\
**Last updated:** [January 6, 2016, 5:36am UTC](https://forum.ansible.com/t/abort-playbook-on-play-failure/20106 "2016-01-06T05:36:56Z")

</div>

I’m trying to use Ansible to automate the creation of Amazon machine images. The basic process is: 1) create an instance 2) run ansible play on that instance 3) convert that instance to an AMI Right now I’m cramming all…

---

## [Correct way to use fail module and negative conditionals](https://forum.ansible.com/t/correct-way-to-use-fail-module-and-negative-conditionals/20050)

<div class="topic-metadata">

**Author:** [@CyberCyber](https://forum.ansible.com/u/CyberCyber)\
**Replies:** 3\
**Last updated:** [January 6, 2016, 12:53am UTC](https://forum.ansible.com/t/correct-way-to-use-fail-module-and-negative-conditionals/20050 "2016-01-06T00:53:52Z")

</div>

I am trying to use the fail module at the very beginning of my playbook to check if the target server is a specific distribution and version. This way I can stop the playbook from running early on before any making any c…

---

## [trouble creating symbolic link](https://forum.ansible.com/t/trouble-creating-symbolic-link/11580)

<div class="topic-metadata">

**Author:** [@Suraj\_Gupta](https://forum.ansible.com/u/Suraj_Gupta)\
**Replies:** 22\
**Last updated:** [January 5, 2016, 11:20pm UTC](https://forum.ansible.com/t/trouble-creating-symbolic-link/11580 "2016-01-05T23:20:26Z")

</div>

hi! I’m trying to create a symbol link using the file module example: file src=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link Unfortunately, ansible-playbook gives me the following error: failed…

---

## [Creating symlinks and their parent directories](https://forum.ansible.com/t/creating-symlinks-and-their-parent-directories/20095)

<div class="topic-metadata">

**Author:** [@Chris\_White](https://forum.ansible.com/u/Chris_White)\
**Replies:** 5\
**Last updated:** [January 5, 2016, 9:17pm UTC](https://forum.ansible.com/t/creating-symlinks-and-their-parent-directories/20095 "2016-01-05T21:17:11Z")

</div>

Hey guys, After reading the file documentation a few times, doing some testing and doing some preliminary searching here I hopefully have a quick question for you. I’m working on automating my personal dev environment …

---

## [Get other group variables](https://forum.ansible.com/t/get-other-group-variables/20128)

<div class="topic-metadata">

**Author:** [@geoffrey.montel](https://forum.ansible.com/u/geoffrey.montel)\
**Replies:** 2\
**Last updated:** [January 5, 2016, 8:04pm UTC](https://forum.ansible.com/t/get-other-group-variables/20128 "2016-01-05T20:04:33Z")

</div>

Hello everyone ! I’m digging into Ansible capabilities a bit further, and I’m looking to implement with a beautiful manner the concept of VIP. To do so, I implemented this variable in the group\_vars of my inventory: g…

---

## [Could not able to connect to AWS instance through Ansible Tower](https://forum.ansible.com/t/could-not-able-to-connect-to-aws-instance-through-ansible-tower/20130)

<div class="topic-metadata">

**Author:** [@Bhotu](https://forum.ansible.com/u/Bhotu)\
**Replies:** 1\
**Last updated:** [January 5, 2016, 7:53pm UTC](https://forum.ansible.com/t/could-not-able-to-connect-to-aws-instance-through-ansible-tower/20130 "2016-01-05T19:53:51Z")

</div>

I am currently working with AWS Cloud instance on Ansible tower. I followed all the procedures same as the documentation. When I ran my playbook, it shows me “Unreachable”. I have got SSH Error, Saying permission den…

---

## [apt-get autoremove - how to use it and how to check that it is doing what it should ?](https://forum.ansible.com/t/apt-get-autoremove-how-to-use-it-and-how-to-check-that-it-is-doing-what-it-should/20109)

<div class="topic-metadata">

**Author:** [@Wayne\_Pascoe](https://forum.ansible.com/u/Wayne_Pascoe)\
**Replies:** 4\
**Last updated:** [January 5, 2016, 7:30pm UTC](https://forum.ansible.com/t/apt-get-autoremove-how-to-use-it-and-how-to-check-that-it-is-doing-what-it-should/20109 "2016-01-05T19:30:59Z")

</div>

Hi all, I’m trying to create some simple playbooks to manage a few hosts. One of the tasks I’m trying to complete is to autoremove unneeded packages. I’m using Ansible 2.1.0 on Ubuntu 14.04 (control machine and managed …

---

## [local facts (facts.d) and mount module](https://forum.ansible.com/t/local-facts-facts-d-and-mount-module/20126)

<div class="topic-metadata">

**Author:** [@Marten\_Bauer](https://forum.ansible.com/u/Marten_Bauer)\
**Replies:** 1\
**Last updated:** [January 5, 2016, 7:09pm UTC](https://forum.ansible.com/t/local-facts-facts-d-and-mount-module/20126 "2016-01-05T19:09:35Z")

</div>

Hey, I create the following local facts file in /etc/ansible/facts.d/mount.fact: \[ { "name": "/mastersystem", "src": "/dev/sda1", "fstype": "ext3", "state": "mounted", …

---

## [Async tasks running Bash scripts with background jobs](https://forum.ansible.com/t/async-tasks-running-bash-scripts-with-background-jobs/20127)

<div class="topic-metadata">

**Author:** [@Tomasz\_Kuchta](https://forum.ansible.com/u/Tomasz_Kuchta)\
**Replies:** 1\
**Last updated:** [January 5, 2016, 6:44pm UTC](https://forum.ansible.com/t/async-tasks-running-bash-scripts-with-background-jobs/20127 "2016-01-05T18:44:29Z")

</div>

Hi All, I have an async command that is invoking a Bash script. The script invokes some other scripts in background (using “&”). I have noticed that the background command is either not called or it terminates immedia…

---

## [Dynamic Inventory Error](https://forum.ansible.com/t/dynamic-inventory-error/20096)

<div class="topic-metadata">

**Author:** [@Leon\_Pinkney](https://forum.ansible.com/u/Leon_Pinkney)\
**Replies:** 3\
**Last updated:** [January 5, 2016, 4:51pm UTC](https://forum.ansible.com/t/dynamic-inventory-error/20096 "2016-01-05T16:51:50Z")

</div>

Hi All, I have been using Ansible for a few months now and have started to create some custom python scripts to enable me to implement tasks I haven’t otherwise been able to do within standard playbooks. My inventory f…

---

## [Install packages in recently created EC2 instances](https://forum.ansible.com/t/install-packages-in-recently-created-ec2-instances/20125)

<div class="topic-metadata">

**Author:** [@Gustavo\_Aguiar](https://forum.ansible.com/u/Gustavo_Aguiar)\
**Replies:** 3\
**Last updated:** [January 5, 2016, 4:46pm UTC](https://forum.ansible.com/t/install-packages-in-recently-created-ec2-instances/20125 "2016-01-05T16:46:40Z")

</div>

Hi All, I’m trying to install the httpd package in recently created EC2 instances in my playbook. I have multiple playbooks in different roles that are being invoked at once. When I get to add my recently created EC2 …

---

## [Oddity with alternatives module in Ansible 1.9.4?](https://forum.ansible.com/t/oddity-with-alternatives-module-in-ansible-1-9-4/20114)

<div class="topic-metadata">

**Author:** [@H\_Wade\_Minter](https://forum.ansible.com/u/H_Wade_Minter)\
**Replies:** 2\
**Last updated:** [January 5, 2016, 2:56pm UTC](https://forum.ansible.com/t/oddity-with-alternatives-module-in-ansible-1-9-4/20114 "2016-01-05T14:56:17Z")

</div>

Hi all, I was trying to use the alternatives module to set up a new version of Ruby with Ansible 1.9.4 (both ends), and ran into problems. I used the apt module to uninstall Ruby 2.1 and to install Ruby 2.2. Then, I wa…

---

## [Get other hosts group vars](https://forum.ansible.com/t/get-other-hosts-group-vars/20129)

<div class="topic-metadata">

**Author:** [@geoffrey.montel](https://forum.ansible.com/u/geoffrey.montel)\
**Replies:** 0\
**Last updated:** [January 5, 2016, 2:13pm UTC](https://forum.ansible.com/t/get-other-hosts-group-vars/20129 "2016-01-05T14:13:28Z")

</div>

Hello everyone ! I’m digging into Ansible capabilities a bit further, and I’m looking to implement with a beautiful manner the concept of VIP. To do so, I implemented this variable in the group\_vars of my inventory: g…

---

## [ansible rax not picking up virtualenv python executable](https://forum.ansible.com/t/ansible-rax-not-picking-up-virtualenv-python-executable/20103)

<div class="topic-metadata">

**Author:** [@chinedu\_uzoka](https://forum.ansible.com/u/chinedu_uzoka)\
**Replies:** 2\
**Last updated:** [January 5, 2016, 9:44am UTC](https://forum.ansible.com/t/ansible-rax-not-picking-up-virtualenv-python-executable/20103 "2016-01-05T09:44:25Z")

</div>

Hi I have a site spectific module for deploying cloud objects on Rackspaces platform. The objects created are the following: networks, vyatta and cloud servers. I use rax.py that i have symlinked to 4 inventory director…

---

## [Callback plugin didn't work with Ansible v2.0](https://forum.ansible.com/t/callback-plugin-didnt-work-with-ansible-v2-0/20108)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [January 5, 2016, 6:29am UTC](https://forum.ansible.com/t/callback-plugin-didnt-work-with-ansible-v2-0/20108 "2016-01-05T06:29:43Z")

</div>

I am using Ansible v2.0 and using this plugin, which shows the time that each task consume and here is my directory struture: . ├── aws.yml ├── callback\_plugins │ ├── profile\_tasks.py ├── inventory │ └── hosts ├──…

---

## [directory layout for grouping playbooks - ansible.cfg ?](https://forum.ansible.com/t/directory-layout-for-grouping-playbooks-ansible-cfg/18329)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 4\
**Last updated:** [January 5, 2016, 4:28am UTC](https://forum.ansible.com/t/directory-layout-for-grouping-playbooks-ansible-cfg/18329 "2016-01-05T04:28:14Z")

</div>

Hi, we have several playbooks and roles in our project so I try to organize them in that way: \\---deployment \\---trunk| ansible.cfg\` app1.yml | ....yml | app\[N\].yml ±–files ±–filter\_plugins ±–group\_vars ±–libra…

---

## [failed while connecting to remote hosts](https://forum.ansible.com/t/failed-while-connecting-to-remote-hosts/20123)

<div class="topic-metadata">

**Author:** [@Ravi\_Kavali](https://forum.ansible.com/u/Ravi_Kavali)\
**Replies:** 1\
**Last updated:** [January 5, 2016, 2:33am UTC](https://forum.ansible.com/t/failed-while-connecting-to-remote-hosts/20123 "2016-01-05T02:33:38Z")

</div>

able to connect few hosts but not all, i get the following error hostnamexxx | FAILED \>\> {“failed”: true, “msg”: “\\r\\nSorry, user user123 is not allowed to execute ‘/bin/sh -c echo BECOME-SUCCESS-ulmhjizflgyappzkndibayk…

---

## [jinja2 template default not working when variable is not defined](https://forum.ansible.com/t/jinja2-template-default-not-working-when-variable-is-not-defined/20116)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 3\
**Last updated:** [January 4, 2016, 10:00pm UTC](https://forum.ansible.com/t/jinja2-template-default-not-working-when-variable-is-not-defined/20116 "2016-01-04T22:00:17Z")

</div>

Hello all, please can someone help me explain why this jinja2 template fail if I have not defined wildfly\_memory\_settings ? JAVA\_OPTS=“-Xms{{ wildfly\_memory\_settings.Xms | default(‘64m’) }} -Xmx{{ wildfly\_memory\_setting…

---

## [Handling Retries](https://forum.ansible.com/t/handling-retries/20121)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 1\
**Last updated:** [January 4, 2016, 8:28pm UTC](https://forum.ansible.com/t/handling-retries/20121 "2016-01-04T20:28:30Z")

</div>

Like many, I’m having problems figuring out how to handle situations where one endpoint out of several fails when running a playbook. One obvious approach is to create logic in my calling scripts (mostly bash) which wil…

---

## [Issue with conditionals](https://forum.ansible.com/t/issue-with-conditionals/20120)

<div class="topic-metadata">

**Author:** [@Eugene\_Romero](https://forum.ansible.com/u/Eugene_Romero)\
**Replies:** 3\
**Last updated:** [January 4, 2016, 7:17pm UTC](https://forum.ansible.com/t/issue-with-conditionals/20120 "2016-01-04T19:17:04Z")

</div>

Hi guys! I’m experiencing an interesting issue that I can’t figure out. Every host in my inventory file has an “alias” variable assigned to it. Now, I’m trying to run a template play on some of the hosts: name: Hosts…

---

## [nesting dictionary vars in vars](https://forum.ansible.com/t/nesting-dictionary-vars-in-vars/20097)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 2\
**Last updated:** [January 4, 2016, 6:00pm UTC](https://forum.ansible.com/t/nesting-dictionary-vars-in-vars/20097 "2016-01-04T18:00:23Z")

</div>

Hey so I am trying to loop through a dictionary list of servers I want to create, and want to evaluate some variables based on the iteration I am on. I am not sure if I has a syntax error or I am trying something not sup…

---

## [ansible-playbook command fails when target is selinux-enabled, but I don't have root access, so I cannot sudo yum install](https://forum.ansible.com/t/ansible-playbook-command-fails-when-target-is-selinux-enabled-but-i-dont-have-root-access-so-i-cannot-sudo-yum-install/20117)

<div class="topic-metadata">

**Author:** [@Michael\_Wright](https://forum.ansible.com/u/Michael_Wright)\
**Replies:** 0\
**Last updated:** [January 4, 2016, 3:37pm UTC](https://forum.ansible.com/t/ansible-playbook-command-fails-when-target-is-selinux-enabled-but-i-dont-have-root-access-so-i-cannot-sudo-yum-install/20117 "2016-01-04T15:37:21Z")

</div>

I’m trying to use ansible to automate some application tasks across servers in a cloud-based network. I have ssh access to these servers, but I do not have the ability to sudo to root on any of them. I can use the ansibl…

---

## [How to change the python path of the target machine when running ansible?](https://forum.ansible.com/t/how-to-change-the-python-path-of-the-target-machine-when-running-ansible/20111)

<div class="topic-metadata">

**Author:** [@Sivaram\_Kannan](https://forum.ansible.com/u/Sivaram_Kannan)\
**Replies:** 1\
**Last updated:** [January 4, 2016, 3:25pm UTC](https://forum.ansible.com/t/how-to-change-the-python-path-of-the-target-machine-when-running-ansible/20111 "2016-01-04T15:25:59Z")

</div>

Hi, I am testing ansible in CoreOS. I kind of set it up with pypy and it works. When I run a ping of a remote machine “ansible all -m ping” - I am getting the below error. msg": “/bin/sh: /usr/bin/python: No such file …

---

## [How to pass a variable to a filter plugin ?](https://forum.ansible.com/t/how-to-pass-a-variable-to-a-filter-plugin/20105)

<div class="topic-metadata">

**Author:** [@Gustavo\_Aguiar](https://forum.ansible.com/u/Gustavo_Aguiar)\
**Replies:** 2\
**Last updated:** [January 4, 2016, 2:57pm UTC](https://forum.ansible.com/t/how-to-pass-a-variable-to-a-filter-plugin/20105 "2016-01-04T14:57:08Z")

</div>

Hi All, First of all, Happy New Year to everybody. :slight\_smile: I would like to know if it is possible to pass a variable to a filter. I have this code that works with a predefined text: "{{ ec2\_vpc\_out.subnets | g…

---

## [Any interest in docker-machine modules?](https://forum.ansible.com/t/any-interest-in-docker-machine-modules/20113)

<div class="topic-metadata">

**Author:** [@Jonathan\_Rowlands](https://forum.ansible.com/u/Jonathan_Rowlands)\
**Replies:** 1\
**Last updated:** [January 4, 2016, 2:53pm UTC](https://forum.ansible.com/t/any-interest-in-docker-machine-modules/20113 "2016-01-04T14:53:07Z")

</div>

Greetings! I created a primitive suite of docker-machine modules: https://github.com/jgrowl/ansible-docker-machine You can create playbooks like: hosts: 127.0.0.1 connection: local tasks: docker\_machine\_d…

---

## [Ansible json schema validation](https://forum.ansible.com/t/ansible-json-schema-validation/20115)

<div class="topic-metadata">

**Author:** [@chris85lang](https://forum.ansible.com/u/chris85lang)\
**Replies:** 0\
**Last updated:** [January 4, 2016, 10:40am UTC](https://forum.ansible.com/t/ansible-json-schema-validation/20115 "2016-01-04T10:40:33Z")

</div>

Hello, I want to pull json files from a git repository, validate them against a given schema and if successful and further process them if successful. I already find some documentation about how to pull from git with a…

---

## [Bad Google results for Ansible docs](https://forum.ansible.com/t/bad-google-results-for-ansible-docs/20112)

<div class="topic-metadata">

**Author:** [@Tom\_Bamford1](https://forum.ansible.com/u/Tom_Bamford1)\
**Replies:** 1\
**Last updated:** [January 4, 2016, 2:46am UTC](https://forum.ansible.com/t/bad-google-results-for-ansible-docs/20112 "2016-01-04T02:46:01Z")

</div>

Hi all I had thought the Ansible docs site was down, but it looks like the URL structure has changed and previous URLs indexed by Google are not being redirected. For example, these results: https://www.google.co.za/se…

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

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