Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Add russ.mckendrick user
- win_user:
- name: russ.mckendrick
- password: "mymegasecurepassword"
- groups: ["Users", "Administrators"]
- - name: Install Git with Chocolatey
- win_chocolatey:
- name: "{{ item }}"
- with_items:
- - git.install
- - python
- - name: Ensure IIS and ASP.NET are installed
- win_feature:
- name: AS-Web-Support
- state: present
- restart: yes
- include_sub_features: yes
- include_management_tools: yes
- - name: Create the c:\inetpub\ansible folder
- win_file:
- path: c:\inetpub\ansible
- state: "directory"
- - name: Put the default.aspx file in place, we should probably be doing something more fancy here
- win_copy:
- src: "default.aspx"
- dest: c:\inetpub\ansible\default.aspx
- - name: Ensure that the DefaultAppPool web application exists
- win_iis_webapplication:
- name: "Default"
- physical_path: c:\inetpub\ansible
- application_pool: "DefaultAppPool"
- site: "Default Web Site"
- state: present
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement