-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathremove.yml
More file actions
28 lines (23 loc) · 804 Bytes
/
remove.yml
File metadata and controls
28 lines (23 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
- name: Remove VPNTV configuration
hosts: vpntv
become: 'yes'
pre_tasks:
- name: Load configuration (with defaults from example file)
ansible.builtin.include_vars: "{{ item }}"
loop:
- example.config.yml
- config.yml
handlers:
- name: Include handlers
ansible.builtin.import_tasks: tasks/handlers.yml
tasks:
- name: Remove previously done WiFi and Wired configuration
ansible.builtin.import_tasks: tasks/remove-config-wifi.yml
when: wifi_config_remove
- name: Remove WiFi modules
ansible.builtin.import_tasks: tasks/remove-wifi-modules.yml
when: wifi_module_remove
- name: Remove OpenVPN client and configuration
ansible.builtin.import_tasks: tasks/remove-ovpn-client.yml
when: ovpnclient_remove