-
Notifications
You must be signed in to change notification settings - Fork 3
/
deploy-ci.yml
23 lines (19 loc) · 967 Bytes
/
deploy-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- hosts: proxmox_servers:proxmox_vms
gather_facts: no # because the nodes aren't up yet
tasks:
- { import_role: { name: proxmox }, tags: [ proxmox ] }
- { import_role: { name: proxmox-controller }, tags: [ proxmox-controller ] }
- hosts: k3s_servers
become: yes
tasks:
- name: set host architecture
set_fact:
host_arch: "{{ 'amd64' if ansible_architecture == 'x86_64' else 'arm64' if ansible_architecture == 'aarch64' else ansible_architecture }}"
tags: always
- { import_role: { name: node }, tags: [ node ] }
- { import_role: { name: k3s-server-experiment }, tags: [ k3s-server-experiment ] }
- { import_role: { name: controller }, tags: [ controller ] }
- { import_role: { name: cilium-pre-flux }, tags: [ cilium-pre-flux ] }
- { import_role: { name: sealed-secrets }, tags: [ sealed-secrets ] }
- { import_role: { name: flux }, tags: [ flux ] }
- { import_role: { name: authentik }, tags: [ authentik ] }