vn-ansible/windows/install-package.yml

14 lines
425 B
YAML
Raw Normal View History

2023-08-23 08:01:09 +00:00
---
- name: Installing Apache MSI
2023-08-28 07:51:15 +00:00
hosts: W2019
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