Add windows/install_packages.ym

This commit is contained in:
David Lopez 2023-08-23 07:59:01 +00:00
parent 93c64738fb
commit 4fd6fa60aa
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- name: Installing Apache MSI
hosts: W2019
tasks:
- name: Download the Apache installer
win_get_url:
url: https://archive.apache.org/dist/httpd/binaries/win32/httpd-2.2.25-win32-x86-no_ssl.msi
dest: C:\ansible_examples\httpd-2.2.25-win32-x86-no_ssl.msi
- name: Install MSI
win_package:
path: C:\ansible_examples\httpd-2.2.25-win32-x86-no_ssl.msi
state: present