diff --git a/windows/install_packages.ym b/windows/install_packages.ym new file mode 100644 index 0000000..f7d3bd5 --- /dev/null +++ b/windows/install_packages.ym @@ -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 \ No newline at end of file