feat: K3S cluster instalation.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2024-08-04 11:56:02 +02:00
parent 374a62c304
commit 2161f22ef8
7 changed files with 20 additions and 9 deletions

View File

@ -0,0 +1 @@
k3s_cluster_group: homelab

View File

@ -1,2 +1,3 @@
nomad_datacenter: homelab
k3s_consul_service: true
system_wol_enable: True

View File

@ -1,10 +1,4 @@
---
- name: Consul install
hosts: all
roles:
- role: ansible-consul
become: true
- name: Vault install
hosts: homelab
roles:
@ -46,8 +40,6 @@
- name: nomad
hosts: all
vars:
unseal_keys_dir_output: ~/vaultunseal
roles:
- role: ansible-nomad
become: true

View File

@ -0,0 +1,8 @@
---
- name: Consul install
hosts: all
roles:
- role: ansible-consul
become: true

View File

@ -0,0 +1,5 @@
---
- name: k3s
hosts: all
roles:
- role: ansible-k3s

View File

@ -45,5 +45,7 @@ roles:
- src: git@git.ducamps.eu:2222/ansible-roles/ansible-role-pureftpd.git
scm: git
- src: https://github.com/PowerDNS/pdns_recursor-ansible.git
- src: ssh://git@git.ducamps.eu:2222/ansible-roles/ansible-k3s.git
scm: git
collections:
- name: vladgh.samba

View File

@ -2,7 +2,9 @@
- import_playbook: playbooks/server.yml
- import_playbook: playbooks/dhcpd.yml
- import_playbook: playbooks/dns.yml
- import_playbook: playbooks/HashicorpStack.yml
- import_playbook: playbooks/consul.yml
- import_playbook: playbooks/kube.yml
#- import_playbook: playbooks/HashicorpStack.yml
- import_playbook: playbooks/nas.yml
- import_playbook: playbooks/autofs.yml
- import_playbook: playbooks/sssd.yml