Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: block to ensure there is a cleanup after the tests
3 block:
4 - name: Create physical path directory exists for Test Site B
5 ansible.windows.win_file:
6 path: "{{ test_physical_path_B }}"
7 state: directory
8
9 # Tests
10 - name: run tests on hosts that support it
11 include_tasks: tests.yml
12
13 always:
14 # Cleanup
15 - name: remove test application A
16 web_application:
17 state: absent
18 site: "{{ test_site_name_A }}"
19 name: "{{ test_app_name_A }}"
20
21 - name: remove test application B
22 web_application:
23 state: absent
24 site: "{{ test_site_name_B }}"
25 name: "{{ test_app_name_B }}"
26
27 - name: remove test application pool
28 web_app_pool:
29 name: "{{ test_apppool }}"
30 state: absent
31
32 - name: remove test site A
33 website:
34 name: "{{ test_site_name_A }}"
35 state: absent
36
37 - name: remove test site B
38 website:
39 name: "{{ test_site_name_B }}"
40 state: absent
41
42 - name: Remove directory that was created for Test Site B
43 ansible.windows.win_file:
44 path: "{{ test_physical_path_B }}"
45 state: absent