# Latest

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

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

**Page:** 652

---

## [Running Certain commands via activates hardware watchdog](https://forum.ansible.com/t/running-certain-commands-via-activates-hardware-watchdog/24707)

<div class="topic-metadata">

**Author:** [@Satyam\_Mishra](https://forum.ansible.com/u/Satyam_Mishra)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 10:08am UTC](https://forum.ansible.com/t/running-certain-commands-via-activates-hardware-watchdog/24707 "2017-06-13T10:08:52Z")

</div>

Hi, I am installing infinidb database on my machine. I have used shell module to run certain commands: Part of playbook:

---

## [unarchive issue when files have special characters in their name](https://forum.ansible.com/t/unarchive-issue-when-files-have-special-characters-in-their-name/24706)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 9:33am UTC](https://forum.ansible.com/t/unarchive-issue-when-files-have-special-characters-in-their-name/24706 "2017-06-13T09:33:40Z")

</div>

Hello, I do run the unarchive module to unzip a file, I have an issue because the archive file contains a file name with a special character: ô “rc”: 0}, “failed”: true, “gid”: 1000, “group”: “shr\_users”, “handler”: “Z…

---

## [Query on connecting remote windows servers from powershell server via ansible.](https://forum.ansible.com/t/query-on-connecting-remote-windows-servers-from-powershell-server-via-ansible/23118)

<div class="topic-metadata">

**Author:** [@Rajesh\_N](https://forum.ansible.com/u/Rajesh_N)\
**Replies:** 3\
**Last updated:** [June 13, 2017, 6:47am UTC](https://forum.ansible.com/t/query-on-connecting-remote-windows-servers-from-powershell-server-via-ansible/23118 "2017-06-13T06:47:27Z")

</div>

Dear All, I have an query/issue. If i try the same thing via ansible, i get an error. Executing just Invoke-command -computer -ScriptBlock {Get-Service} or New-PSSession -ComputerName Enter-PSSession -ComputerNam…

---

## [Error while evaluating conditional](https://forum.ansible.com/t/error-while-evaluating-conditional/24500)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 3\
**Last updated:** [June 13, 2017, 3:03am UTC](https://forum.ansible.com/t/error-while-evaluating-conditional/24500 "2017-06-13T03:03:09Z")

</div>

Any idea why would Ansible error on this? fatal: \[localhost\] =\> error while evaluating conditional: ‘does not exist’ in volume\_info.stderr and “10.99.4.236” == “10.99.3.195” FATAL: all hosts have already failed – abort…

---

## [NTLM Auth fails for WinRM](https://forum.ansible.com/t/ntlm-auth-fails-for-winrm/24688)

<div class="topic-metadata">

**Author:** [@Jim\_Heald](https://forum.ansible.com/u/Jim_Heald)\
**Replies:** 3\
**Last updated:** [June 12, 2017, 9:55pm UTC](https://forum.ansible.com/t/ntlm-auth-fails-for-winrm/24688 "2017-06-12T21:55:51Z")

</div>

So I am running into a very strange issue. Using ntlm I cannot get any successful authentication through Ansible – even with the local admin user, which works over SSL. I have tried following the steps here to no avail.…

---

## [Ansible module to lookup variable from given role](https://forum.ansible.com/t/ansible-module-to-lookup-variable-from-given-role/24705)

<div class="topic-metadata">

**Author:** [@Hagen\_Kuehn](https://forum.ansible.com/u/Hagen_Kuehn)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 7:50pm UTC](https://forum.ansible.com/t/ansible-module-to-lookup-variable-from-given-role/24705 "2017-06-12T19:50:43Z")

</div>

I would like to create an Ansible Module that can be used to lookup variables of a given role. Background: Our build Git repository is organized in away that we have one Ansible role per micro service (built repo). Tho…

---

## [Ansible Module to lookup variables of a given role](https://forum.ansible.com/t/ansible-module-to-lookup-variables-of-a-given-role/24704)

<div class="topic-metadata">

**Author:** [@Hagen\_Kuehn](https://forum.ansible.com/u/Hagen_Kuehn)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 7:47pm UTC](https://forum.ansible.com/t/ansible-module-to-lookup-variables-of-a-given-role/24704 "2017-06-12T19:47:54Z")

</div>

I would like to create an Ansible Module that can be used to lookup variables of a given role. Background: Our build Git repository is organized in away that we have one Ansible role per micro service (built repo). Tho…

---

## [Anyway to choose a particular playbook for ansible-pull.](https://forum.ansible.com/t/anyway-to-choose-a-particular-playbook-for-ansible-pull/24703)

<div class="topic-metadata">

**Author:** [@james3](https://forum.ansible.com/u/james3)\
**Replies:** 1\
**Last updated:** [June 12, 2017, 6:53pm UTC](https://forum.ansible.com/t/anyway-to-choose-a-particular-playbook-for-ansible-pull/24703 "2017-06-12T18:53:55Z")

</div>

Right now it looks like ansible-pull makes assumptions about the playbook name. Basically assume all playbooks are in different repos? Might end up just git cloning our repo instead.

---

## [Feature Idea: Integrate/introduce group\_vars concept into roles](https://forum.ansible.com/t/feature-idea-integrate-introduce-group-vars-concept-into-roles/24702)

<div class="topic-metadata">

**Author:** [@james3](https://forum.ansible.com/u/james3)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 6:46pm UTC](https://forum.ansible.com/t/feature-idea-integrate-introduce-group-vars-concept-into-roles/24702 "2017-06-12T18:46:51Z")

</div>

Hoping we can get this. https://github.com/ansible/ansible/issues/24473

---

## [Azure SPNs and conflicts/accidental deletions/wrong deployments](https://forum.ansible.com/t/azure-spns-and-conflicts-accidental-deletions-wrong-deployments/24676)

<div class="topic-metadata">

**Author:** [@David\_Peterson](https://forum.ansible.com/u/David_Peterson)\
**Replies:** 1\
**Last updated:** [June 12, 2017, 5:47pm UTC](https://forum.ansible.com/t/azure-spns-and-conflicts-accidental-deletions-wrong-deployments/24676 "2017-06-12T17:47:37Z")

</div>

Has anyone ever run in to issues with conflicts, accidental deletions, and/or deployments to the wrong resource group in Azure when using Ansible amongst different development teams? Or has anyone worked to address this …

---

## [when statements should not include jinja2 templating delimiters](https://forum.ansible.com/t/when-statements-should-not-include-jinja2-templating-delimiters/24694)

<div class="topic-metadata">

**Author:** [@\_Catie](https://forum.ansible.com/u/_Catie)\
**Replies:** 2\
**Last updated:** [June 12, 2017, 4:32pm UTC](https://forum.ansible.com/t/when-statements-should-not-include-jinja2-templating-delimiters/24694 "2017-06-12T16:32:27Z")

</div>

Hi, I ran into this warning with different scenario: For example,I have a registered variable “command\_result” from previous command result. Also, I have a variable “num”, which is a number. I want to use when statemen…

---

## [long standing regression: IPv4/IPv6 filter broken in ansible 2.x (works with 1.9.x) #14829](https://forum.ansible.com/t/long-standing-regression-ipv4-ipv6-filter-broken-in-ansible-2-x-works-with-1-9-x-14829/24700)

<div class="topic-metadata">

**Author:** [@nusenu](https://forum.ansible.com/u/nusenu)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 3:57pm UTC](https://forum.ansible.com/t/long-standing-regression-ipv4-ipv6-filter-broken-in-ansible-2-x-works-with-1-9-x-14829/24700 "2017-06-12T15:57:00Z")

</div>

Hi, a regression \[1\] in the IP filter has been reported on 2016-03-06 and hasn't seen much progress since then. Would it help if this github issue would loose the "in progress" tag to attract some attention? (so it d…

---

## [template expands on OSX but not on Linux](https://forum.ansible.com/t/template-expands-on-osx-but-not-on-linux/24699)

<div class="topic-metadata">

**Author:** [@Brian\_Fallik](https://forum.ansible.com/u/Brian_Fallik)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 3:04pm UTC](https://forum.ansible.com/t/template-expands-on-osx-but-not-on-linux/24699 "2017-06-12T15:04:39Z")

</div>

Hi, I'm trying to build a playbook using set\_fact but the template seems to expand when I test locally on OSX but not when I invoke ansible via Jenkins on Linux. Here's the line: - set\_fact: snapshot\_id:…

---

## [optimizing ansible-playbook boot up time](https://forum.ansible.com/t/optimizing-ansible-playbook-boot-up-time/24696)

<div class="topic-metadata">

**Author:** [@Carlo\_Cabanilla](https://forum.ansible.com/u/Carlo_Cabanilla)\
**Replies:** 1\
**Last updated:** [June 12, 2017, 2:50pm UTC](https://forum.ansible.com/t/optimizing-ansible-playbook-boot-up-time/24696 "2017-06-12T14:50:10Z")

</div>

Hi, I was looking into why ansible-playbook felt so slow to run, so I ran a profile on just displaying the help text: $ python2 -m cProfile -o /tmp/ansible.profile $(which ansible-playbook ) $ python2 -m pstats /tmp/a…

---

## [No module named ansible.runner](https://forum.ansible.com/t/no-module-named-ansible-runner/16544)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 5\
**Last updated:** [June 12, 2017, 1:22pm UTC](https://forum.ansible.com/t/no-module-named-ansible-runner/16544 "2017-06-12T13:22:32Z")

</div>

Centos 7 Ansible 1.8 Python 2.7 there are some redundant entries in my environment path but I don’t see how that would cause this problem PATH is /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin:/usr/sbin:/bin:/sbin:…

---

## [combining dicts in a list](https://forum.ansible.com/t/combining-dicts-in-a-list/24638)

<div class="topic-metadata">

**Author:** [@sebastien.barthelemy](https://forum.ansible.com/u/sebastien.barthelemy)\
**Replies:** 2\
**Last updated:** [June 12, 2017, 12:46pm UTC](https://forum.ansible.com/t/combining-dicts-in-a-list/24638 "2017-06-12T12:46:20Z")

</div>

Hello, I have a list of dicts, and I would like to add a (key, value) pair to each dict (ie. to each element of the list). Typically, I have this list: port: 2000 release: trusty port: 2001 release: xenial And I w…

---

## [reference variables from inventory file in a jinja2 hostvars loop](https://forum.ansible.com/t/reference-variables-from-inventory-file-in-a-jinja2-hostvars-loop/24689)

<div class="topic-metadata">

**Author:** [@Owen\_Corcoran](https://forum.ansible.com/u/Owen_Corcoran)\
**Replies:** 3\
**Last updated:** [June 9, 2017, 9:01pm UTC](https://forum.ansible.com/t/reference-variables-from-inventory-file-in-a-jinja2-hostvars-loop/24689 "2017-06-09T21:01:00Z")

</div>

Hi all, Can any one help me with the below, im trying to reference variables from my inventory file in a jinja2 hostvars loop. Ive copied the host file and jinja template below. Template File In my Jinja 2 template i …

---

## [pause that fails if it expires](https://forum.ansible.com/t/pause-that-fails-if-it-expires/24690)

<div class="topic-metadata">

**Author:** [@lmeyer](https://forum.ansible.com/u/lmeyer)\
**Replies:** 4\
**Last updated:** [June 9, 2017, 8:54pm UTC](https://forum.ansible.com/t/pause-that-fails-if-it-expires/24690 "2017-06-09T20:54:13Z")

</div>

I’d like to check a condition, then if it’s not good, ask the user if they’d like to continue anyway. And in case the run is not interactive, I’d like the play to fail if they don’t answer within a few minutes. This wou…

---

## [History of Ansible Changes](https://forum.ansible.com/t/history-of-ansible-changes/24680)

<div class="topic-metadata">

**Author:** [@Thomas\_Guttler](https://forum.ansible.com/u/Thomas_Guttler)\
**Replies:** 2\
**Last updated:** [June 9, 2017, 1:41pm UTC](https://forum.ansible.com/t/history-of-ansible-changes/24680 "2017-06-09T13:41:00Z")

</div>

Is there a tool which keeps the history of all the changes which were do done to a server in the past? Example: I have server “superfoo” and I see random failures since some days on this server. Now I want to what happ…

---

## [How to pass a vault-file via stdin?](https://forum.ansible.com/t/how-to-pass-a-vault-file-via-stdin/24692)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 0\
**Last updated:** [June 9, 2017, 1:19pm UTC](https://forum.ansible.com/t/how-to-pass-a-vault-file-via-stdin/24692 "2017-06-09T13:19:21Z")

</div>

I tried this but it does not work: $ ansible-vault decrypt --output=- - \< vars/users.yml ERROR! \[Errno 2\] No such file or directory: u’/home/user/ansible/-’ How to pass the vault data via stdin?

---

## [wait\_for a windows file](https://forum.ansible.com/t/wait-for-a-windows-file/20517)

<div class="topic-metadata">

**Author:** [@Stavros](https://forum.ansible.com/u/Stavros)\
**Replies:** 5\
**Last updated:** [June 9, 2017, 7:50am UTC](https://forum.ansible.com/t/wait-for-a-windows-file/20517 "2017-06-09T07:50:44Z")

</div>

Hi, I use the wait\_for in a playbook in order to wait until a file is present, but this doesn’t work, e.g. name: Wait for remote host wait\_for: host={{ floating\_ip }} path=“C:\\Temp\\status.txt” state=present When I u…

---

## [Verification of changes](https://forum.ansible.com/t/verification-of-changes/24687)

<div class="topic-metadata">

**Author:** [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Replies:** 0\
**Last updated:** [June 8, 2017, 8:32pm UTC](https://forum.ansible.com/t/verification-of-changes/24687 "2017-06-08T20:32:54Z")

</div>

Hi, I’m looking at a project where changes have to be rolled out to a number of hosts, tested and if something is wrong - the previous configuration is restored. The trick is that testing can only happen after the chang…

---

## [Using with\_file with subkeys](https://forum.ansible.com/t/using-with-file-with-subkeys/24671)

<div class="topic-metadata">

**Author:** [@Hugo\_Ribeiro](https://forum.ansible.com/u/Hugo_Ribeiro)\
**Replies:** 1\
**Last updated:** [June 8, 2017, 6:40pm UTC](https://forum.ansible.com/t/using-with-file-with-subkeys/24671 "2017-06-08T18:40:51Z")

</div>

Hi all, this will probably sound very basic but I tried my best to find a solution, without success. This is what I’m trying to achieve: name: sample task lineinfile: path: /etc/hosts state: present owner: root g…

---

## [How to retain the remote session till the script is fully executed |](https://forum.ansible.com/t/how-to-retain-the-remote-session-till-the-script-is-fully-executed/24677)

<div class="topic-metadata">

**Author:** [@Surya](https://forum.ansible.com/u/Surya)\
**Replies:** 3\
**Last updated:** [June 8, 2017, 6:29pm UTC](https://forum.ansible.com/t/how-to-retain-the-remote-session-till-the-script-is-fully-executed/24677 "2017-06-08T18:29:52Z")

</div>

Dear Ansible Team, I have my customized Jboss start script “jboss-start-all.sh” to start my Domain/host controllers and the server groups. When i execute the the script locally its starting the instances successfully. b…

---

## [Remote jboss startup script failing in Ansible](https://forum.ansible.com/t/remote-jboss-startup-script-failing-in-ansible/24615)

<div class="topic-metadata">

**Author:** [@Surya](https://forum.ansible.com/u/Surya)\
**Replies:** 4\
**Last updated:** [June 8, 2017, 6:17pm UTC](https://forum.ansible.com/t/remote-jboss-startup-script-failing-in-ansible/24615 "2017-06-08T18:17:07Z")

</div>

HI Team, I have the Jboss startup script to be triggered by Ansible for my BAU activities. startup script starts: Host controller, Process controller, and Server groups. When i run the script locally, its working fine,…

---

## [Multiple host variables with same key in Ansible inventory files](https://forum.ansible.com/t/multiple-host-variables-with-same-key-in-ansible-inventory-files/24673)

<div class="topic-metadata">

**Author:** [@Apoorva\_Mittal](https://forum.ansible.com/u/Apoorva_Mittal)\
**Replies:** 3\
**Last updated:** [June 8, 2017, 6:05pm UTC](https://forum.ansible.com/t/multiple-host-variables-with-same-key-in-ansible-inventory-files/24673 "2017-06-08T18:05:03Z")

</div>

I have multiple meta\_addons variable associated with a host, like: host\_name meta\_addons=grafana meta\_addons=elasticsearch meta\_addons=prometheus When I access them in my jinja2 template, it reads only the last one- pr…

---

## [Test for empty dict](https://forum.ansible.com/t/test-for-empty-dict/24682)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [June 8, 2017, 2:35pm UTC](https://forum.ansible.com/t/test-for-empty-dict/24682 "2017-06-08T14:35:18Z")

</div>

I have this: \` TASK \[debug\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[localhost\] =\> { “changed”: false, “msg”: { “changed”: false, “volume”: {} } } \` I’d like to test for this co…

---

## [issues with variables](https://forum.ansible.com/t/issues-with-variables/24643)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 12\
**Last updated:** [June 8, 2017, 1:10pm UTC](https://forum.ansible.com/t/issues-with-variables/24643 "2017-06-08T13:10:18Z")

</div>

Hello i run a playbook and do get this error message :/etc/ansible$ ansible-playbook -u dokuwa1 --ask-pass playbook/apache.yml ERROR! Syntax Error while loading YAML. The error appears to have been in ‘/etc/ansible/p…

---

## [AWS suggestion](https://forum.ansible.com/t/aws-suggestion/24681)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 0\
**Last updated:** [June 8, 2017, 11:28am UTC](https://forum.ansible.com/t/aws-suggestion/24681 "2017-06-08T11:28:30Z")

</div>

Hi Ansiblers, I would like to spin up ec2 instances , but i have no idea how it works, how can i have multiple accounts keys with same playbooks

---

## [Command module hangs indefinitely](https://forum.ansible.com/t/command-module-hangs-indefinitely/24670)

<div class="topic-metadata">

**Author:** [@Sania\_Zara](https://forum.ansible.com/u/Sania_Zara)\
**Replies:** 3\
**Last updated:** [June 8, 2017, 11:13am UTC](https://forum.ansible.com/t/command-module-hangs-indefinitely/24670 "2017-06-08T11:13:45Z")

</div>

Hi folks, I am facing a rather peculiar issue. I am trying to build zlib library on an Ubuntu 16.04 server using Ansible 2.2.1.0. Here is what my playbook (role) looks like, \` name: Build Zlib. command: “{{ item }}” …

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

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