Fatemeh Rouzbeh | b4b5507 | 2022-03-02 10:03:15 -0800 | [diff] [blame] | 1 | --- |
2 | # rke2 tasks/main.yml | ||||
3 | # | ||||
4 | # SPDX-FileCopyrightText: © 2022 Open Networking Foundation <support@opennetworking.org> | ||||
5 | # SPDX-License-Identifier: Apache-2.0 | ||||
6 | |||||
7 | - name: include OS-specific vars | ||||
8 | include_vars: "{{ ansible_os_family }}.yml" | ||||
9 | |||||
10 | - name: include OS-specific tasks | ||||
11 | include_tasks: "{{ ansible_os_family }}.yml" | ||||
12 | |||||
13 | - name: Node cleanup after rke cluster | ||||
14 | include_tasks: nodecleanup.yml | ||||
15 | when: rke2_cleanup |