You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
403 B
11 lines
403 B
---
|
|
# This playbook uses the win_get_url module to download a simple HTML file for IIS
|
|
|
|
- name: Download simple web site
|
|
hosts: windows
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Download simple web site to 'C:\inetpub\wwwroot\ansible.html'
|
|
win_get_url:
|
|
url: 'https://raw.githubusercontent.com/thisdavejohnson/mywebapp/master/index.html'
|
|
dest: 'C:\inetpub\wwwroot\ansible.html'
|
|
|