17 lines
416 B
YAML
17 lines
416 B
YAML
- name: Set up storage
|
|
hosts: k3s_nodes
|
|
gather_facts: true
|
|
roles:
|
|
- role: common
|
|
when: inventory_hostname in groups["k3s_storage"]
|
|
tags:
|
|
- common
|
|
- role: k3s_storage
|
|
when: inventory_hostname in groups["k3s_storage"]
|
|
tags:
|
|
- k3s_storage
|
|
# - role: node_exporter
|
|
# when: inventory_hostname in groups["k3s_storage"]
|
|
# tags:
|
|
# - node_exporter
|