Ansible/init.yml

18 lines
540 B
YAML
Raw Normal View History

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