# Latest

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

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

**Page:** 631

---

## [Inconsistency in variable interpretation in ignore\_errors when combined with with\_items ...](https://forum.ansible.com/t/inconsistency-in-variable-interpretation-in-ignore-errors-when-combined-with-with-items/25282)

<div class="topic-metadata">

**Author:** [@G\_Sudduth](https://forum.ansible.com/u/G_Sudduth)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 4:10pm UTC](https://forum.ansible.com/t/inconsistency-in-variable-interpretation-in-ignore-errors-when-combined-with-with-items/25282 "2017-08-23T16:10:30Z")

</div>

Hi, So, I have a task …

---

## [win\_get\_url terrible performance, help on metric gathering and troubleshooting?](https://forum.ansible.com/t/win-get-url-terrible-performance-help-on-metric-gathering-and-troubleshooting/25312)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 1:36pm UTC](https://forum.ansible.com/t/win-get-url-terrible-performance-help-on-metric-gathering-and-troubleshooting/25312 "2017-08-23T13:36:12Z")

</div>

I have an IIS web server and 13 Windows 7 computers on the same VLAN. On each Windows 7 computer I want to win\_get\_url a 182M file from the IIS server. Here is the ansible play name: download installer files win\_get…

---

## [Ansible on Windows (with credssp) running into issues.](https://forum.ansible.com/t/ansible-on-windows-with-credssp-running-into-issues/25311)

<div class="topic-metadata">

**Author:** [@Vishnu\_V\_Potti](https://forum.ansible.com/u/Vishnu_V_Potti)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 1:26pm UTC](https://forum.ansible.com/t/ansible-on-windows-with-credssp-running-into-issues/25311 "2017-08-23T13:26:30Z")

</div>

Hi, I am trying to control a windows 2016 server host using Ansible control machine( CentOS) I followed the steps mentioned in http://docs.ansible.com/ansible/latest/intro\_windows.html#id18 But I ran into issues and n…

---

## [Ansible role dependcies/requirements.yml](https://forum.ansible.com/t/ansible-role-dependcies-requirements-yml/25306)

<div class="topic-metadata">

**Author:** [@smitconsultant2017](https://forum.ansible.com/u/smitconsultant2017)\
**Replies:** 3\
**Last updated:** [August 23, 2017, 10:04am UTC](https://forum.ansible.com/t/ansible-role-dependcies-requirements-yml/25306 "2017-08-23T10:04:30Z")

</div>

Hi How can I use/configure requirements.yml? I have configured roles for all 3 groups , one role for each group. Inside every role/tasks/main.yml I have include file include: status check playbook.yml Master playbook…

---

## [Ansible custom module to start long running process](https://forum.ansible.com/t/ansible-custom-module-to-start-long-running-process/25313)

<div class="topic-metadata">

**Author:** [@senthil-t](https://forum.ansible.com/u/senthil-t)\
**Replies:** 0\
**Last updated:** [August 23, 2017, 8:02am UTC](https://forum.ansible.com/t/ansible-custom-module-to-start-long-running-process/25313 "2017-08-23T08:02:56Z")

</div>

Hi, I’m developing a “custom ansible module” to start a long running background process on the remote host. As per the response for the post https://github.com/ansible/ansible/issues/28264, Ansible connection stays un…

---

## [Non Standard SSH Login](https://forum.ansible.com/t/non-standard-ssh-login/25225)

<div class="topic-metadata">

**Author:** [@Lupe\_Silva](https://forum.ansible.com/u/Lupe_Silva)\
**Replies:** 5\
**Last updated:** [August 23, 2017, 3:24am UTC](https://forum.ansible.com/t/non-standard-ssh-login/25225 "2017-08-23T03:24:09Z")

</div>

I am looking to use ansible with my Dell X1000 series switches. There is no network modules for these switches which is fine for me. I plan to use the raw module. My issue is that when you connect to these switches via …

---

## [Plugins and roles](https://forum.ansible.com/t/plugins-and-roles/25299)

<div class="topic-metadata">

**Author:** [@Stiv\_Ostenberg](https://forum.ansible.com/u/Stiv_Ostenberg)\
**Replies:** 5\
**Last updated:** [August 22, 2017, 11:22pm UTC](https://forum.ansible.com/t/plugins-and-roles/25299 "2017-08-22T23:22:34Z")

</div>

Having a devil of a time writing my first plugin. The idea is simple, but the examples I find are not helping as much as I had hoped. First off, to make life more interesting, the plugin is one that is needed for a role…

---

## [ERROR! Unexpected Exception: No module named jinja2.exceptions](https://forum.ansible.com/t/error-unexpected-exception-no-module-named-jinja2-exceptions/25309)

<div class="topic-metadata">

**Author:** [@Colin\_L](https://forum.ansible.com/u/Colin_L)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 10:08pm UTC](https://forum.ansible.com/t/error-unexpected-exception-no-module-named-jinja2-exceptions/25309 "2017-08-22T22:08:34Z")

</div>

Hello, I am pretty new to the linux world and have been tasked with learning ansible and setting it up in our environment. Version info: RHEL: 6.9 Python: 2.6.6 Ansible: 2.3.1 I have intalled it via YUM, and confir…

---

## [How to call roles & specify tags for those roles](https://forum.ansible.com/t/how-to-call-roles-specify-tags-for-those-roles/25274)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 7\
**Last updated:** [August 22, 2017, 3:45pm UTC](https://forum.ansible.com/t/how-to-call-roles-specify-tags-for-those-roles/25274 "2017-08-22T15:45:44Z")

</div>

Trying to run an example from the ansible docs, and it seems to always run both the tagged portions of the playbook… Am I missing how calling a role with tags is supposed to be used? Ansible docs - http://docs.ansible…

---

## [with\_items loops saying item undefined even if its present in parameter](https://forum.ansible.com/t/with-items-loops-saying-item-undefined-even-if-its-present-in-parameter/25297)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 3\
**Last updated:** [August 22, 2017, 3:10pm UTC](https://forum.ansible.com/t/with-items-loops-saying-item-undefined-even-if-its-present-in-parameter/25297 "2017-08-22T15:10:46Z")

</div>

hosts: all tasks: name: “install EPEL and Remi reps” yum\_repository: name: “{{ item.href }}” basurl: “{{ item.repo }}” with\_items: { href: “http://dl.fedoraproject.org/pub/epel/7/x86\_64/e/epel-release-7-5.noarch.r…

---

## [Use Ansible expect module without question](https://forum.ansible.com/t/use-ansible-expect-module-without-question/25304)

<div class="topic-metadata">

**Author:** [@Charles\_Giudicelli](https://forum.ansible.com/u/Charles_Giudicelli)\
**Replies:** 0\
**Last updated:** [August 22, 2017, 12:49pm UTC](https://forum.ansible.com/t/use-ansible-expect-module-without-question/25304 "2017-08-22T12:49:43Z")

</div>

Hi, I 'd like to use the expect plugin to send commands to a configuration soft that doesn’t ask questions, but only waits for instructions. Here is how work my prog I run the programm in CLI: “loracmd -ns 127.0.0.1” …

---

## [failing to connect through ssh](https://forum.ansible.com/t/failing-to-connect-through-ssh/25298)

<div class="topic-metadata">

**Author:** [@gcpconsole](https://forum.ansible.com/u/gcpconsole)\
**Replies:** 3\
**Last updated:** [August 22, 2017, 9:24am UTC](https://forum.ansible.com/t/failing-to-connect-through-ssh/25298 "2017-08-22T09:24:28Z")

</div>

I used the below example to execute from GIT https://github.com/GoogleCloudPlatform/compute-ansible-gluster I am getting the following error: fatal: \[35.184.19.164\]: UNREACHABLE! =\> {"changed": false, "msg": "Failed t…

---

## [ansible 2.3.0 host alias not working](https://forum.ansible.com/t/ansible-2-3-0-host-alias-not-working/25301)

<div class="topic-metadata">

**Author:** [@Ted\_Meller](https://forum.ansible.com/u/Ted_Meller)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 3:55am UTC](https://forum.ansible.com/t/ansible-2-3-0-host-alias-not-working/25301 "2017-08-22T03:55:21Z")

</div>

Im trying to rename my host list file from IP addresses to aliases but for some reason when I run my playbooks i get the below error. fatal: \[test\]: FAILED! =\> {"changed": false, "failed": true, "msg": "unable to open s…

---

## [disable unnecessary output on ansible server console](https://forum.ansible.com/t/disable-unnecessary-output-on-ansible-server-console/25279)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 4\
**Last updated:** [August 21, 2017, 3:30pm UTC](https://forum.ansible.com/t/disable-unnecessary-output-on-ansible-server-console/25279 "2017-08-21T15:30:36Z")

</div>

Hello Team, When i run following command i get log of output on screen. I just want if it success or failed. ansible web -m yum -a “name=MySQL-python state=present”. 192.168.211.129 | SUCCESS =\> { “changed”: true, “…

---

## [Cannot connect to WindowsServer from Centos7 ProxyError](https://forum.ansible.com/t/cannot-connect-to-windowsserver-from-centos7-proxyerror/25278)

<div class="topic-metadata">

**Author:** [@Aleksander\_Lipka](https://forum.ansible.com/u/Aleksander_Lipka)\
**Replies:** 8\
**Last updated:** [August 21, 2017, 1:35pm UTC](https://forum.ansible.com/t/cannot-connect-to-windowsserver-from-centos7-proxyerror/25278 "2017-08-21T13:35:19Z")

</div>

Hi I am trying to connect to Windows Server 2012 from my ansible server (Centos7). Let’s assume its host is x and port is y I managed to connect to other linux based servers but I cannot connect to the windows one. I…

---

## [Trigger ansible through powershell](https://forum.ansible.com/t/trigger-ansible-through-powershell/25291)

<div class="topic-metadata">

**Author:** [@Amitha\_K\_T](https://forum.ansible.com/u/Amitha_K_T)\
**Replies:** 3\
**Last updated:** [August 21, 2017, 8:49am UTC](https://forum.ansible.com/t/trigger-ansible-through-powershell/25291 "2017-08-21T08:49:25Z")

</div>

Hello, I’m trying to find a way to trigger an ansible playbook for a windows machine using an external system or script, for example, powershell or python. Is this possible? Can anyone tell me the list of ways to trigg…

---

## [Need to know if Ansible has capablity for parallel execution](https://forum.ansible.com/t/need-to-know-if-ansible-has-capablity-for-parallel-execution/25296)

<div class="topic-metadata">

**Author:** [@ashish\_chanda](https://forum.ansible.com/u/ashish_chanda)\
**Replies:** 2\
**Last updated:** [August 21, 2017, 8:43am UTC](https://forum.ansible.com/t/need-to-know-if-ansible-has-capablity-for-parallel-execution/25296 "2017-08-21T08:43:09Z")

</div>

Good Morning, So the scenario is: I have 2 VM’s on which i want to install linux parallely without waiting on one task to get completed. Is there a way in Ansible Playbooks to achieve this. I know ansible playbooks ha…

---

## [delegate\_to localhost tries to connect to WinRM](https://forum.ansible.com/t/delegate-to-localhost-tries-to-connect-to-winrm/25287)

<div class="topic-metadata">

**Author:** [@Sandeep\_MS](https://forum.ansible.com/u/Sandeep_MS)\
**Replies:** 2\
**Last updated:** [August 21, 2017, 8:29am UTC](https://forum.ansible.com/t/delegate-to-localhost-tries-to-connect-to-winrm/25287 "2017-08-21T08:29:07Z")

</div>

I need a role with some tasks for remote windows server and some tasks for localhost. A sample like this fails with UNREACHABLE! =\> {“changed”: false, “msg”: “plaintext: HTTPConnectionPool(host=‘localhost’, port=5985):…

---

## [FIle not being copied using template](https://forum.ansible.com/t/file-not-being-copied-using-template/25294)

<div class="topic-metadata">

**Author:** [@Sinan](https://forum.ansible.com/u/Sinan)\
**Replies:** 1\
**Last updated:** [August 19, 2017, 11:20am UTC](https://forum.ansible.com/t/file-not-being-copied-using-template/25294 "2017-08-19T11:20:51Z")

</div>

I have the following tree; Root folder: ~/ansible/ I am running the command from the root folder. Command: $ ansible-playbook -i hosts playbook.yml --tags resolvconf --private-key ~/.ssh/hps PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Syntax Issues for When Conditional](https://forum.ansible.com/t/syntax-issues-for-when-conditional/25280)

<div class="topic-metadata">

**Author:** [@Mark\_Huang](https://forum.ansible.com/u/Mark_Huang)\
**Replies:** 2\
**Last updated:** [August 18, 2017, 9:06pm UTC](https://forum.ansible.com/t/syntax-issues-for-when-conditional/25280 "2017-08-18T21:06:42Z")

</div>

Hi, What is the proper syntax for trying to do something like this? It works fine but it gives me a warning that says not to use templating delimiters. when: “{{ customer }}.aws\_cloud\_formation\_state == ‘present’” I h…

---

## [vmware\_guest - Nested datacenter issue](https://forum.ansible.com/t/vmware-guest-nested-datacenter-issue/25293)

<div class="topic-metadata">

**Author:** [@BG\_Sony](https://forum.ansible.com/u/BG_Sony)\
**Replies:** 0\
**Last updated:** [August 18, 2017, 9:02pm UTC](https://forum.ansible.com/t/vmware-guest-nested-datacenter-issue/25293 "2017-08-18T21:02:41Z")

</div>

Hello. I am unable to deploy from template when the datacenter is inside a folder. I am getting the error “msg”: “No folder matched the path: /Chicago Data Center/datacenter1/app” i.e. /Folder/datacenter/folder /Chicag…

---

## [how to retain stdout formatting when using adhoc commands (shell module)](https://forum.ansible.com/t/how-to-retain-stdout-formatting-when-using-adhoc-commands-shell-module/25283)

<div class="topic-metadata">

**Author:** [@jeder](https://forum.ansible.com/u/jeder)\
**Replies:** 3\
**Last updated:** [August 18, 2017, 8:41pm UTC](https://forum.ansible.com/t/how-to-retain-stdout-formatting-when-using-adhoc-commands-shell-module/25283 "2017-08-18T20:41:37Z")

</div>

Hey – when running adhoc commands (using shell module), the stdout returned from target systems is stripped of formatting. Is there a standard way to retain the formatting?

---

## [jenkins\_configure\_proxy role missing in Ansible](https://forum.ansible.com/t/jenkins-configure-proxy-role-missing-in-ansible/25276)

<div class="topic-metadata">

**Author:** [@Maciej\_Gawinecki](https://forum.ansible.com/u/Maciej_Gawinecki)\
**Replies:** 1\
**Last updated:** [August 18, 2017, 7:59pm UTC](https://forum.ansible.com/t/jenkins-configure-proxy-role-missing-in-ansible/25276 "2017-08-18T19:59:35Z")

</div>

I have Ansible 2.4.0. I am trying to configure Jenkins proxy based on Ansible Jenkins DevOps Roles documentation: hosts: master roles: jenkins\_configure\_proxy: jenkins\_home: “{{ jenkins\_home }}” proxy\_host: “{{ prox…

---

## [why handers sub topic is not indented same like tasks or vars](https://forum.ansible.com/t/why-handers-sub-topic-is-not-indented-same-like-tasks-or-vars/25270)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 18, 2017, 7:42pm UTC](https://forum.ansible.com/t/why-handers-sub-topic-is-not-indented-same-like-tasks-or-vars/25270 "2017-08-18T19:42:26Z")

</div>

How understand and practice correct way of yml or indentation, so confusing hosts: webservers vars: http\_port: 80 max\_clients: 200 remote\_user: root tasks: name: ensure apache is at the latest version ----\> here n…

---

## [Use variables from host\_vars and if not existent fall back to role vars](https://forum.ansible.com/t/use-variables-from-host-vars-and-if-not-existent-fall-back-to-role-vars/25258)

<div class="topic-metadata">

**Author:** [@Frieder\_Heugel](https://forum.ansible.com/u/Frieder_Heugel)\
**Replies:** 3\
**Last updated:** [August 18, 2017, 7:23pm UTC](https://forum.ansible.com/t/use-variables-from-host-vars-and-if-not-existent-fall-back-to-role-vars/25258 "2017-08-18T19:23:48Z")

</div>

Hi guys I have a role that installs Python on the target host (\[0\]). Different hosts require different Python libraries (some only need the basic set of libraries, others need completely different ones). My idea was to …

---

## [why debug is considered as task and needs - while other can run under single -name](https://forum.ansible.com/t/why-debug-is-considered-as-task-and-needs-while-other-can-run-under-single-name/25292)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 18, 2017, 5:49pm UTC](https://forum.ansible.com/t/why-debug-is-considered-as-task-and-needs-while-other-can-run-under-single-name/25292 "2017-08-18T17:49:51Z")

</div>

When i execute below code it does not run it give error. hosts: all tasks: name: “show version” setup: filter=“\*version” name: “status of service” shell: “/usr/sbin/service auditd status” name: “register demo” she…

---

## [Examples of Ansible automated supporting and remediation](https://forum.ansible.com/t/examples-of-ansible-automated-supporting-and-remediation/25271)

<div class="topic-metadata">

**Author:** [@Connor\_Pinkney](https://forum.ansible.com/u/Connor_Pinkney)\
**Replies:** 1\
**Last updated:** [August 18, 2017, 1:31pm UTC](https://forum.ansible.com/t/examples-of-ansible-automated-supporting-and-remediation/25271 "2017-08-18T13:31:29Z")

</div>

Hello, Is there any examples of Ansible being used for automated supporting and remediation Thank you.

---

## [YAML loop is giving me error: unable to open shell // NX\_OS and IOS modules](https://forum.ansible.com/t/yaml-loop-is-giving-me-error-unable-to-open-shell-nx-os-and-ios-modules/25290)

<div class="topic-metadata">

**Author:** [@erotski](https://forum.ansible.com/u/erotski)\
**Replies:** 0\
**Last updated:** [August 18, 2017, 10:57am UTC](https://forum.ansible.com/t/yaml-loop-is-giving-me-error-unable-to-open-shell-nx-os-and-ios-modules/25290 "2017-08-18T10:57:09Z")

</div>

Hi there, I am building a virtual lab to test Ansible network modules against, Cisco Nexus and IOS devices. I am running ansible with version 2.3.2 on Ubuntu server 16.04.3 root@ubuntu:/etc/ansible# ansible --version …

---

## [Try to create Site to Site VPN between 2 Cisco Router:  Problem with authentication pre-share ----\>](https://forum.ansible.com/t/try-to-create-site-to-site-vpn-between-2-cisco-router-problem-with-authentication-pre-share/25289)

<div class="topic-metadata">

**Author:** [@Samya\_Ghosh](https://forum.ansible.com/u/Samya_Ghosh)\
**Replies:** 0\
**Last updated:** [August 18, 2017, 9:10am UTC](https://forum.ansible.com/t/try-to-create-site-to-site-vpn-between-2-cisco-router-problem-with-authentication-pre-share/25289 "2017-08-18T09:10:19Z")

</div>

Dear All, I am trying to create a site to site VPN tunnel within 2 cisco Router. Here is my playbook ----------\> YAML Template. YAML Template.

---

## [suggest me the steps for clearing  the  hadoop YARN Cache using Ansible](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25288)

<div class="topic-metadata">

**Author:** [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Replies:** 0\
**Last updated:** [August 18, 2017, 8:24am UTC](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25288 "2017-08-18T08:24:05Z")

</div>

Hello bibhu patnaik , you can use this Ansible playbook to execute your tasks. name: service hadoop-mapreduce-historyserver stop service: name: hadoop-mapreduce-historyserver state: stopped name: service hadoop…

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

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