# Latest

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

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

**Page:** 609

---

## [Should I be using Ansible?](https://forum.ansible.com/t/should-i-be-using-ansible/25979)

<div class="topic-metadata">

**Author:** [@Joey\_Alain](https://forum.ansible.com/u/Joey_Alain)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 8:46pm UTC](https://forum.ansible.com/t/should-i-be-using-ansible/25979 "2017-11-09T20:46:12Z")

</div>

Hey everyone, I’d like to begin automating the following things (very tip of iceberg): Patch Management tasks. Specifically via powershell on the server which hosts the patch management tool, execution of scheduled pa…

---

## [Running exe on windows from a batch file](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25978)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 8:15pm UTC](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25978 "2017-11-09T20:15:46Z")

</div>

I don’t think win\_shell is necessary, you are truly trying to run an executable and don’t want to confuse issues that may be related to how the shell handles things and how a command handles it. In your case you will nee…

---

## [Yum module update\_cache doesn't work for RHEL in ansible 2.4.0.0](https://forum.ansible.com/t/yum-module-update-cache-doesnt-work-for-rhel-in-ansible-2-4-0-0/25977)

<div class="topic-metadata">

**Author:** [@Kuldip\_Madnani](https://forum.ansible.com/u/Kuldip_Madnani)\
**Replies:** 2\
**Last updated:** [November 9, 2017, 8:09pm UTC](https://forum.ansible.com/t/yum-module-update-cache-doesnt-work-for-rhel-in-ansible-2-4-0-0/25977 "2017-11-09T20:09:49Z")

</div>

The example shown in Ansible website shows that update\_cache is executed when ansible\_distribution is Centos. name: install system updates for centos systems yum: name=\* state=latest update\_cache=yes when: ansible\_dist…

---

## [Running exe on windows from a batch file](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25966)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 2\
**Last updated:** [November 9, 2017, 7:54pm UTC](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25966 "2017-11-09T19:54:50Z")

</div>

Where is the setup-x86\_64.exe located? By default commands run from win\_command and win\_shell are run in the user’s home directory which means it will be trying to execute C:\\Users\\pkmbuilder\\setup-x86\_64.exe. If the exe…

---

## [Missing python library](https://forum.ansible.com/t/missing-python-library/25959)

<div class="topic-metadata">

**Author:** [@Marc\_Herren](https://forum.ansible.com/u/Marc_Herren)\
**Replies:** 4\
**Last updated:** [November 9, 2017, 5:44pm UTC](https://forum.ansible.com/t/missing-python-library/25959 "2017-11-09T17:44:33Z")

</div>

Hi, My playbook uses lookup with dig, which needs the dnspython library. \[1\] I’ve installed the library on the system with pip and cli ansible-playbook execution just works as expected. Unfortunately with AWX it fails…

---

## [RFC: Support for Multiple Credential assignment for Jobs](https://forum.ansible.com/t/rfc-support-for-multiple-credential-assignment-for-jobs/25976)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 5:17pm UTC](https://forum.ansible.com/t/rfc-support-for-multiple-credential-assignment-for-jobs/25976 "2017-11-09T17:17:01Z")

</div>

tl;dr I’ve opened a new pull request for awx which extends JobTemplates with the ability to associate Credentials via one unified many-to-many list. Please have a look and provide feedback on this pull request: https://…

---

## [How to handle lists of files and avoid unnecessary changes](https://forum.ansible.com/t/how-to-handle-lists-of-files-and-avoid-unnecessary-changes/25964)

<div class="topic-metadata">

**Author:** [@Marc\_Haber](https://forum.ansible.com/u/Marc_Haber)\
**Replies:** 3\
**Last updated:** [November 9, 2017, 3:17pm UTC](https://forum.ansible.com/t/how-to-handle-lists-of-files-and-avoid-unnecessary-changes/25964 "2017-11-09T15:17:10Z")

</div>

Hi, on Debian systems, one can configure repositories in an /etc/apt/sources.list.d directory with multiple files. I usually name the files after the distribution, so that, in a simplyfied example, I might have a fil…

---

## [Add asnsible\_host for each member of a group.](https://forum.ansible.com/t/add-asnsible-host-for-each-member-of-a-group/25975)

<div class="topic-metadata">

**Author:** [@Federico\_Olivieri](https://forum.ansible.com/u/Federico_Olivieri)\
**Replies:** 1\
**Last updated:** [November 9, 2017, 3:15pm UTC](https://forum.ansible.com/t/add-asnsible-host-for-each-member-of-a-group/25975 "2017-11-09T15:15:29Z")

</div>

Hi all I have a group like this: \[webservers\] www\[01:50\].example.com I would like to understand if there is a way to assign ansible\_host variable for each member of the group like: www01.example.com ansible\_host=1.1.…

---

## [pytest arugment error](https://forum.ansible.com/t/pytest-arugment-error/25899)

<div class="topic-metadata">

**Author:** [@Jae\_Kim](https://forum.ansible.com/u/Jae_Kim)\
**Replies:** 5\
**Last updated:** [November 9, 2017, 1:58pm UTC](https://forum.ansible.com/t/pytest-arugment-error/25899 "2017-11-09T13:58:29Z")

</div>

Hi Following the command in this manual http://docs.ansible.com/ansible/latest/dev\_guide/developing\_modules\_general.html When I run the following command pytest -r a --cov=. --cov-report=html --fulltrace --color yes …

---

## [Failed to validate the SSL certificate for github.com:443 while executing ansible-container build](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-github-com-443-while-executing-ansible-container-build/25973)

<div class="topic-metadata">

**Author:** [@ManiGandan\_T](https://forum.ansible.com/u/ManiGandan_T)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 10:56am UTC](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-github-com-443-while-executing-ansible-container-build/25973 "2017-11-09T10:56:08Z")

</div>

My main.yml is executing a task called dumb-init and we are getting “msg”: "Failed to validate the SSL certificate for github.com:443. Make sure your managed systems have a valid CA certificate installed " error STEPS T…

---

## [How to Install and Configure Ansible on Ubuntu 16.04 whithout Internet ?](https://forum.ansible.com/t/how-to-install-and-configure-ansible-on-ubuntu-16-04-whithout-internet/25968)

<div class="topic-metadata">

**Author:** [@user118](https://forum.ansible.com/u/user118)\
**Replies:** 1\
**Last updated:** [November 9, 2017, 7:10am UTC](https://forum.ansible.com/t/how-to-install-and-configure-ansible-on-ubuntu-16-04-whithout-internet/25968 "2017-11-09T07:10:50Z")

</div>

在 2017年11月9日星期四 UTC+8上午10:37:16，赵梦写道：

---

## [Getting authentication failed with simple playbook.](https://forum.ansible.com/t/getting-authentication-failed-with-simple-playbook/25942)

<div class="topic-metadata">

**Author:** [@Steve\_Madel](https://forum.ansible.com/u/Steve_Madel)\
**Replies:** 1\
**Last updated:** [November 9, 2017, 7:04am UTC](https://forum.ansible.com/t/getting-authentication-failed-with-simple-playbook/25942 "2017-11-09T07:04:33Z")

</div>

I am an ansible noob looking to manage cisco ACI with it. I have thrown together a simple playbook located at https://pastebin.com/LcGBEttc. When I run the playbook I get Permission denied (publickey,password), however i…

---

## [Inventory source (RH Satellite 6) Invalid Arguments](https://forum.ansible.com/t/inventory-source-rh-satellite-6-invalid-arguments/25970)

<div class="topic-metadata">

**Author:** [@Jason\_Firmino](https://forum.ansible.com/u/Jason_Firmino)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 5:27am UTC](https://forum.ansible.com/t/inventory-source-rh-satellite-6-invalid-arguments/25970 "2017-11-09T05:27:32Z")

</div>

Hello Gents, I’m trying to setup n inventory using a RH Satellite 6 source. Added the credentials and the inventory source, however once I try to sync it it fails with this output: 2.579 INFO Updating inventory 2: NON…

---

## [Ansible 2.4.2 beta3 is ready for testing](https://forum.ansible.com/t/ansible-2-4-2-beta3-is-ready-for-testing/25969)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 4:17am UTC](https://forum.ansible.com/t/ansible-2-4-2-beta3-is-ready-for-testing/25969 "2017-11-09T04:17:38Z")

</div>

Hi all, we're happy to announce that beta3 for 2.4.2 is now available for testing. How do you get it?

---

## [Windows Server 2016 and scheduled tasks](https://forum.ansible.com/t/windows-server-2016-and-scheduled-tasks/25957)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 11:44pm UTC](https://forum.ansible.com/t/windows-server-2016-and-scheduled-tasks/25957 "2017-11-08T23:44:01Z")

</div>

Troubleshooting another project which uses schedule tasks as a non-Administrator account. Searching shows Windows Server 2016 does not allow non-Administrators to manage schedule tasks. Since there have been several git…

---

## [Errativ behavior when looping over a fileglob](https://forum.ansible.com/t/errativ-behavior-when-looping-over-a-fileglob/25950)

<div class="topic-metadata">

**Author:** [@Marc\_Haber](https://forum.ansible.com/u/Marc_Haber)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 7:15pm UTC](https://forum.ansible.com/t/errativ-behavior-when-looping-over-a-fileglob/25950 "2017-11-08T19:15:24Z")

</div>

Hi, I am trying to remove a bunch of files wiht the following code: $ cat site.yml

---

## [Running exe on windows from a batch file](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25963)

<div class="topic-metadata">

**Author:** [@Zimidar\_Boy](https://forum.ansible.com/u/Zimidar_Boy)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 6:53pm UTC](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25963 "2017-11-08T18:53:53Z")

</div>

Also try this batch file. \_\_\*https://gist.github.com/wjrogers/1016065\*\_\_

---

## [Running exe on windows from a batch file](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25962)

<div class="topic-metadata">

**Author:** [@Zimidar\_Boy](https://forum.ansible.com/u/Zimidar_Boy)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 6:49pm UTC](https://forum.ansible.com/t/running-exe-on-windows-from-a-batch-file/25962 "2017-11-08T18:49:50Z")

</div>

Can you please run playbook by using -vvv verbose mode. It will give more clarity of error.

---

## [scanning the newly added disc](https://forum.ansible.com/t/scanning-the-newly-added-disc/25961)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 5:46pm UTC](https://forum.ansible.com/t/scanning-the-newly-added-disc/25961 "2017-11-08T17:46:01Z")

</div>

Hi Team, Whenever we get new luns from storage team., how to scan the newly added lun which module will be more suitable to scan the lun

---

## [os\_server shade problem](https://forum.ansible.com/t/os-server-shade-problem/25958)

<div class="topic-metadata">

**Author:** [@asadrajput.pk](https://forum.ansible.com/u/asadrajput.pk)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 11:22am UTC](https://forum.ansible.com/t/os-server-shade-problem/25958 "2017-11-08T11:22:12Z")

</div>

Hey Guys, I have tried all the modules of shade to automate my openstack using os\_etc. I found only one error which i would like share for resolving the issue. The script is as under. name: Deploy on OpenStack hos…

---

## [wait\_for module](https://forum.ansible.com/t/wait-for-module/25933)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 6\
**Last updated:** [November 8, 2017, 9:09am UTC](https://forum.ansible.com/t/wait-for-module/25933 "2017-11-08T09:09:59Z")

</div>

Hi, After rebooting the host and need to check if that process is back online. Is there a way in ansible (or “wait\_for module” ) to check the service or process to be running after a reboot. could you please share your…

---

## [passing --ask-become-pass to task within playbook](https://forum.ansible.com/t/passing-ask-become-pass-to-task-within-playbook/25953)

<div class="topic-metadata">

**Author:** [@Stephen\_Tyler](https://forum.ansible.com/u/Stephen_Tyler)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 6:18am UTC](https://forum.ansible.com/t/passing-ask-become-pass-to-task-within-playbook/25953 "2017-11-08T06:18:53Z")

</div>

Hello. If I have a playbook with -b --become-user=root --ask-become-pass CLI arguments… and a script/task that cannot be started with root (so I can’t use become on a task level) but later asks to sudo, to be able to pa…

---

## [How do you register variables from imported playbooks?](https://forum.ansible.com/t/how-do-you-register-variables-from-imported-playbooks/25915)

<div class="topic-metadata">

**Author:** [@ddrake2012](https://forum.ansible.com/u/ddrake2012)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 3:12am UTC](https://forum.ansible.com/t/how-do-you-register-variables-from-imported-playbooks/25915 "2017-11-08T03:12:51Z")

</div>

Hello, I’m new to ansible and am trying to use import\_playbook and register but it is not working. I have a playbook called vpc.yml: hosts: localhost tasks: import\_role: name: vpc vars: aws\_region: “{{aws\_region}}…

---

## [Way to just run containers?](https://forum.ansible.com/t/way-to-just-run-containers/25955)

<div class="topic-metadata">

**Author:** [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 1:02am UTC](https://forum.ansible.com/t/way-to-just-run-containers/25955 "2017-11-08T01:02:41Z")

</div>

I pushed all of the containers to our internal dockerhub, but is there a way of just running the containers?

---

## [Modifying local files while targeting a remote system](https://forum.ansible.com/t/modifying-local-files-while-targeting-a-remote-system/25951)

<div class="topic-metadata">

**Author:** [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Replies:** 2\
**Last updated:** [November 7, 2017, 10:23pm UTC](https://forum.ansible.com/t/modifying-local-files-while-targeting-a-remote-system/25951 "2017-11-07T22:23:22Z")

</div>

Is it possible to modify local files while targeting a remote system in an Ansible YAML file? I’m trying to run an Ansible script on a remote machine, but when everything finishes on that remote machine, I’d like to move…

---

## [regexp multiline](https://forum.ansible.com/t/regexp-multiline/25952)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [November 7, 2017, 9:18pm UTC](https://forum.ansible.com/t/regexp-multiline/25952 "2017-11-07T21:18:43Z")

</div>

There are currently only two flags available for use in regular expression filters in ansible, which appear to be 'ignorecase' and 'multiline': https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/filter/…

---

## [fatal: \[localhost\]: FAILED! when installing IIS on Windows Server 2016 ec2](https://forum.ansible.com/t/fatal-localhost-failed-when-installing-iis-on-windows-server-2016-ec2/25902)

<div class="topic-metadata">

**Author:** [@Akim\_Grudzitsky](https://forum.ansible.com/u/Akim_Grudzitsky)\
**Replies:** 5\
**Last updated:** [November 7, 2017, 8:08pm UTC](https://forum.ansible.com/t/fatal-localhost-failed-when-installing-iis-on-windows-server-2016-ec2/25902 "2017-11-07T20:08:38Z")

</div>

I’m trying to install IIS server on the ec2 instance with Windows in AWS. But getting an error: fatal: \[localhost\]: FAILED! =\> { "changed": false, "failed": true, "module\_stderr": "", "module\_stdout"…

---

## [AWX Job page doesn't refreshed automatically when running behind Nginx Proxy.](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815)

<div class="topic-metadata">

**Author:** [@venkatesh.l](https://forum.ansible.com/u/venkatesh.l)\
**Replies:** 3\
**Last updated:** [November 7, 2017, 6:39pm UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815 "2017-11-07T18:39:47Z")

</div>

I’ve made a AWX environment in Container. Currently, I’m having AWX\_Web, AWX\_task as a separate container and setup the Nginx proxy behind of AWX\_Web. When I execute any jobs, page is not refreshed automatically. The sta…

---

## [install python libs](https://forum.ansible.com/t/install-python-libs/25535)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 6\
**Last updated:** [November 7, 2017, 4:34pm UTC](https://forum.ansible.com/t/install-python-libs/25535 "2017-11-07T16:34:47Z")

</div>

I am playing around with AWX and want to load a role (or “project” I suppose is the new term) that has some custom libraries and filter\_plugins. The problem is that these python scripts require py libs that were never in…

---

## [how to get only and only command output in ansible playbook](https://forum.ansible.com/t/how-to-get-only-and-only-command-output-in-ansible-playbook/25949)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 0\
**Last updated:** [November 7, 2017, 4:24pm UTC](https://forum.ansible.com/t/how-to-get-only-and-only-command-output-in-ansible-playbook/25949 "2017-11-07T16:24:10Z")

</div>

Hello Team, Whenever i run my playbook, it gives me below output which i do not want i just want standard output or standard error.

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

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