syncing grant_sudo

This commit is contained in:
ipvsean
2020-03-11 13:43:23 -04:00
parent 28b424c844
commit c3b42d8499
4 changed files with 74 additions and 1 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 }}