# Latest

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

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

**Page:** 796

---

## [CentOS Configuration Management SIG](https://forum.ansible.com/t/centos-configuration-management-sig/19445)

<div class="topic-metadata">

**Author:** [@Julien\_Pivotto](https://forum.ansible.com/u/Julien_Pivotto)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 7:17pm UTC](https://forum.ansible.com/t/centos-configuration-management-sig/19445 "2016-02-04T19:17:25Z")

</div>

Dear Ansible Developers, I would like to announce that I am bootstrapping a CentOS Configuration Management SIG. A SIG (Special Interest Group) is a group in the CentOS community who focuses on a specific goal. In th…

---

## [git clone error "directory is not empty "](https://forum.ansible.com/t/git-clone-error-directory-is-not-empty/20455)

<div class="topic-metadata">

**Author:** [@Ali\_Warrich](https://forum.ansible.com/u/Ali_Warrich)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 4:50pm UTC](https://forum.ansible.com/t/git-clone-error-directory-is-not-empty/20455 "2016-02-04T16:50:09Z")

</div>

I am trying to clone from git private repo. I have done all the other steps but when it reaches to pull sources from git, I suddenly got error that /var/www/ directory is not empty. I donot know how to tackle this issue.…

---

## [module keystone\_user deprecation](https://forum.ansible.com/t/module-keystone-user-deprecation/20454)

<div class="topic-metadata">

**Author:** [@Jeff\_Dexter](https://forum.ansible.com/u/Jeff_Dexter)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 3:56pm UTC](https://forum.ansible.com/t/module-keystone-user-deprecation/20454 "2016-02-04T15:56:26Z")

</div>

We have recently worked to move our playbooks to using Ansible v2. Currently we are using keystone\_user for doing a lot of the administrative tasks associated with configuring keystone. creating tenants, creating user …

---

## [Ansible 2 lookup plugin not found](https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451)

<div class="topic-metadata">

**Author:** [@Jeremy](https://forum.ansible.com/u/Jeremy)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 3:45pm UTC](https://forum.ansible.com/t/ansible-2-lookup-plugin-not-found/20451 "2016-02-04T15:45:35Z")

</div>

I am trying to convert from ansible 1.9 to 2.0 and am getting a lookup plugin not found error. I have all of my lookup plugins in a folder named lookup\_plugins in the root of my project. This worked in 1.x, but not anymo…

---

## [Do I need to use Kerberos or Windows domain authentication to have Ansible manage Windows servers?](https://forum.ansible.com/t/do-i-need-to-use-kerberos-or-windows-domain-authentication-to-have-ansible-manage-windows-servers/20400)

<div class="topic-metadata">

**Author:** [@Kiran1](https://forum.ansible.com/u/Kiran1)\
**Replies:** 4\
**Last updated:** [February 4, 2016, 3:42pm UTC](https://forum.ansible.com/t/do-i-need-to-use-kerberos-or-windows-domain-authentication-to-have-ansible-manage-windows-servers/20400 "2016-02-04T15:42:03Z")

</div>

I want to manage Windows servers with Ansible 1.9 running on a Linux server. I’d prefer to use a local Windows account without installing Moba SSH. I found very little documentation on how to set up Ansible with Windows…

---

## [question with aws ec2 exact\_count](https://forum.ansible.com/t/question-with-aws-ec2-exact-count/20453)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 3:39pm UTC](https://forum.ansible.com/t/question-with-aws-ec2-exact-count/20453 "2016-02-04T15:39:59Z")

</div>

Thought the task below would create 1 instance with the count\_tag “demo”, only if there wasn’t one running, but it’s creating a new instance every time. Am I using exact\_count incorrectly? name: spin up ec2 instance …

---

## [I am passing an extra-vars that is not working into a role.](https://forum.ansible.com/t/i-am-passing-an-extra-vars-that-is-not-working-into-a-role/20452)

<div class="topic-metadata">

**Author:** [@Grim76](https://forum.ansible.com/u/Grim76)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 3:39pm UTC](https://forum.ansible.com/t/i-am-passing-an-extra-vars-that-is-not-working-into-a-role/20452 "2016-02-04T15:39:57Z")

</div>

I have a role that I am calling for simple user administration. I appreciate any feedback on what I am doing. First of all here is the command line that I am running: ansible-playbook -i inventories/rd general\_users.ym…

---

## [winrm](https://forum.ansible.com/t/winrm/20426)

<div class="topic-metadata">

**Author:** [@Nikhil\_Shah](https://forum.ansible.com/u/Nikhil_Shah)\
**Replies:** 11\
**Last updated:** [February 4, 2016, 3:31pm UTC](https://forum.ansible.com/t/winrm/20426 "2016-02-04T15:31:58Z")

</div>

Nshah Feb 2, 12:42 Hello, I followed the guidelines in setting up a windows node. http://docs.ansible.com/ansible/intro\_windows.html#windows-system-prep I am using Windows 2008 R2, which had PowerShell 2.…

---

## [Ansible 2 doesn't show what a task does without "name:". Can I get the old behavior back (like in Ansible 1.x)?](https://forum.ansible.com/t/ansible-2-doesnt-show-what-a-task-does-without-name-can-i-get-the-old-behavior-back-like-in-ansible-1-x/20394)

<div class="topic-metadata">

**Author:** [@Mario\_R](https://forum.ansible.com/u/Mario_R)\
**Replies:** 2\
**Last updated:** [February 4, 2016, 3:20pm UTC](https://forum.ansible.com/t/ansible-2-doesnt-show-what-a-task-does-without-name-can-i-get-the-old-behavior-back-like-in-ansible-1-x/20394 "2016-02-04T15:20:54Z")

</div>

Hello In Ansible 1.x a line like this: lineinfile: dest=/root/.bashrc regexp=“^export VISUAL=” line=“export VISUAL=‘vim’” Gives the following output when I execute the playbook: TASK: \[lineinfile dest=/root/.bashrc …

---

## [ssh.config through ansible.cfg behaves differently then ssh.config direct](https://forum.ansible.com/t/ssh-config-through-ansible-cfg-behaves-differently-then-ssh-config-direct/20450)

<div class="topic-metadata">

**Author:** [@Jurgen\_Coetsiers](https://forum.ansible.com/u/Jurgen_Coetsiers)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 1:58pm UTC](https://forum.ansible.com/t/ssh-config-through-ansible-cfg-behaves-differently-then-ssh-config-direct/20450 "2016-02-04T13:58:04Z")

</div>

Hi, My ssh.config Host bastion User ansible HostName bastion-server ProxyCommand none IdentityFile ~/.ssh/id\_rsa BatchMode yes PasswordAuthentication no Host \* ServerAliveInterval 60 TCPKeepAlive yes ProxyCom…

---

## [Using a template for ansible\_host with inventory\_hostname breaks with delegation](https://forum.ansible.com/t/using-a-template-for-ansible-host-with-inventory-hostname-breaks-with-delegation/20449)

<div class="topic-metadata">

**Author:** [@Maximilian\_Gass](https://forum.ansible.com/u/Maximilian_Gass)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 1:52pm UTC](https://forum.ansible.com/t/using-a-template-for-ansible-host-with-inventory-hostname-breaks-with-delegation/20449 "2016-02-04T13:52:35Z")

</div>

Hello, I have a domain that I want to be appended to all hosts in the inventory. To reduce duplication, I thought I’d set ansible\_host={{inventory\_hostname}}.osf.credativ.lan. Unfortunately, this breaks with delegation…

---

## [Using ansible on windows with UAC enabled](https://forum.ansible.com/t/using-ansible-on-windows-with-uac-enabled/20420)

<div class="topic-metadata">

**Author:** [@Marc\_Farrow](https://forum.ansible.com/u/Marc_Farrow)\
**Replies:** 2\
**Last updated:** [February 4, 2016, 11:09am UTC](https://forum.ansible.com/t/using-ansible-on-windows-with-uac-enabled/20420 "2016-02-04T11:09:28Z")

</div>

Hi All, This is a basic question as I’m just getting started with Ansible. I’ve got this working perfectly on our Linux distributions but not on Windows. Our environment dictates we need UAC enabled and we cannot use t…

---

## ["role" variable](https://forum.ansible.com/t/role-variable/20442)

<div class="topic-metadata">

**Author:** [@Warren\_Seine](https://forum.ansible.com/u/Warren_Seine)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 10:34am UTC](https://forum.ansible.com/t/role-variable/20442 "2016-02-04T10:34:52Z")

</div>

Hi, In Ansible 1.9.4, I was able to use role as a variable to get the current role name. In Ansible 2, the variable does not seem to be defined. Any replacement? role\_path is defined so I could use {{ role\_path | basen…

---

## [Results after processing ansible script using Python](https://forum.ansible.com/t/results-after-processing-ansible-script-using-python/20446)

<div class="topic-metadata">

**Author:** [@Shreyas\_Patil](https://forum.ansible.com/u/Shreyas_Patil)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 9:44am UTC](https://forum.ansible.com/t/results-after-processing-ansible-script-using-python/20446 "2016-02-04T09:44:52Z")

</div>

Hi, I am trying to build a system for automated installations using python ansible. I am able to run the example program. But, I need to get feedback from the server to know whether my installation succeeded or failed w…

---

## [ERROR! Invalid shell type specified (bash), or the plugin for that shell type is missing.](https://forum.ansible.com/t/error-invalid-shell-type-specified-bash-or-the-plugin-for-that-shell-type-is-missing/18570)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 5\
**Last updated:** [February 4, 2016, 7:39am UTC](https://forum.ansible.com/t/error-invalid-shell-type-specified-bash-or-the-plugin-for-that-shell-type-is-missing/18570 "2016-02-04T07:39:19Z")

</div>

Hi, To ensure that all our playbooks continue running on the upcoming Ansible 2.0, I decided to give it a test run. Did a clean checkout in a new tree and attempted to run my playbooks, sadly I immediately run into an …

---

## [Need help with nested variables to use in a "when:" directive inside of a role playbook](https://forum.ansible.com/t/need-help-with-nested-variables-to-use-in-a-when-directive-inside-of-a-role-playbook/20425)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 7:21am UTC](https://forum.ansible.com/t/need-help-with-nested-variables-to-use-in-a-when-directive-inside-of-a-role-playbook/20425 "2016-02-04T07:21:41Z")

</div>

I have a requirement to create directories only if the specified user(s) exist on the remote host… given my role defintion below, what is the proper syntax to use with “when” (or other method) to only create the director…

---

## [parameterized first found](https://forum.ansible.com/t/parameterized-first-found/20218)

<div class="topic-metadata">

**Author:** [@vadimv\_Vatlin](https://forum.ansible.com/u/vadimv_Vatlin)\
**Replies:** 4\
**Last updated:** [February 3, 2016, 7:58pm UTC](https://forum.ansible.com/t/parameterized-first-found/20218 "2016-02-03T19:58:37Z")

</div>

This code works with ansible 1.9.4 name: Configure user parameters template: src={{ lookup(‘first\_found’, \[ ‘userparameter\_’ + item + ‘’ + ansible\_pkg\_mgr + ‘.j2’, 'userparameter’ + item + ‘.j2’ \]) }} dest=/etc/zabbi…

---

## [bug with "become" and "delegate\_to" directives and loops with Ansible 2](https://forum.ansible.com/t/bug-with-become-and-delegate-to-directives-and-loops-with-ansible-2/20441)

<div class="topic-metadata">

**Author:** [@fabix](https://forum.ansible.com/u/fabix)\
**Replies:** 1\
**Last updated:** [February 3, 2016, 4:44pm UTC](https://forum.ansible.com/t/bug-with-become-and-delegate-to-directives-and-loops-with-ansible-2/20441 "2016-02-03T16:44:36Z")

</div>

I’ve written this little playbook to show the problem: \` name: test become hosts: localhost serial: 1 tasks: name: create test directories file: path=/tmp/test/{{ item }} state=directory with\_items: one two dele…

---

## [Callbacks: v2\_runner\_on\_ok vs v2\_playbook\_item\_on\_ok?](https://forum.ansible.com/t/callbacks-v2-runner-on-ok-vs-v2-playbook-item-on-ok/20434)

<div class="topic-metadata">

**Author:** [@Konstantin\_Suvorov](https://forum.ansible.com/u/Konstantin_Suvorov)\
**Replies:** 1\
**Last updated:** [February 3, 2016, 2:26pm UTC](https://forum.ansible.com/t/callbacks-v2-runner-on-ok-vs-v2-playbook-item-on-ok/20434 "2016-02-03T14:26:26Z")

</div>

Hello. I need to get some feedback from ansible runs. I use custom callbacks for this task. Could someone describe difference between v2\_runner\_on\_ok vs v2\_playbook\_item\_on\_ok methods? During my test runs I see that t…

---

## [SSH Issue with HP switch Comware 7](https://forum.ansible.com/t/ssh-issue-with-hp-switch-comware-7/20433)

<div class="topic-metadata">

**Author:** [@user34](https://forum.ansible.com/u/user34)\
**Replies:** 3\
**Last updated:** [February 3, 2016, 12:50pm UTC](https://forum.ansible.com/t/ssh-issue-with-hp-switch-comware-7/20433 "2016-02-03T12:50:41Z")

</div>

Hi! I am trying to establish SSH connection to HP switch and process simple commands on it. Unfortunately, couple days of working on this task was not successful. I am working on Mac, ansible version 2.0. Command that I…

---

## [Ansible fails to pass a simple shell command to an AIX server : error message "SyntaxError: invalid syntax\\r\\n", "msg": "MODULE FAILURE"](https://forum.ansible.com/t/ansible-fails-to-pass-a-simple-shell-command-to-an-aix-server-error-message-syntaxerror-invalid-syntax-r-n-msg-module-failure/20428)

<div class="topic-metadata">

**Author:** [@Coolman](https://forum.ansible.com/u/Coolman)\
**Replies:** 1\
**Last updated:** [February 3, 2016, 12:28pm UTC](https://forum.ansible.com/t/ansible-fails-to-pass-a-simple-shell-command-to-an-aix-server-error-message-syntaxerror-invalid-syntax-r-n-msg-module-failure/20428 "2016-02-03T12:28:49Z")

</div>

Hello there, I have the following error message when I run a simple playbook with (“ls -l” shell a command). Could help me to find out what is wrong here ? Below is the debug error message : TASK \[setup\] \*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible Python API 2.0](https://forum.ansible.com/t/ansible-python-api-2-0/20437)

<div class="topic-metadata">

**Author:** [@Shreyas\_Patil](https://forum.ansible.com/u/Shreyas_Patil)\
**Replies:** 0\
**Last updated:** [February 3, 2016, 12:26pm UTC](https://forum.ansible.com/t/ansible-python-api-2-0/20437 "2016-02-03T12:26:59Z")

</div>

Hi, I am trying to build an ansible system using its Python API. But, documentation related to any of the API’s is just not available anywhere on the ansible website. I would be grateful to anyone who can route me to a…

---

## [Access facts in custom filter plugin](https://forum.ansible.com/t/access-facts-in-custom-filter-plugin/20419)

<div class="topic-metadata">

**Author:** [@Lukasz\_Gorski1](https://forum.ansible.com/u/Lukasz_Gorski1)\
**Replies:** 2\
**Last updated:** [February 3, 2016, 10:23am UTC](https://forum.ansible.com/t/access-facts-in-custom-filter-plugin/20419 "2016-02-03T10:23:11Z")

</div>

Hi there, First post here, if something is amiss on my part, please bear with me. How do I access facts in my own filter plugin? I know I can (and did) write a function and pass the fact as an argument, but perhaps it …

---

## [host\_vars with .yml](https://forum.ansible.com/t/host-vars-with-yml/20423)

<div class="topic-metadata">

**Author:** [@Warren\_Seine](https://forum.ansible.com/u/Warren_Seine)\
**Replies:** 3\
**Last updated:** [February 3, 2016, 9:55am UTC](https://forum.ansible.com/t/host-vars-with-yml/20423 "2016-02-03T09:55:20Z")

</div>

Hi, I’m wondering why Ansible picks my variable file when it’s called host\_vars/local, but not host\_vars/local.yml. Can I set a configuration flag to change this behavior? Thanks, Warren.

---

## [Apt Module report Change at Upgrade process](https://forum.ansible.com/t/apt-module-report-change-at-upgrade-process/20381)

<div class="topic-metadata">

**Author:** [@Dennis\_Philpot](https://forum.ansible.com/u/Dennis_Philpot)\
**Replies:** 3\
**Last updated:** [February 3, 2016, 7:20am UTC](https://forum.ansible.com/t/apt-module-report-change-at-upgrade-process/20381 "2016-02-03T07:20:58Z")

</div>

Hi Group, it seems i have a minor “problem” while doing some experiments with the ansible apt module. The upgrade process always reports a change, even if there is nothing todo. base.yml \` name: Install the minimum …

---

## [local\_action fails to find module in Ansible 2.0 (delegate\_to works)](https://forum.ansible.com/t/local-action-fails-to-find-module-in-ansible-2-0-delegate-to-works/20427)

<div class="topic-metadata">

**Author:** [@bryan.yu](https://forum.ansible.com/u/bryan.yu)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 10:31pm UTC](https://forum.ansible.com/t/local-action-fails-to-find-module-in-ansible-2-0-delegate-to-works/20427 "2016-02-02T22:31:04Z")

</div>

Upgraded to ansible 2.0.0.2 from 1.9.4 and noticed that after creating a new ec2 instance the wait\_for module failed when using local\_action: Here’s my play and the output: name: Wait for SSH to come up local\_action: …

---

## [vsphere\_client: vm\_extra\_config ignored with template](https://forum.ansible.com/t/vsphere-client-vm-extra-config-ignored-with-template/20424)

<div class="topic-metadata">

**Author:** [@John\_Grinwis](https://forum.ansible.com/u/John_Grinwis)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 7:36pm UTC](https://forum.ansible.com/t/vsphere-client-vm-extra-config-ignored-with-template/20424 "2016-02-02T19:36:20Z")

</div>

Hi, we’re doing some test with deploying a Juniper vSRX on our VMware environment using Ansible 2.1.0 This vSRX can configure itself if you add machine.id with some parameters to the .vmx file. But if we try to use th…

---

## [Display "shell" or "command" STDOUT/STDERR in real time as they execute](https://forum.ansible.com/t/display-shell-or-command-stdout-stderr-in-real-time-as-they-execute/20422)

<div class="topic-metadata">

**Author:** [@John\_Leo\_Huetter](https://forum.ansible.com/u/John_Leo_Huetter)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 7:20pm UTC](https://forum.ansible.com/t/display-shell-or-command-stdout-stderr-in-real-time-as-they-execute/20422 "2016-02-02T19:20:44Z")

</div>

Hello, I have seen previous posts on this topic but wanted to ask again hoping this is something we are considering now … Problem: When using Ansible to remotely execute command/shell commands, we cannot see the STDOU…

---

## [Evaluate variable immediately, save for later](https://forum.ansible.com/t/evaluate-variable-immediately-save-for-later/20415)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 2\
**Last updated:** [February 2, 2016, 6:20pm UTC](https://forum.ansible.com/t/evaluate-variable-immediately-save-for-later/20415 "2016-02-02T18:20:01Z")

</div>

Hey, so I have the following sequence where I first register a variable, then want to evaluate stats from it later but I want the stats from when the variable was first created. What is the best way to do this? I could …

---

## [win\_template Illegal characters in path](https://forum.ansible.com/t/win-template-illegal-characters-in-path/20413)

<div class="topic-metadata">

**Author:** [@Joe\_Levis](https://forum.ansible.com/u/Joe_Levis)\
**Replies:** 2\
**Last updated:** [February 2, 2016, 4:27pm UTC](https://forum.ansible.com/t/win-template-illegal-characters-in-path/20413 "2016-02-02T16:27:19Z")

</div>

Not sure what I’m doing wrong here. I’ve tried all different styles of configuration with no success. I’m trying to templatize a config file on a Windows Server 2012 R2, but it’s throwing the below error: “failed”: true…

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

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