Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c9f5641698 |
1
ansible/group_vars/all/k3s
Normal file
1
ansible/group_vars/all/k3s
Normal file
@ -0,0 +1 @@
|
|||||||
|
k3s_cluster_group: homelab
|
@ -1,2 +1,3 @@
|
|||||||
nomad_datacenter: homelab
|
nomad_datacenter: homelab
|
||||||
|
k3s_consul_service: true
|
||||||
system_wol_enable: True
|
system_wol_enable: True
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Consul install
|
|
||||||
hosts: all
|
|
||||||
roles:
|
|
||||||
- role: ansible-consul
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Vault install
|
- name: Vault install
|
||||||
hosts: homelab
|
hosts: homelab
|
||||||
roles:
|
roles:
|
||||||
@ -46,8 +40,6 @@
|
|||||||
|
|
||||||
- name: nomad
|
- name: nomad
|
||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
|
||||||
unseal_keys_dir_output: ~/vaultunseal
|
|
||||||
roles:
|
roles:
|
||||||
- role: ansible-nomad
|
- role: ansible-nomad
|
||||||
become: true
|
become: true
|
||||||
|
8
ansible/playbooks/consul.yml
Normal file
8
ansible/playbooks/consul.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- name: Consul install
|
||||||
|
hosts: all
|
||||||
|
roles:
|
||||||
|
- role: ansible-consul
|
||||||
|
become: true
|
||||||
|
|
||||||
|
|
5
ansible/playbooks/kube.yml
Normal file
5
ansible/playbooks/kube.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: k3s
|
||||||
|
hosts: all
|
||||||
|
roles:
|
||||||
|
- role: ansible-k3s
|
@ -45,5 +45,7 @@ roles:
|
|||||||
- src: git@git.ducamps.eu:2222/ansible-roles/ansible-role-pureftpd.git
|
- src: git@git.ducamps.eu:2222/ansible-roles/ansible-role-pureftpd.git
|
||||||
scm: git
|
scm: git
|
||||||
- src: https://github.com/PowerDNS/pdns_recursor-ansible.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:
|
collections:
|
||||||
- name: vladgh.samba
|
- name: vladgh.samba
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
- import_playbook: playbooks/server.yml
|
- import_playbook: playbooks/server.yml
|
||||||
- import_playbook: playbooks/dhcpd.yml
|
- import_playbook: playbooks/dhcpd.yml
|
||||||
- import_playbook: playbooks/dns.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/nas.yml
|
||||||
- import_playbook: playbooks/autofs.yml
|
- import_playbook: playbooks/autofs.yml
|
||||||
- import_playbook: playbooks/sssd.yml
|
- import_playbook: playbooks/sssd.yml
|
||||||
|
@ -85,8 +85,7 @@ exclude_patterns:
|
|||||||
- '*nomad/registry'
|
- '*nomad/registry'
|
||||||
- '*nomad/pacoloco'
|
- '*nomad/pacoloco'
|
||||||
- '*nomad/pihole'
|
- '*nomad/pihole'
|
||||||
- '*nomad/jellyfin/*'
|
- '*nomad/jellyfin/config/data/library*'
|
||||||
- '*.log*'
|
|
||||||
|
|
||||||
match_archives: '*'
|
match_archives: '*'
|
||||||
archive_name_format: '{{ env "node.datacenter" }}-{now:%Y-%m-%dT%H:%M:%S.%f}'
|
archive_name_format: '{{ env "node.datacenter" }}-{now:%Y-%m-%dT%H:%M:%S.%f}'
|
||||||
|
Loading…
Reference in New Issue
Block a user