Debian Codegraph @

ansible_collections/dellemc/powerflex/roles/powerflex_sdc/tasks/remove_sdc.yml

raw symbols SCIP
1 ---
2 - name: Set fact # noqa var-naming[no-role-prefix]
3 ansible.builtin.set_fact:
4 ansible_distribution: "WindowsOS"
5 when: " 'Windows' in ansible_distribution"
6
7 - name: Include uninstall_sdc.yml
8 ansible.builtin.include_tasks: uninstall_sdc.yml
9
10 - name: Remove the SDC
11 dellemc.powerflex.sdc:
12 hostname: "{{ hostname }}"
13 username: "{{ username }}"
14 password: "{{ password }}"
15 validate_certs: "{{ validate_certs }}"
16 sdc_name: "{{ powerflex_sdc_name }}"
17 state: "absent"
18 register: powerflex_sdc_remove_output
19 delegate_to: "{{ lookup('ansible.builtin.env', 'RUNON', default='localhost') }}"
20 when: powerflex_sdc_name is defined and powerflex_sdc_name | length > 0