syncing new ansible playbook locations

This commit is contained in:
ipvsean
2020-05-17 11:07:36 -04:00
parent 595ba17482
commit 6666525cfc
17 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
---
- name: install the iis web service
hosts: windows
tasks:
- name: install iis
win_feature:
name: Web-Server
state: present
- name: start iis service
win_service:
name: W3Svc
state: started
- name: Create website index.html
win_copy:
content: "{{ iis_test_message }}"
dest: C:\Inetpub\wwwroot\index.html
- name: Show website address
debug:
msg: http://{{ ansible_host }}