From 4fd6fa60aaaee9e217b1fa550fd7d6d258afb95f Mon Sep 17 00:00:00 2001 From: David Lopez Date: Wed, 23 Aug 2023 07:59:01 +0000 Subject: [PATCH] Add windows/install_packages.ym --- windows/install_packages.ym | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 windows/install_packages.ym 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