# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=587

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

**Page:** 588

---

## [Ansible 2.1.0.0-1 FINAL has been released!](https://forum.ansible.com/t/ansible-2-1-0-0-1-final-has-been-released/21564)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [May 25, 2016, 1:56pm UTC](https://forum.ansible.com/t/ansible-2-1-0-0-1-final-has-been-released/21564 "2016-05-25T13:56:54Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.1 has been released! On the networking front, we’ve included managing networking infrastructure as first-order feature set in Ansible–no separate download required. We…

---

## [Issue 15405 : Synchronized failed with delegate\_to and sudo password](https://forum.ansible.com/t/issue-15405-synchronized-failed-with-delegate-to-and-sudo-password/21335)

<div class="topic-metadata">

**Author:** [@Guillaume\_Dufour](https://forum.ansible.com/u/Guillaume_Dufour)\
**Replies:** 1\
**Last updated:** [May 25, 2016, 1:53pm UTC](https://forum.ansible.com/t/issue-15405-synchronized-failed-with-delegate-to-and-sudo-password/21335 "2016-05-25T13:53:25Z")

</div>

Hello, i found a regression (maybe it’s a normal change of API) on the synchronized module on the 2.0.1. I try on 1.9.5 and it’ work. My use case is : i have a bastion to access to all host and my ssh config use the…

---

## [Group vars lookup pipe](https://forum.ansible.com/t/group-vars-lookup-pipe/21541)

<div class="topic-metadata">

**Author:** [@Meher\_Garda](https://forum.ansible.com/u/Meher_Garda)\
**Replies:** 1\
**Last updated:** [May 25, 2016, 1:42pm UTC](https://forum.ansible.com/t/group-vars-lookup-pipe/21541 "2016-05-25T13:42:41Z")

</div>

In my group\_vars folder , I have a file which has the following scheduletime: 2016-09-01 08:41:15 stime: “{{lookup(‘pipe’,‘date +%Y-%m-%dT%H:%M:%SZ -d ‘+{{ scheduletime }}+’’)}}” I want to provide human readable time …

---

## [Why items automaticaly skipped when i use with\_items in "include" module ??](https://forum.ansible.com/t/why-items-automaticaly-skipped-when-i-use-with-items-in-include-module/21559)

<div class="topic-metadata">

**Author:** [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Replies:** 0\
**Last updated:** [May 25, 2016, 9:46am UTC](https://forum.ansible.com/t/why-items-automaticaly-skipped-when-i-use-with-items-in-include-module/21559 "2016-05-25T09:46:21Z")

</div>

Hi, I encounter a bug when i want to use “with\_items” in include file when module “include” already use 'with\_items"… Exemple : tasks/main.yml : include: ‘includes/filesystem.yml’ vars: project\_config: “{{ item }}…

---

## [Using make to install](https://forum.ansible.com/t/using-make-to-install/21558)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [May 25, 2016, 8:22am UTC](https://forum.ansible.com/t/using-make-to-install/21558 "2016-05-25T08:22:35Z")

</div>

Hello, I am trying to install perl module for nagiosgraph-1.5.2 with ansible which can be installed manually with three steps 1\> perl Makefile.PL 2\> gmake 3\> gmake install afetr 3\> gmake install nagiosgraph asking …

---

## [Q: How to use "major" portion of {{ ansible\_distribution\_version }} for conditional imports?](https://forum.ansible.com/t/q-how-to-use-major-portion-of-ansible-distribution-version-for-conditional-imports/13166)

<div class="topic-metadata">

**Author:** [@Dale\_Quigg](https://forum.ansible.com/u/Dale_Quigg)\
**Replies:** 4\
**Last updated:** [May 25, 2016, 1:16am UTC](https://forum.ansible.com/t/q-how-to-use-major-portion-of-ansible-distribution-version-for-conditional-imports/13166 "2016-05-25T01:16:47Z")

</div>

Looking at the Conditional Imports section of the Advanced Playbook docs, I see this example vars\_files: “vars/common.yml” \[ “vars/{{ ansible\_os\_family }}.yml”, “vars/os\_defaults.yml” \] I need to differentiate betwee…

---

## [Ansible Expect Module](https://forum.ansible.com/t/ansible-expect-module/21530)

<div class="topic-metadata">

**Author:** [@Veda\_K](https://forum.ansible.com/u/Veda_K)\
**Replies:** 2\
**Last updated:** [May 24, 2016, 8:29pm UTC](https://forum.ansible.com/t/ansible-expect-module/21530 "2016-05-24T20:29:08Z")

</div>

Hi, I am new to ansible and ambari. I am trying to set up ambari-server using ansible expect module to respond to questions/options. My code snippet of expect module is : expect: command: ambari-server setup response…

---

## [Writing PowerShell modules with support for "check mode"](https://forum.ansible.com/t/writing-powershell-modules-with-support-for-check-mode/21549)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [May 24, 2016, 7:26pm UTC](https://forum.ansible.com/t/writing-powershell-modules-with-support-for-check-mode/21549 "2016-05-24T19:26:32Z")

</div>

I’d like to support “check mode” in some of my PowerShell-based modules for Ansible on Windows. Is this currently supported? We’re not using the AnsibleModule object at all, so how can I implement this? Any thought and …

---

## [Applying dot notation against lookup results in one command?](https://forum.ansible.com/t/applying-dot-notation-against-lookup-results-in-one-command/21553)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 6:26pm UTC](https://forum.ansible.com/t/applying-dot-notation-against-lookup-results-in-one-command/21553 "2016-05-24T18:26:18Z")

</div>

Is there a way to apply dot notation against the ‘environment\_id’ variable so that I do it once and not have to apply it multiple times within my file? What I really want is the value after I “grep” for the last two char…

---

## [What's correct Jinja2 operator to do "less than" on a string?](https://forum.ansible.com/t/whats-correct-jinja2-operator-to-do-less-than-on-a-string/21550)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 5\
**Last updated:** [May 24, 2016, 6:13pm UTC](https://forum.ansible.com/t/whats-correct-jinja2-operator-to-do-less-than-on-a-string/21550 "2016-05-24T18:13:42Z")

</div>

I’m setting an Ansible fact like this: set\_fact: server\_num={{ ansible\_hostname\[-2:\] }} server\_num can take these values: ‘00’ ‘01’ ‘02’ ‘03’ ‘04’ ad infinitum If I want a conditional that will evaluate to True …

---

## [ansible tries to parse files in  \<INVENTORY\_DIR\>/host\_vars and \<HOME\_DIR\>/host\_vars even if they don't exist](https://forum.ansible.com/t/ansible-tries-to-parse-files-in-inventory-dir-host-vars-and-home-dir-host-vars-even-if-they-dont-exist/21552)

<div class="topic-metadata">

**Author:** [@saraiva.joao](https://forum.ansible.com/u/saraiva.joao)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 6:02pm UTC](https://forum.ansible.com/t/ansible-tries-to-parse-files-in-inventory-dir-host-vars-and-home-dir-host-vars-even-if-they-dont-exist/21552 "2016-05-24T18:02:44Z")

</div>

Hi, I’m using dynamic inventory and I pull the host list/groups from an external source (anonymous ldap query to freeipa). I have no host\_vars directories but every time I run ansible it tries to read the .yml, .yaml, .…

---

## [Undefined variables and loops](https://forum.ansible.com/t/undefined-variables-and-loops/21551)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [May 24, 2016, 5:58pm UTC](https://forum.ansible.com/t/undefined-variables-and-loops/21551 "2016-05-24T17:58:10Z")

</div>

I’ve run into a deprecation error related to an undefined variable in a with\_items loop. The task definition is below: name: template syslog config snippets template: src: “{{ item }}.conf.j2” dest: “/etc/rsyslog.d/{…

---

## [Using raw with path with whitespace in it](https://forum.ansible.com/t/using-raw-with-path-with-whitespace-in-it/21543)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 1\
**Last updated:** [May 24, 2016, 4:23pm UTC](https://forum.ansible.com/t/using-raw-with-path-with-whitespace-in-it/21543 "2016-05-24T16:23:52Z")

</div>

raw: 'powershell.exe -Nologo -file C:\\Program Files\\App\\install-service.ps1' "module\_name": "raw"}, "rc": 1, "stderr": "Processing -File 'C:\\Program' failed because the file does not have a '.ps1' extension. Specify a v…

---

## [Validation on Config files in Windows](https://forum.ansible.com/t/validation-on-config-files-in-windows/21546)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 1\
**Last updated:** [May 24, 2016, 4:10pm UTC](https://forum.ansible.com/t/validation-on-config-files-in-windows/21546 "2016-05-24T16:10:29Z")

</div>

Hi I have a situation where I have several web servers that are load balanced and are updated daily through Octopus. Although we still have issues when uses will go onto the Windows machines and manually edit config fi…

---

## [unable to run a remote script with Ansible](https://forum.ansible.com/t/unable-to-run-a-remote-script-with-ansible/21540)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 5\
**Last updated:** [May 24, 2016, 3:55pm UTC](https://forum.ansible.com/t/unable-to-run-a-remote-script-with-ansible/21540 "2016-05-24T15:55:06Z")

</div>

Hello, Here is my issue. I have a script start.sh with the following lines: #!/bin/ksh dispatcher.sh --command=start --directory=… returnCode=$? exit $returnCode the both scripts are in the same directory, with th…

---

## [/usr/bin/env on Python Azure dynamic inventory](https://forum.ansible.com/t/usr-bin-env-on-python-azure-dynamic-inventory/21528)

<div class="topic-metadata">

**Author:** [@Andre\_Cruz](https://forum.ansible.com/u/Andre_Cruz)\
**Replies:** 8\
**Last updated:** [May 24, 2016, 3:28pm UTC](https://forum.ansible.com/t/usr-bin-env-on-python-azure-dynamic-inventory/21528 "2016-05-24T15:28:20Z")

</div>

Hello. I submitted a PR https://github.com/ansible/ansible/pull/15965 to use /usr/bin/env instead of referring to a specific Python executable in the Azure dynamic inventory. This was rejected on the basis that all ansi…

---

## [Issue using delegate\_to and with\_items](https://forum.ansible.com/t/issue-using-delegate-to-and-with-items/21542)

<div class="topic-metadata">

**Author:** [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Replies:** 2\
**Last updated:** [May 24, 2016, 3:09pm UTC](https://forum.ansible.com/t/issue-using-delegate-to-and-with-items/21542 "2016-05-24T15:09:54Z")

</div>

Hi, Is the use of delegate\_to with with\_items supposed to work ? $ ansible --version ansible 2.0.1.0 config file = /vagrant/sysadmin/ansible/atlassian/ansible.cfg configured module search path = /usr/local/share/ansibl…

---

## [Get result content of ansible.playbook Playbook in python](https://forum.ansible.com/t/get-result-content-of-ansible-playbook-playbook-in-python/21539)

<div class="topic-metadata">

**Author:** [@evelastlast](https://forum.ansible.com/u/evelastlast)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 12:43pm UTC](https://forum.ansible.com/t/get-result-content-of-ansible-playbook-playbook-in-python/21539 "2016-05-24T12:43:45Z")

</div>

Hello, I have a playbook.yml which outputs password, please see this task: \` tasks: name: get command: echo {{ test\_password }} register: result debug: var=result.stdout\_lines \` I run this playbook in pyth…

---

## [New Modules Report, 24-May-2016](https://forum.ansible.com/t/new-modules-report-24-may-2016/21538)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 12:27pm UTC](https://forum.ansible.com/t/new-modules-report-24-may-2016/21538 "2016-05-24T12:27:40Z")

</div>

New modules this week: Added module win\_localgroupmembers + documentation https://github.com/ansible/ansible-modules-extras/pull/2284 ip module feature https://github.com/ansible/ansible-modules-extras/pull/2274 wak…

---

## [Nested Loops? Sorting inventory\_hostnames](https://forum.ansible.com/t/nested-loops-sorting-inventory-hostnames/21535)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 3\
**Last updated:** [May 24, 2016, 12:15pm UTC](https://forum.ansible.com/t/nested-loops-sorting-inventory-hostnames/21535 "2016-05-24T12:15:01Z")

</div>

I have a custom hostvar called server\_dependson defined in my inventory. The thinking is that each server will have a server it is dependent on. Therefore when running updates and rebooting (Windows servers) I want to b…

---

## [Ansible playbook sporadically hangs when run from cron](https://forum.ansible.com/t/ansible-playbook-sporadically-hangs-when-run-from-cron/21529)

<div class="topic-metadata">

**Author:** [@cosbug](https://forum.ansible.com/u/cosbug)\
**Replies:** 2\
**Last updated:** [May 24, 2016, 11:12am UTC](https://forum.ansible.com/t/ansible-playbook-sporadically-hangs-when-run-from-cron/21529 "2016-05-24T11:12:30Z")

</div>

Hi All, I have playbook which backups EC2 instances in AWS every night. It runs on a EC2 instance (CentOS Linux release 7.2.1511 Core) hosted in AWS in the same regions as the backed-up instances. Playbook uses only l…

---

## [What is block's rescue supposed behavior?](https://forum.ansible.com/t/what-is-blocks-rescue-supposed-behavior/21536)

<div class="topic-metadata">

**Author:** [@Konstantin\_Suvorov](https://forum.ansible.com/u/Konstantin_Suvorov)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 10:48am UTC](https://forum.ansible.com/t/what-is-blocks-rescue-supposed-behavior/21536 "2016-05-24T10:48:06Z")

</div>

Hello. \` block: fail: msg=fail rescue: debug: msg=rescue always: debug: msg=always debug: msg=after-block \` Seems rescue block bring node back into health state and continue execution of tasks, so a…

---

## [setting variables depending on other variable value](https://forum.ansible.com/t/setting-variables-depending-on-other-variable-value/21492)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 3\
**Last updated:** [May 24, 2016, 10:46am UTC](https://forum.ansible.com/t/setting-variables-depending-on-other-variable-value/21492 "2016-05-24T10:46:47Z")

</div>

Hello, I would like to set in my playbook a variable depending on the ansible\_user value. If I set it twice, an error occurs, how can I write it: vars: rep\_user: {{ ansible\_user }} rep\_user: /home/{{ ansible\_user }} …

---

## [Property \_ansible\_selinux\_special\_fs in resource xADDomain is not a valid property](https://forum.ansible.com/t/property-ansible-selinux-special-fs-in-resource-xaddomain-is-not-a-valid-property/21467)

<div class="topic-metadata">

**Author:** [@Phyo\_Shwe](https://forum.ansible.com/u/Phyo_Shwe)\
**Replies:** 12\
**Last updated:** [May 24, 2016, 10:22am UTC](https://forum.ansible.com/t/property-ansible-selinux-special-fs-in-resource-xaddomain-is-not-a-valid-property/21467 "2016-05-24T10:22:40Z")

</div>

Hi, I am testing out ansible win\_dsc module that Trond wrote. Everything worked great except when I start using the xActiveDirectory modules. I used Trond’s ansible module generator to get the modules. I didn’t get any …

---

## [All works on port 5986, but fails on 5985](https://forum.ansible.com/t/all-works-on-port-5986-but-fails-on-5985/21533)

<div class="topic-metadata">

**Author:** [@Alexander\_Fichel](https://forum.ansible.com/u/Alexander_Fichel)\
**Replies:** 1\
**Last updated:** [May 24, 2016, 10:21am UTC](https://forum.ansible.com/t/all-works-on-port-5986-but-fails-on-5985/21533 "2016-05-24T10:21:59Z")

</div>

What is the point of running the ConfigureRemotingForAnsible.ps1 script if I already have a listener on my windows: Type Keys Name Container {Transport=HTTP, Address=\*} Listener\_1084132640 Since script adds a HTTPS l…

---

## [Ansible Node -\> Multiple Windows domains](https://forum.ansible.com/t/ansible-node-multiple-windows-domains/21469)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 3\
**Last updated:** [May 24, 2016, 8:23am UTC](https://forum.ansible.com/t/ansible-node-multiple-windows-domains/21469 "2016-05-24T08:23:53Z")

</div>

Ansible: 2.0.0.2 OS: CentOS 7.2 Is it possible to use a single Ansible controller for multiple Windows domains? The scenario requires the use of domain accounts for authentication on 3 separate domains. I have configu…

---

## [user management for IPA/IdM domains](https://forum.ansible.com/t/user-management-for-ipa-idm-domains/21534)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 0\
**Last updated:** [May 24, 2016, 3:29am UTC](https://forum.ansible.com/t/user-management-for-ipa-idm-domains/21534 "2016-05-24T03:29:44Z")

</div>

I am wondering if there are any plans to add an an Ansible module to manage users on RedHat IdM and/or FreeIPA servers? I believe the regular user module wouldn’t currently work for managing users in FreeIPA, since it c…

---

## [DOAS with password on OpenBSD "Timeout Waiting for Privilege Escalation Prompt"](https://forum.ansible.com/t/doas-with-password-on-openbsd-timeout-waiting-for-privilege-escalation-prompt/21532)

<div class="topic-metadata">

**Author:** [@BFMartin](https://forum.ansible.com/u/BFMartin)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 11:19pm UTC](https://forum.ansible.com/t/doas-with-password-on-openbsd-timeout-waiting-for-privilege-escalation-prompt/21532 "2016-05-23T23:19:10Z")

</div>

I haven’t been able to get doas on OpenBSD to work. Ansible is running on a Linux Mint 17.3 host, and the remote host (“testhost”) is OpenBSD 5.9, fully patched. The remote host is connected via password-less ssh. $ ans…

---

## [Ansible 2.0.2 and Windows Server 2012](https://forum.ansible.com/t/ansible-2-0-2-and-windows-server-2012/21523)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 3\
**Last updated:** [May 23, 2016, 6:41pm UTC](https://forum.ansible.com/t/ansible-2-0-2-and-windows-server-2012/21523 "2016-05-23T18:41:40Z")

</div>

Hello, all. Until today, I’d hadn’t used our recently updated Ansible (19.4. → 2.0.2) against our few Windows Server 2012R2 servers but, when I did, I had failures, even when running the simplest modules (e.g. win\_ping)…

---

## [ansible delegation to other hosts with\_items](https://forum.ansible.com/t/ansible-delegation-to-other-hosts-with-items/21525)

<div class="topic-metadata">

**Author:** [@christos.flevotomos](https://forum.ansible.com/u/christos.flevotomos)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 4:32pm UTC](https://forum.ansible.com/t/ansible-delegation-to-other-hosts-with-items/21525 "2016-05-23T16:32:06Z")

</div>

I use ansible 2.1 and I want to run a command to a group of hosts, using delegate\_to. I use localhost (ansible) as the hosts param and I want to delegate a “touch” command to both of cls hosts. I have the following yml …

[Previous page](https://forum.ansible.com/c/archives/31.md?page=586)

[Next page](https://forum.ansible.com/c/archives/31.md?page=588)
