# Latest

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

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

**Page:** 503

---

## [difference between win\_dsc and win\_package](https://forum.ansible.com/t/difference-between-win-dsc-and-win-package/29132)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 9\
**Last updated:** [November 28, 2018, 4:02am UTC](https://forum.ansible.com/t/difference-between-win-dsc-and-win-package/29132 "2018-11-28T04:02:54Z")

</div>

Hello All, what is the difference between win\_dsc and win\_package. thanks, Narmada

---

## [How to use eval() method in ansible?](https://forum.ansible.com/t/how-to-use-eval-method-in-ansible/29119)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Durairaj](https://forum.ansible.com/u/Sindhuja_Durairaj)\
**Replies:** 1\
**Last updated:** [November 28, 2018, 3:33am UTC](https://forum.ansible.com/t/how-to-use-eval-method-in-ansible/29119 "2018-11-28T03:33:51Z")

</div>

Hello Team, I would like to use eval() method which we use in python to be used in Ansible or in jinja templating. So far, I didn’t get any module for it in Ansible. There is no filter called eval which can be used in j…

---

## [A couple of thousand new servers to add into ansible](https://forum.ansible.com/t/a-couple-of-thousand-new-servers-to-add-into-ansible/29081)

<div class="topic-metadata">

**Author:** [@Sloan](https://forum.ansible.com/u/Sloan)\
**Replies:** 3\
**Last updated:** [November 27, 2018, 11:10pm UTC](https://forum.ansible.com/t/a-couple-of-thousand-new-servers-to-add-into-ansible/29081 "2018-11-27T23:10:44Z")

</div>

I am currently setting up to add a couple of thousand servers into ansible config mgmt. Does anyone know of any blogs scripts etc that could be helpful. specifically I am looking into automated login scripts like expect …

---

## [Ansible Play Output](https://forum.ansible.com/t/ansible-play-output/29131)

<div class="topic-metadata">

**Author:** [@evangelinaa.ruiz32](https://forum.ansible.com/u/evangelinaa.ruiz32)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 10:16pm UTC](https://forum.ansible.com/t/ansible-play-output/29131 "2018-11-27T22:16:36Z")

</div>

How can I completely omit the output of an entire play?

---

## [bulk set\_fact from output of an external script?](https://forum.ansible.com/t/bulk-set-fact-from-output-of-an-external-script/29128)

<div class="topic-metadata">

**Author:** [@Alexander\_Spitzer](https://forum.ansible.com/u/Alexander_Spitzer)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 7:22pm UTC](https://forum.ansible.com/t/bulk-set-fact-from-output-of-an-external-script/29128 "2018-11-27T19:22:51Z")

</div>

Right now I have a role/common that does a lot of “discovery” about the machine. It does things like looks at the hostname and sets “machine\_env” to dev/qa/prod. It also does a lot of discovery to see what applications…

---

## [Ansible vmware module - create a template from a VM](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 7:18pm UTC](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083 "2018-11-27T19:18:53Z")

</div>

Hi I am seeing a lot of information on how to deploy a VM from a template, however what I am looking for is how we can create a template from a VM? My plan is to first bring up a VM from a base template, then I will ha…

---

## [block/rescue to find out failed hosts with hostvar and when](https://forum.ansible.com/t/block-rescue-to-find-out-failed-hosts-with-hostvar-and-when/29129)

<div class="topic-metadata">

**Author:** [@hajott](https://forum.ansible.com/u/hajott)\
**Replies:** 0\
**Last updated:** [November 27, 2018, 6:49pm UTC](https://forum.ansible.com/t/block-rescue-to-find-out-failed-hosts-with-hostvar-and-when/29129 "2018-11-27T18:49:49Z")

</div>

Hello, I try to figure out, how I can find the failed hosts in rescue. My idea was to use: name: add failed hosts to the exclude list add\_host: name: “{{ item }}” groups: failed\_hosts\_in\_block when: hostvars:\[ite…

---

## [uncommenting a line in file is not working](https://forum.ansible.com/t/uncommenting-a-line-in-file-is-not-working/29127)

<div class="topic-metadata">

**Author:** [@vivek\_mv](https://forum.ansible.com/u/vivek_mv)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 4:59pm UTC](https://forum.ansible.com/t/uncommenting-a-line-in-file-is-not-working/29127 "2018-11-27T16:59:43Z")

</div>

Hello Experts, my ansible play book is working for me to uncomment certain lines in a .conf file, but its failing for one particular line its not making any change. below is my .conf file part. → #\<VirtualHost \*:44…

---

## [how to deference data from registered variables with loop](https://forum.ansible.com/t/how-to-deference-data-from-registered-variables-with-loop/29126)

<div class="topic-metadata">

**Author:** [@Dale\_Sykora](https://forum.ansible.com/u/Dale_Sykora)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 4:26pm UTC](https://forum.ansible.com/t/how-to-deference-data-from-registered-variables-with-loop/29126 "2018-11-27T16:26:25Z")

</div>

I am trying to process a list of subfolders, but am having trouble dereferencing the data If I run the following playbook

---

## [Ansible copy or delete multiple files in parallel](https://forum.ansible.com/t/ansible-copy-or-delete-multiple-files-in-parallel/29105)

<div class="topic-metadata">

**Author:** [@anushakeshipeddy4](https://forum.ansible.com/u/anushakeshipeddy4)\
**Replies:** 3\
**Last updated:** [November 27, 2018, 3:59pm UTC](https://forum.ansible.com/t/ansible-copy-or-delete-multiple-files-in-parallel/29105 "2018-11-27T15:59:31Z")

</div>

Hi Team, Can we copy or delete files in parallel instead of sequence for different locations when using with\_items.

---

## [docker: executable file not found in PATH](https://forum.ansible.com/t/docker-executable-file-not-found-in-path/29122)

<div class="topic-metadata">

**Author:** [@Lionel\_H](https://forum.ansible.com/u/Lionel_H)\
**Replies:** 0\
**Last updated:** [November 27, 2018, 7:39am UTC](https://forum.ansible.com/t/docker-executable-file-not-found-in-path/29122 "2018-11-27T07:39:36Z")

</div>

Hi AWX community! I’m having the same issue as described here: https://github.com/ansible/awx/issues/593 But I think there is a confusion on the resolution and the issue is not related to docker\_container. As far as I…

---

## [Question on Ansible \*NIX packages with Python3 dependencies](https://forum.ansible.com/t/question-on-ansible-nix-packages-with-python3-dependencies/29086)

<div class="topic-metadata">

**Author:** [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Replies:** 4\
**Last updated:** [November 27, 2018, 3:49am UTC](https://forum.ansible.com/t/question-on-ansible-nix-packages-with-python3-dependencies/29086 "2018-11-27T03:49:42Z")

</div>

I checked the repos for both RedHat and Debian-based distros and saw that the latest versions of Ansible still require Python2.7 and wanted to see if there will be a point these packages flip to using Python3. I guess I …

---

## [Is there any way to manage windows 2003 servers using Ansible?](https://forum.ansible.com/t/is-there-any-way-to-manage-windows-2003-servers-using-ansible/29118)

<div class="topic-metadata">

**Author:** [@yyellapragada](https://forum.ansible.com/u/yyellapragada)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 2:33am UTC](https://forum.ansible.com/t/is-there-any-way-to-manage-windows-2003-servers-using-ansible/29118 "2018-11-27T02:33:27Z")

</div>

Hello Team, Based on my research, there is no straight way to manage windows 2003 servers using Ansible and there are some github repos which share Ansible Core packages that use powershell 2.0 (windows 2003) but it is …

---

## [\[WARNING\]: The src option requires state to be 'link' or 'hard'.  This will become an error in Ansible 2.10](https://forum.ansible.com/t/warning-the-src-option-requires-state-to-be-link-or-hard-this-will-become-an-error-in-ansible-2-10/29120)

<div class="topic-metadata">

**Author:** [@Ronnie10](https://forum.ansible.com/u/Ronnie10)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 2:27am UTC](https://forum.ansible.com/t/warning-the-src-option-requires-state-to-be-link-or-hard-this-will-become-an-error-in-ansible-2-10/29120 "2018-11-27T02:27:19Z")

</div>

Hi All, I have the following ansible codes, however when I run molecule test, it gave me the error as my subject, anyway to fix that? name: Copy file to config folder file: src: files/ dest: “PATH/config/” mode: …

---

## [error when installing apache on ubuntu](https://forum.ansible.com/t/error-when-installing-apache-on-ubuntu/24625)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 12\
**Last updated:** [November 27, 2018, 1:15am UTC](https://forum.ansible.com/t/error-when-installing-apache-on-ubuntu/24625 "2018-11-27T01:15:06Z")

</div>

This is my playbook apache.yml

---

## [Cannot copy a file from S3 to a windows node. WinRM send\_input failed error.](https://forum.ansible.com/t/cannot-copy-a-file-from-s3-to-a-windows-node-winrm-send-input-failed-error/29111)

<div class="topic-metadata">

**Author:** [@yyellapragada](https://forum.ansible.com/u/yyellapragada)\
**Replies:** 2\
**Last updated:** [November 26, 2018, 11:56pm UTC](https://forum.ansible.com/t/cannot-copy-a-file-from-s3-to-a-windows-node-winrm-send-input-failed-error/29111 "2018-11-26T23:56:45Z")

</div>

Hello Team, I just started using Ansible and am having trouble in getting it to work with AWS S3. Could you please have a look at the output and help me understand what I did wrong? I did a lot of research on the error…

---

## [Ansible querry](https://forum.ansible.com/t/ansible-querry/29115)

<div class="topic-metadata">

**Author:** [@Sudhir](https://forum.ansible.com/u/Sudhir)\
**Replies:** 2\
**Last updated:** [November 26, 2018, 10:36pm UTC](https://forum.ansible.com/t/ansible-querry/29115 "2018-11-26T22:36:42Z")

</div>

Hello all, Just wanted to check how can I write a shell script and running as adhoc command on managed host to update the server CPU/memory/mac address ( facts )

---

## [AWX behind NGINX reverse proxy](https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 1\
**Last updated:** [November 26, 2018, 6:27pm UTC](https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114 "2018-11-26T18:27:51Z")

</div>

Hello, I have set up 2 AWX servers behind a Nginx proxy server to set up a Round Robin LB. Individually by login to AWX servers the job run is fine but if connecting via Nginx LB as: https:// , it prompts error: Faile…

---

## [LDAP issues for 2.1.0](https://forum.ansible.com/t/ldap-issues-for-2-1-0/29078)

<div class="topic-metadata">

**Author:** [@Strung6013](https://forum.ansible.com/u/Strung6013)\
**Replies:** 7\
**Last updated:** [November 26, 2018, 2:03pm UTC](https://forum.ansible.com/t/ldap-issues-for-2-1-0/29078 "2018-11-26T14:03:50Z")

</div>

I’ve got my LDAP auth setup with the following information and I am pretty sure that it is working somewhat as I think it is finding my username properly, but it isn’t allowing me to login. Can someone please look over m…

---

## [how to add ssh host-keys for lots of new cloud hosts?](https://forum.ansible.com/t/how-to-add-ssh-host-keys-for-lots-of-new-cloud-hosts/29096)

<div class="topic-metadata">

**Author:** [@Mark\_Zhitomirski](https://forum.ansible.com/u/Mark_Zhitomirski)\
**Replies:** 4\
**Last updated:** [November 26, 2018, 10:35am UTC](https://forum.ansible.com/t/how-to-add-ssh-host-keys-for-lots-of-new-cloud-hosts/29096 "2018-11-26T10:35:06Z")

</div>

Traditional approach is to leave it to a human operator and warn him of a new host key. This way is a no-go for automation and testing, a workaround is to disable host-key checks with ansible\_ssh\_extra\_args: ‘-o StrictH…

---

## [How do I exit Ansible playbook without error on a condition](https://forum.ansible.com/t/how-do-i-exit-ansible-playbook-without-error-on-a-condition/29108)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 4\
**Last updated:** [November 26, 2018, 9:59am UTC](https://forum.ansible.com/t/how-do-i-exit-ansible-playbook-without-error-on-a-condition/29108 "2018-11-26T09:59:54Z")

</div>

I have 3 plays in a playbook. In a task in 1st play, If the desired value is not set to variable, the execution should exist with success status and remaining plays also should not get executed.

---

## [{{inventory\_file}} YAML converted to Python](https://forum.ansible.com/t/inventory-file-yaml-converted-to-python/29113)

<div class="topic-metadata">

**Author:** [@Ilya\_Kharlamov](https://forum.ansible.com/u/Ilya_Kharlamov)\
**Replies:** 0\
**Last updated:** [November 25, 2018, 5:30pm UTC](https://forum.ansible.com/t/inventory-file-yaml-converted-to-python/29113 "2018-11-25T17:30:38Z")

</div>

Dear all I have a simple playbook that prints a yaml file: hosts: hosts: myhost tasks: name: show\_inventory\_file shell: ‘cat {{inventory\_file}}’ register: inventory\_file\_yaml debug: msg: ‘{{ inventory\_file\_yam…

---

## [ssh-copy-id error](https://forum.ansible.com/t/ssh-copy-id-error/29069)

<div class="topic-metadata">

**Author:** [@Arvind\_Thatikonda](https://forum.ansible.com/u/Arvind_Thatikonda)\
**Replies:** 2\
**Last updated:** [November 25, 2018, 12:38am UTC](https://forum.ansible.com/t/ssh-copy-id-error/29069 "2018-11-25T00:38:04Z")

</div>

I created a ansible control server, and client server. I created ‘ansible’ users on both control and remote client server. I created ssh keys use ssh-keygen, I tried to copy the ssh keys ( public key) to remote client us…

---

## [How to write selected values to a file from a list of JSON arrays?](https://forum.ansible.com/t/how-to-write-selected-values-to-a-file-from-a-list-of-json-arrays/29109)

<div class="topic-metadata">

**Author:** [@Nick\_Ellson](https://forum.ansible.com/u/Nick_Ellson)\
**Replies:** 3\
**Last updated:** [November 24, 2018, 7:51pm UTC](https://forum.ansible.com/t/how-to-write-selected-values-to-a-file-from-a-list-of-json-arrays/29109 "2018-11-24T19:51:24Z")

</div>

I have a task that I am scratching my head on, and my google foo is just getting some really basic examples of the COPY - CONTENT method of writing a file. my variable returned from the URI module is data, which is a 4 …

---

## [How to copy a file from localhost (Ansible Tower server) to remote host in Ansible playbook?](https://forum.ansible.com/t/how-to-copy-a-file-from-localhost-ansible-tower-server-to-remote-host-in-ansible-playbook/29066)

<div class="topic-metadata">

**Author:** [@Saravanan](https://forum.ansible.com/u/Saravanan)\
**Replies:** 5\
**Last updated:** [November 24, 2018, 7:48pm UTC](https://forum.ansible.com/t/how-to-copy-a-file-from-localhost-ansible-tower-server-to-remote-host-in-ansible-playbook/29066 "2018-11-24T19:48:20Z")

</div>

Hi Ansible Experts, Need to copy a file from Ansible tower server to remote server using copy module. Can you please help to achieve this using copy module or any other module in Ansible? \` \`

---

## [Creating Ansible Modules](https://forum.ansible.com/t/creating-ansible-modules/29079)

<div class="topic-metadata">

**Author:** [@Tj\_Grund](https://forum.ansible.com/u/Tj_Grund)\
**Replies:** 3\
**Last updated:** [November 23, 2018, 6:43pm UTC](https://forum.ansible.com/t/creating-ansible-modules/29079 "2018-11-23T18:43:29Z")

</div>

Good afternoon, I work with a company that is trying to streamline Ansible. We were looking if to see if there were specific training on creating modules. We have Ciena switches that this will be used for. I already hav…

---

## [Big PR review for Ansible - All welcome 2018-11-29](https://forum.ansible.com/t/big-pr-review-for-ansible-all-welcome-2018-11-29/29106)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [November 23, 2018, 6:40pm UTC](https://forum.ansible.com/t/big-pr-review-for-ansible-all-welcome-2018-11-29/29106 "2018-11-23T18:40:03Z")

</div>

Thursday 29th November 2018 from 0900 UTC till late Ansible is a very popular project by any metric. Our awesome community contributes lots of Pull Requests (PRs) every month. Unfortunately the volume of incoming PRs me…

---

## [Tower cli giving 403 error](https://forum.ansible.com/t/tower-cli-giving-403-error/29085)

<div class="topic-metadata">

**Author:** [@Gowtham](https://forum.ansible.com/u/Gowtham)\
**Replies:** 1\
**Last updated:** [November 23, 2018, 2:35pm UTC](https://forum.ansible.com/t/tower-cli-giving-403-error/29085 "2018-11-23T14:35:03Z")

</div>

Hi, I am trying to use tower cli to copy objects from one instance to other. But I am getting following error 'You don’t have permission to do that (HTTP 403)'. Any idea about this issue?

---

## [Configuring GIT for AWX](https://forum.ansible.com/t/configuring-git-for-awx/29104)

<div class="topic-metadata">

**Author:** [@Sam2](https://forum.ansible.com/u/Sam2)\
**Replies:** 0\
**Last updated:** [November 23, 2018, 2:31pm UTC](https://forum.ansible.com/t/configuring-git-for-awx/29104 "2018-11-23T14:31:24Z")

</div>

As AWX recommend to have plays on SCM, so I picked up GIT =) I am wondering if we can configure the way git works in AWX, it seems there is proxy configuration somewhere is AWX and that’s why I am not able to get the pl…

---

## [Nagios Plugin](https://forum.ansible.com/t/nagios-plugin/29099)

<div class="topic-metadata">

**Author:** [@Vinu\_Vajravel](https://forum.ansible.com/u/Vinu_Vajravel)\
**Replies:** 4\
**Last updated:** [November 23, 2018, 12:52pm UTC](https://forum.ansible.com/t/nagios-plugin/29099 "2018-11-23T12:52:38Z")

</div>

Can anyone please tell me a PLugin where effectively i can monitor CPU and Memory for Linux . Appreciate your help in advance . Thanks Vinu

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

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