2023-08-23 08:01:09 +00:00
|
|
|
---
|
|
|
|
- name: Installing Apache MSI
|
2023-08-23 10:06:34 +00:00
|
|
|
hosts: W2022
|
2023-08-23 08:01:09 +00:00
|
|
|
|
|
|
|
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
|