# Latest

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

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

**Page:** 760

---

## [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 …

---

## [Getting more information back from Ansible (Specifically Yum)](https://forum.ansible.com/t/getting-more-information-back-from-ansible-specifically-yum/21503)

<div class="topic-metadata">

**Author:** [@Mike\_McCormick](https://forum.ansible.com/u/Mike_McCormick)\
**Replies:** 2\
**Last updated:** [May 23, 2016, 2:53pm UTC](https://forum.ansible.com/t/getting-more-information-back-from-ansible-specifically-yum/21503 "2016-05-23T14:53:52Z")

</div>

Hey Guys, I’m in the earlier stages of an Ansible deployment. I have one question perhaps someone can help with. I’m currently firing off an email internally for playbooks as per the mail modules examples. What I’d re…

---

## [git repo with submodules hangs](https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208)

<div class="topic-metadata">

**Author:** [@Duncan\_Woods](https://forum.ansible.com/u/Duncan_Woods)\
**Replies:** 1\
**Last updated:** [May 23, 2016, 2:09pm UTC](https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208 "2016-05-23T14:09:31Z")

</div>

Hi, I’m using the development version of ansible on ubuntu 14.04. If I use the git task to clone a repo containing submodules, the playbook hangs. Killing the process and it looks like it clones the non-submodule folde…

---

## [Help with loop and data extraction](https://forum.ansible.com/t/help-with-loop-and-data-extraction/21522)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 12:01pm UTC](https://forum.ansible.com/t/help-with-loop-and-data-extraction/21522 "2016-05-23T12:01:27Z")

</div>

Of this blob TASK: \[context\_deploy | debug \] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[myserver\] =\> { “msg”: “1 {‘msg’: ‘All items completed’, ‘changed’: False, ‘results’: \[{‘invocation’: {‘module\_name’: u’…

---

## [Apps/utilities to store facts?](https://forum.ansible.com/t/apps-utilities-to-store-facts/21514)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 3\
**Last updated:** [May 23, 2016, 11:40am UTC](https://forum.ansible.com/t/apps-utilities-to-store-facts/21514 "2016-05-23T11:40:53Z")

</div>

Are there any apps out there designed to store facts from ansible runs, kind of like puppetdb? I think it would be kind of useful to have this info readily available to view/query outside of playbook runs. Guy

---

## [Travis build process failing to compile with python3](https://forum.ansible.com/t/travis-build-process-failing-to-compile-with-python3/21520)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 2\
**Last updated:** [May 23, 2016, 11:20am UTC](https://forum.ansible.com/t/travis-build-process-failing-to-compile-with-python3/21520 "2016-05-23T11:20:33Z")

</div>

Does any one know why Travis has started to fail builds by trying to compile with python3? Example: 0.66s$ python3.4 -m compileall -fq . -x $(echo "$PY3\_EXCLUDE\_LIST"| tr ' ' '|') \*\*\* Error compiling './cloud/amazon/…

---

## [How to check file system is mounted?](https://forum.ansible.com/t/how-to-check-file-system-is-mounted/21516)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 4\
**Last updated:** [May 23, 2016, 10:57am UTC](https://forum.ansible.com/t/how-to-check-file-system-is-mounted/21516 "2016-05-23T10:57:18Z")

</div>

Is there a canonical way in Ansible to check to see if a file system is mounted? The Ansible mount module doesn’t appear to provide this capability (or at least the examples don’t illustrate how it might be done). Curren…

---

## [Roles Path not read from ansible.cfg](https://forum.ansible.com/t/roles-path-not-read-from-ansible-cfg/21487)

<div class="topic-metadata">

**Author:** [@jzarzoso](https://forum.ansible.com/u/jzarzoso)\
**Replies:** 1\
**Last updated:** [May 23, 2016, 9:13am UTC](https://forum.ansible.com/t/roles-path-not-read-from-ansible-cfg/21487 "2016-05-23T09:13:22Z")

</div>

I’m using vagrant and I have this structure controller roles ansible tasks main.yml inventories playbooks master.yml environment provisioning ansible.cfg vagrant.yml Vagrantfile T…

---

## [I'm looking to contribute](https://forum.ansible.com/t/im-looking-to-contribute/21511)

<div class="topic-metadata">

**Author:** [@afraser](https://forum.ansible.com/u/afraser)\
**Replies:** 2\
**Last updated:** [May 23, 2016, 7:35am UTC](https://forum.ansible.com/t/im-looking-to-contribute/21511 "2016-05-23T07:35:44Z")

</div>

Hi All, I’ve used Ansible from an Admin standpoint and I’d like to contribute to the project code-wise. I don’t want to work on anything that already being done. Can someone give me an idea how I can get involved or wit…

---

## [Escaping ampersand (&) in a string](https://forum.ansible.com/t/escaping-ampersand-in-a-string/21521)

<div class="topic-metadata">

**Author:** [@parnesh.raniga](https://forum.ansible.com/u/parnesh.raniga)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 7:31am UTC](https://forum.ansible.com/t/escaping-ampersand-in-a-string/21521 "2016-05-23T07:31:40Z")

</div>

Hi All, I am new to ansible and using it to create some cloud images. While for the most part ansible has been great and easy to use, one of the recurring problems I am having is how to correctly escape special characte…

---

## [How to check if file system is mounted?](https://forum.ansible.com/t/how-to-check-if-file-system-is-mounted/21517)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [May 23, 2016, 1:21am UTC](https://forum.ansible.com/t/how-to-check-if-file-system-is-mounted/21517 "2016-05-23T01:21:50Z")

</div>

The setup module that normally runs at the start of the play will return mounts of a system in ansible\_mounts (if I remember the var name correctly) You can use this var to look.

---

## [How to references a list of host in play book?](https://forum.ansible.com/t/how-to-references-a-list-of-host-in-play-book/21518)

<div class="topic-metadata">

**Author:** [@Sicheng\_Tang](https://forum.ansible.com/u/Sicheng_Tang)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 1:03am UTC](https://forum.ansible.com/t/how-to-references-a-list-of-host-in-play-book/21518 "2016-05-23T01:03:09Z")

</div>

Suppose I have a group of host, whose Ip are 10.129.51.158,10.129.50.235,10.129.50.234, and I define it as a variable ip = 10.129.51.158,10.129.50.235,10.129.50.234 Is there any to to generate a play book like this by …

---

## [issue 9939 - newline in local\_command](https://forum.ansible.com/t/issue-9939-newline-in-local-command/21513)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 0\
**Last updated:** [May 22, 2016, 12:26pm UTC](https://forum.ansible.com/t/issue-9939-newline-in-local-command/21513 "2016-05-22T12:26:42Z")

</div>

Hi, for me the issue 9939 still remains in ansible 2.0.0.2 . https://github.com/ansible/ansible/issues/9939 I tried to circumvent this with \` local\_action: module: shell : \` But I do not know the key for the she…

---

## [How i can match a text form a log to make the wait for task continue](https://forum.ansible.com/t/how-i-can-match-a-text-form-a-log-to-make-the-wait-for-task-continue/21512)

<div class="topic-metadata">

**Author:** [@Mario\_Gamboa](https://forum.ansible.com/u/Mario_Gamboa)\
**Replies:** 0\
**Last updated:** [May 21, 2016, 4:48pm UTC](https://forum.ansible.com/t/how-i-can-match-a-text-form-a-log-to-make-the-wait-for-task-continue/21512 "2016-05-21T16:48:23Z")

</div>

Ok i have a software that always when restart needs to insert password is really pain in the ass so i trying to automate This is my playbook tasks file for terminal name: restart terminal \<–this is working fine servi…

---

## [How to write a interface for multiple node with different ips using ansible](https://forum.ansible.com/t/how-to-write-a-interface-for-multiple-node-with-different-ips-using-ansible/21509)

<div class="topic-metadata">

**Author:** [@satheesh\_prabhakaran](https://forum.ansible.com/u/satheesh_prabhakaran)\
**Replies:** 1\
**Last updated:** [May 21, 2016, 12:17pm UTC](https://forum.ansible.com/t/how-to-write-a-interface-for-multiple-node-with-different-ips-using-ansible/21509 "2016-05-21T12:17:44Z")

</div>

I am trying out creating bridges and adding ips to bridges in multiple servers which need to be interconnected for Openstack Ansible Deployment. I am stucking in configuring bridges with different ips.

---

## [Installing Apache through Ansible](https://forum.ansible.com/t/installing-apache-through-ansible/21495)

<div class="topic-metadata">

**Author:** [@Perry\_Hoekstra](https://forum.ansible.com/u/Perry_Hoekstra)\
**Replies:** 4\
**Last updated:** [May 21, 2016, 9:30am UTC](https://forum.ansible.com/t/installing-apache-through-ansible/21495 "2016-05-21T09:30:14Z")

</div>

I am attempting to create an EC2 instance in one role and installing Apache on it in the next role. The pertinent playbook entry looks like this: Configure and deploy Apache hosts: localhost connection: local remote…

---

## [os\_network cloud module cannot find my clouds.yml file](https://forum.ansible.com/t/os-network-cloud-module-cannot-find-my-clouds-yml-file/20065)

<div class="topic-metadata">

**Author:** [@R\_Melton](https://forum.ansible.com/u/R_Melton)\
**Replies:** 1\
**Last updated:** [May 21, 2016, 1:58am UTC](https://forum.ansible.com/t/os-network-cloud-module-cannot-find-my-clouds-yml-file/20065 "2016-05-21T01:58:44Z")

</div>

i’m using ansible 2.1.0 (devel 0c013f592a) last updated 2015/12/21 14:26:10 (GMT -700) installed from source in ubuntu desktop. here’s my playbook task: name: create openstack network become: no os\_network: cloud:…

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

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