2022-05-25 23:24:56 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
2023-03-06 14:03:09 +00:00
|
|
|
tasks:
|
|
|
|
- name: Start basic node configuration
|
|
|
|
include_role:
|
|
|
|
name: node-configuration
|
2024-01-14 00:33:14 +00:00
|
|
|
when: enable_setup | bool
|
2023-12-05 09:03:09 +00:00
|
|
|
- name: Configure headscale
|
|
|
|
include_role:
|
|
|
|
name: headscale
|
2024-01-14 00:33:14 +00:00
|
|
|
when: enable_wireguard | bool
|
|
|
|
# - name: Configure wireguard
|
|
|
|
# ansible.builtin.import_playbook: wireguard/wireguard.yml
|
|
|
|
# when: enable_wireguard|bool == true
|
2023-03-06 14:03:09 +00:00
|
|
|
- name: Configure k3s
|
2023-10-22 10:34:22 +00:00
|
|
|
ansible.builtin.import_playbook: k3s-ansible/site.yml
|
2024-01-14 00:33:14 +00:00
|
|
|
when: enable_k3s | bool
|