# Latest

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

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

**Page:** 574

---

## [URI for testing web redirect](https://forum.ansible.com/t/uri-for-testing-web-redirect/27024)

<div class="topic-metadata">

**Author:** [@trg.achilles](https://forum.ansible.com/u/trg.achilles)\
**Replies:** 0\
**Last updated:** [March 17, 2018, 5:57pm UTC](https://forum.ansible.com/t/uri-for-testing-web-redirect/27024 "2018-03-17T17:57:23Z")

</div>

hello, I want to test if web redirect works first without making public. curl equivalent would be curl -LI --header 'Host: www.example.com' 'http://localhost' uri module seems to be perfect for this but struggle with …

---

## [git checkout to new branch and change back to local user](https://forum.ansible.com/t/git-checkout-to-new-branch-and-change-back-to-local-user/26982)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 6\
**Last updated:** [March 17, 2018, 2:50pm UTC](https://forum.ansible.com/t/git-checkout-to-new-branch-and-change-back-to-local-user/26982 "2018-03-17T14:50:50Z")

</div>

Hello All, Please help to find answers for two questions. I am trying to clone a remote git repo which I am able to do with git module but does anyone know how I can achieve to do git checkout -b new branch \<userna…

---

## [Getting a sudo illegal option error](https://forum.ansible.com/t/getting-a-sudo-illegal-option-error/27022)

<div class="topic-metadata">

**Author:** [@Mahendra\_Raghuwanshi](https://forum.ansible.com/u/Mahendra_Raghuwanshi)\
**Replies:** 0\
**Last updated:** [March 17, 2018, 12:45pm UTC](https://forum.ansible.com/t/getting-a-sudo-illegal-option-error/27022 "2018-03-17T12:45:46Z")

</div>

Hello I am getting below error:: fatal: \[10.237.92.134\]: FAILED! =\> {“changed”: false, “module\_stderr”: “Shared connection to 10.237.92.134 closed.\\r\\n”, “module\_stdout”: “sudo: illegal option \`-n’\\r\\nusage: sudo -K | …

---

## [Is it possible to make file lookup based on request from vars\_prompt?](https://forum.ansible.com/t/is-it-possible-to-make-file-lookup-based-on-request-from-vars-prompt/27020)

<div class="topic-metadata">

**Author:** [@Cyberbob](https://forum.ansible.com/u/Cyberbob)\
**Replies:** 2\
**Last updated:** [March 17, 2018, 12:14pm UTC](https://forum.ansible.com/t/is-it-possible-to-make-file-lookup-based-on-request-from-vars-prompt/27020 "2018-03-17T12:14:56Z")

</div>

Hello team, I have some playbook and csv file. Inside of this playbook i have vars\_prompt module and inside os csv file i have a lot of vars items. For example: playbook (just vars\_prompt section) \` vars\_prompt: na…

---

## [yum throws error if you give it a mix of sources](https://forum.ansible.com/t/yum-throws-error-if-you-give-it-a-mix-of-sources/27021)

<div class="topic-metadata">

**Author:** [@Varun\_Chopra](https://forum.ansible.com/u/Varun_Chopra)\
**Replies:** 0\
**Last updated:** [March 17, 2018, 9:46am UTC](https://forum.ansible.com/t/yum-throws-error-if-you-give-it-a-mix-of-sources/27021 "2018-03-17T09:46:59Z")

</div>

This works: \` name: “Enable repos” yum: name: “{{ item }}” state: present with\_items: https://fedorapeople.org/groups/katello/releases/yum/3.4/katello/el7/x86\_64/katello-repos-latest.rpm https://yum.theforeman.org…

---

## [Recommended update strategy](https://forum.ansible.com/t/recommended-update-strategy/26485)

<div class="topic-metadata">

**Author:** [@jjeffers](https://forum.ansible.com/u/jjeffers)\
**Replies:** 9\
**Last updated:** [March 17, 2018, 3:59am UTC](https://forum.ansible.com/t/recommended-update-strategy/26485 "2018-03-17T03:59:34Z")

</div>

I’m wondering if the AWX team has a suggestion on when/how often to grab the latest release? I had to rebuild after the 1.0.2 backwards-incompatible release, so it’s made me more cautious about just grabbing the latest r…

---

## [Ansible Documentation : French Translation](https://forum.ansible.com/t/ansible-documentation-french-translation/27012)

<div class="topic-metadata">

**Author:** [@Kitslap](https://forum.ansible.com/u/Kitslap)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 6:26pm UTC](https://forum.ansible.com/t/ansible-documentation-french-translation/27012 "2018-03-16T18:26:02Z")

</div>

Hello everybody, I’m french, and actually we can’t find many Ansible docs in french. For many days I’m writing a french documentation, and to be sure I’m not telling something stupid in it, I use the official Ansible do…

---

## [AWX fails to connect to my external postgres server](https://forum.ansible.com/t/awx-fails-to-connect-to-my-external-postgres-server/27005)

<div class="topic-metadata">

**Author:** [@mamadouadaba](https://forum.ansible.com/u/mamadouadaba)\
**Replies:** 2\
**Last updated:** [March 16, 2018, 4:31pm UTC](https://forum.ansible.com/t/awx-fails-to-connect-to-my-external-postgres-server/27005 "2018-03-16T16:31:03Z")

</div>

Hello there, If anyone can help here some logs after issuing ansible-playbook -i inventory install.yml \[root@PA-PGL-VMNO-0 installer\]# docker logs -f awx\_task Using /etc/ansible/ansible.cfg as config file 127.0.0.1 …

---

## [Take a 15 minute survey on AWX for a chance to win a $25 Amazon giftcard!](https://forum.ansible.com/t/take-a-15-minute-survey-on-awx-for-a-chance-to-win-a-25-amazon-giftcard/27018)

<div class="topic-metadata">

**Author:** [@David\_Williams](https://forum.ansible.com/u/David_Williams)\
**Replies:** 0\
**Last updated:** [March 16, 2018, 3:31pm UTC](https://forum.ansible.com/t/take-a-15-minute-survey-on-awx-for-a-chance-to-win-a-25-amazon-giftcard/27018 "2018-03-16T15:31:51Z")

</div>

Hi again everyone, I’m reaching out again on behalf of a group of graduate students at the University of Michigan who are doing research to help RedHat improve AWX. Thank you to everyone who responded to our requests fo…

---

## [Is there custom ansible module registry somewhere similar to galaxy.ansible.com for ansible role?](https://forum.ansible.com/t/is-there-custom-ansible-module-registry-somewhere-similar-to-galaxy-ansible-com-for-ansible-role/27007)

<div class="topic-metadata">

**Author:** [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 2:43pm UTC](https://forum.ansible.com/t/is-there-custom-ansible-module-registry-somewhere-similar-to-galaxy-ansible-com-for-ansible-role/27007 "2018-03-16T14:43:11Z")

</div>

I was wondering if anyone know a place similar to galaxy.ansible.com where I can find custom ansible modules that people have written that is not part of the ansible core or extra modules.

---

## [Ansible win\_copy or win\_file error "The given path's format is not supported"](https://forum.ansible.com/t/ansible-win-copy-or-win-file-error-the-given-paths-format-is-not-supported/27000)

<div class="topic-metadata">

**Author:** [@Augusto\_Canessa](https://forum.ansible.com/u/Augusto_Canessa)\
**Replies:** 8\
**Last updated:** [March 16, 2018, 2:37pm UTC](https://forum.ansible.com/t/ansible-win-copy-or-win-file-error-the-given-paths-format-is-not-supported/27000 "2018-03-16T14:37:26Z")

</div>

I’m having a problem creating or copying files from my Ansible box to windows. Commands like reboot work fine. But any command that involves a PATH gives me this error. My command (C&P from Ansible’s site) name: Touch…

---

## [ESXi cluster utilization using ansible](https://forum.ansible.com/t/esxi-cluster-utilization-using-ansible/27001)

<div class="topic-metadata">

**Author:** [@Prashant\_Zanwar](https://forum.ansible.com/u/Prashant_Zanwar)\
**Replies:** 2\
**Last updated:** [March 16, 2018, 10:10am UTC](https://forum.ansible.com/t/esxi-cluster-utilization-using-ansible/27001 "2018-03-16T10:10:53Z")

</div>

I am looking for a way to get ESXi cluster capacity utilization. My use case is to upgrade VM CPU/RAM + also disk addition. First I want to look at ESXi cluster used capacity and how much is left to be allocated. I hav…

---

## [Are there Ansible modules available for Nutanix and Hyper-V?](https://forum.ansible.com/t/are-there-ansible-modules-available-for-nutanix-and-hyper-v/27015)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 9:44am UTC](https://forum.ansible.com/t/are-there-ansible-modules-available-for-nutanix-and-hyper-v/27015 "2018-03-16T09:44:58Z")

</div>

Team, Are there Ansible modules available for Nutanix and Hyper-V? For example, can we use Ansible for creating and deleting snapshots on Nutanix and Hyper-V? Thank you, Dinesh Vashisht

---

## [The network mapping disk generated by win\_mapped\_drive is not available](https://forum.ansible.com/t/the-network-mapping-disk-generated-by-win-mapped-drive-is-not-available/27014)

<div class="topic-metadata">

**Author:** [@12177589](https://forum.ansible.com/u/12177589)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 9:07am UTC](https://forum.ansible.com/t/the-network-mapping-disk-generated-by-win-mapped-drive-is-not-available/27014 "2018-03-16T09:07:02Z")

</div>

My Syntax is here tasks: - name: create a mapped drive under Z win\_mapped\_drive: letter: Z path: \\192.168.227.181.0.0\\pys username: administrator password: Test123456 - name: cop…

---

## [Help with conditional](https://forum.ansible.com/t/help-with-conditional/27011)

<div class="topic-metadata">

**Author:** [@Marc\_Herren](https://forum.ansible.com/u/Marc_Herren)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 8:13am UTC](https://forum.ansible.com/t/help-with-conditional/27011 "2018-03-16T08:13:04Z")

</div>

Hi all, I’m struggling with the following conditional check: \` set\_fact: url: “{{ url | default(‘www.search.ch’) }}” url\_points\_to: “‘{{ lookup(‘dig’, ‘{{ url }}’) }}’” block: name: “Check if {{ url }} point…

---

## [Is there any Ansible master / Slave concept.](https://forum.ansible.com/t/is-there-any-ansible-master-slave-concept/26970)

<div class="topic-metadata">

**Author:** [@rraka1002](https://forum.ansible.com/u/rraka1002)\
**Replies:** 6\
**Last updated:** [March 16, 2018, 5:18am UTC](https://forum.ansible.com/t/is-there-any-ansible-master-slave-concept/26970 "2018-03-16T05:18:35Z")

</div>

Is there any Ansible master / Slave concept.

---

## [Ansible 2.5.0 Release Candidate 3 is available](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-3-is-available/27010)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [March 16, 2018, 1:33am UTC](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-3-is-available/27010 "2018-03-16T01:33:01Z")

</div>

Hi all- we’re happy to announce that Release Candidate 3 of Ansible 2.5.0 is now available! How do you get it?

---

## [Import/Include a Single task from one play book to another play book.](https://forum.ansible.com/t/import-include-a-single-task-from-one-play-book-to-another-play-book/26990)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 4\
**Last updated:** [March 15, 2018, 10:44pm UTC](https://forum.ansible.com/t/import-include-a-single-task-from-one-play-book-to-another-play-book/26990 "2018-03-15T22:44:54Z")

</div>

Hi All, Not sure whether it is possible, but let me raise the question, it is possible to import/include a single task for one play book to another play book rather than importing the entire play book.e.g common.yml …

---

## [need help for the module cyberarkpassword - get secrets from CyberArk AIM](https://forum.ansible.com/t/need-help-for-the-module-cyberarkpassword-get-secrets-from-cyberark-aim/27008)

<div class="topic-metadata">

**Author:** [@nitin\_kansal](https://forum.ansible.com/u/nitin_kansal)\
**Replies:** 0\
**Last updated:** [March 15, 2018, 8:55pm UTC](https://forum.ansible.com/t/need-help-for-the-module-cyberarkpassword-get-secrets-from-cyberark-aim/27008 "2018-03-15T20:55:26Z")

</div>

This module says requirements as: https://docs.ansible.com/ansible/devel/plugins/lookup/cyberarkpassword.html The below requirements are needed on the local master node that executes this lookup. CyberArk AIM tool in…

---

## [Register and print stdout\_lines output while running a loop \[code help\]](https://forum.ansible.com/t/register-and-print-stdout-lines-output-while-running-a-loop-code-help/27006)

<div class="topic-metadata">

**Author:** [@Raj5](https://forum.ansible.com/u/Raj5)\
**Replies:** 0\
**Last updated:** [March 15, 2018, 4:47pm UTC](https://forum.ansible.com/t/register-and-print-stdout-lines-output-while-running-a-loop-code-help/27006 "2018-03-15T16:47:40Z")

</div>

Hello, I am currently working on a task as below \` name: Client Schema upgrade shell: source ~/.bash\_profile && sqlplus -S ‘{{ username }}/{{ password }}@{{ TNS\_NAME }}’ @“client.sql” {{ item }} with\_items: “{{ sc…

---

## [Notification by e-mail and AWX user](https://forum.ansible.com/t/notification-by-e-mail-and-awx-user/26995)

<div class="topic-metadata">

**Author:** [@Didier\_Bretin](https://forum.ansible.com/u/Didier_Bretin)\
**Replies:** 2\
**Last updated:** [March 15, 2018, 3:44pm UTC](https://forum.ansible.com/t/notification-by-e-mail-and-awx-user/26995 "2018-03-15T15:44:24Z")

</div>

Hello, I’m using AWX 1.0.4.14, and it’s a great project ;). I’m searching a way to send an e-mail notification to the AWX user who launch the job. But apparently, the e-mail used in a notification by e-mail is the one…

---

## [Error while running bigip\_node module](https://forum.ansible.com/t/error-while-running-bigip-node-module/27002)

<div class="topic-metadata">

**Author:** [@eric\_landers](https://forum.ansible.com/u/eric_landers)\
**Replies:** 2\
**Last updated:** [March 15, 2018, 2:34pm UTC](https://forum.ansible.com/t/error-while-running-bigip-node-module/27002 "2018-03-15T14:34:01Z")

</div>

I’m trying to run the bigip\_node playbook and am receiving the below error. I’ve also upgraded to python 2.7 which is now running alongside of python 2.6. How do I make the f5 modules now point to python 2.7 instead of 2…

---

## [Expect Module Help](https://forum.ansible.com/t/expect-module-help/26966)

<div class="topic-metadata">

**Author:** [@Samuel\_Sutton](https://forum.ansible.com/u/Samuel_Sutton)\
**Replies:** 4\
**Last updated:** [March 15, 2018, 2:06pm UTC](https://forum.ansible.com/t/expect-module-help/26966 "2018-03-15T14:06:54Z")

</div>

Hello everyone, I’m messing around with expect and I can’t seem to get a match to get the ping command to fire again a second time. I’m assuming that I’m making a very common matching mistake that is alluding me. Any he…

---

## [AWX on Standalone PostgreSQL](https://forum.ansible.com/t/awx-on-standalone-postgresql/26977)

<div class="topic-metadata">

**Author:** [@Hemant\_Kulkarni](https://forum.ansible.com/u/Hemant_Kulkarni)\
**Replies:** 2\
**Last updated:** [March 15, 2018, 1:46pm UTC](https://forum.ansible.com/t/awx-on-standalone-postgresql/26977 "2018-03-15T13:46:59Z")

</div>

Hello Everyone … is any body have Process to install AWX with Standalone PostgreSQL Instance … I tried several times but no luck …I tried to recreate docker images but still no luck …

---

## [How to get winrm log from ansible?](https://forum.ansible.com/t/how-to-get-winrm-log-from-ansible/27003)

<div class="topic-metadata">

**Author:** [@user92](https://forum.ansible.com/u/user92)\
**Replies:** 0\
**Last updated:** [March 15, 2018, 12:53pm UTC](https://forum.ansible.com/t/how-to-get-winrm-log-from-ansible/27003 "2018-03-15T12:53:05Z")

</div>

Hello. I’m trying to debug an issue with transfering file to windows host by ansible. Is there any way to get log detailed log of winrm operations and errors from ansible?

---

## [Complex fact setting in Ansible playbooks](https://forum.ansible.com/t/complex-fact-setting-in-ansible-playbooks/26992)

<div class="topic-metadata">

**Author:** [@Giulio\_Vito\_de\_Musso](https://forum.ansible.com/u/Giulio_Vito_de_Musso)\
**Replies:** 1\
**Last updated:** [March 15, 2018, 10:52am UTC](https://forum.ansible.com/t/complex-fact-setting-in-ansible-playbooks/26992 "2018-03-15T10:52:36Z")

</div>

Hello you all! I’m using Ansible to configure some Linux services on different Linux machines and I need to set the services precedence depending on the host’s group. To be clear, I need to add three Linux services A.s…

---

## [Help Running win\_command or win\_shell for IIS custom log field setting.](https://forum.ansible.com/t/help-running-win-command-or-win-shell-for-iis-custom-log-field-setting/26996)

<div class="topic-metadata">

**Author:** [@Chris\_K](https://forum.ansible.com/u/Chris_K)\
**Replies:** 1\
**Last updated:** [March 14, 2018, 9:07pm UTC](https://forum.ansible.com/t/help-running-win-command-or-win-shell-for-iis-custom-log-field-setting/26996 "2018-03-14T21:07:17Z")

</div>

Greetings everyone! I am beating my head against a wall trying to get this to work, and I know I’m screwing it up but I’m about at the end of my tether trying to get this right. I’m trying to add customFields to IIS site…

---

## [Issue with script not working on Windows/Cygwin](https://forum.ansible.com/t/issue-with-script-not-working-on-windows-cygwin/26988)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 4\
**Last updated:** [March 14, 2018, 8:51pm UTC](https://forum.ansible.com/t/issue-with-script-not-working-on-windows-cygwin/26988 "2018-03-14T20:51:59Z")

</div>

Hi, all. I have an issue with a certain script (permissions) whilst using ansible. First of all, I have one script that does work: #!/bin/bash set -xe chmod 660 /etc/rsyncd.secrets mkpasswd \> /etc/passwd sed -i ‘s…

---

## [Copy files from windows machine to linux machine using ansible](https://forum.ansible.com/t/copy-files-from-windows-machine-to-linux-machine-using-ansible/21259)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 8\
**Last updated:** [March 14, 2018, 8:39pm UTC](https://forum.ansible.com/t/copy-files-from-windows-machine-to-linux-machine-using-ansible/21259 "2018-03-14T20:39:37Z")

</div>

I trying to copy files from a remote windows machine to my local machine(linux machine) using ansible. As fetch module works for linux to linux file transfer, is there anything similar that could enable me to fetch files…

---

## [Ansible windows issue about running yml task](https://forum.ansible.com/t/ansible-windows-issue-about-running-yml-task/26994)

<div class="topic-metadata">

**Author:** [@selim\_sarisu](https://forum.ansible.com/u/selim_sarisu)\
**Replies:** 4\
**Last updated:** [March 14, 2018, 8:38pm UTC](https://forum.ansible.com/t/ansible-windows-issue-about-running-yml-task/26994 "2018-03-14T20:38:17Z")

</div>

Hi Friends , When I tried to run any .yml task on the Ansible , I get following error ; My Syntax is here , - name: Create directory structure win\_file: path: C:\\Temp\\folder\\subfolder state: directory ERR…

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

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