vn-ansible/windows/install.yml

14 lines
426 B
YAML
Raw Normal View History

2023-08-23 08:01:09 +00:00
---
- 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