Debian Codegraph @

ansible_collections/microsoft/iis/tests/integration/targets/web_app_pool/tasks/main.yml

raw symbols SCIP
1 ---
2 # Run actual tests
3 - block:
4 - name: ensure IIS features are installed
5 ansible.windows.win_feature:
6 name: Web-Server
7 state: present
8 include_management_tools: True
9 register: feature_install
10
11 - name: reboot after feature install
12 ansible.windows.win_reboot:
13 when: feature_install.reboot_required
14
15 - name: ensure test pool is deleted as a baseline
16 web_app_pool:
17 name: '{{test_iis_webapppool_name}}'
18 state: absent
19
20 # Tests
21 - name: run tests on hosts that support it
22 include_tasks: tests.yml
23
24 always:
25 # Cleanup
26 - name: ensure test pool is deleted
27 web_app_pool:
28 name: '{{test_iis_webapppool_name}}'
29 state: absent