Compare commits
4 Commits
49c6d8a833
...
32da90018e
Author | SHA1 | Date |
---|---|---|
Ricard Illa | 32da90018e | |
Ricard Illa | b23866aa30 | |
Ricard Illa | 9ae7bd3272 | |
Ricard Illa | f1adba90e9 |
38
deploy.yml
38
deploy.yml
|
@ -29,14 +29,6 @@
|
||||||
- cryptoraid
|
- cryptoraid
|
||||||
tags: raid
|
tags: raid
|
||||||
|
|
||||||
- name: lbu.conf
|
|
||||||
hosts:
|
|
||||||
- suricata
|
|
||||||
become: true
|
|
||||||
roles:
|
|
||||||
- lbu_conf
|
|
||||||
tags: lbu_conf
|
|
||||||
|
|
||||||
- name: mounts
|
- name: mounts
|
||||||
hosts:
|
hosts:
|
||||||
- suricata
|
- suricata
|
||||||
|
@ -51,13 +43,13 @@
|
||||||
roles:
|
roles:
|
||||||
- usercfg
|
- usercfg
|
||||||
|
|
||||||
- name: docker
|
- name: lbu.conf
|
||||||
hosts:
|
hosts:
|
||||||
- caladan
|
- suricata
|
||||||
- narwhal
|
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- docker
|
- lbu_conf
|
||||||
|
tags: lbu_conf
|
||||||
|
|
||||||
- name: common roles
|
- name: common roles
|
||||||
hosts:
|
hosts:
|
||||||
|
@ -97,6 +89,14 @@
|
||||||
roles:
|
roles:
|
||||||
- pi_fan_hwpwm
|
- pi_fan_hwpwm
|
||||||
|
|
||||||
|
- name: docker
|
||||||
|
hosts:
|
||||||
|
- caladan
|
||||||
|
- narwhal
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- docker
|
||||||
|
|
||||||
- name: podman
|
- name: podman
|
||||||
hosts:
|
hosts:
|
||||||
- suricata
|
- suricata
|
||||||
|
@ -126,13 +126,13 @@
|
||||||
roles:
|
roles:
|
||||||
- tinyproxy
|
- tinyproxy
|
||||||
|
|
||||||
- name: k3s
|
#- name: k3s
|
||||||
hosts:
|
# hosts:
|
||||||
- suricata
|
# - suricata
|
||||||
become: true
|
# become: true
|
||||||
roles:
|
# roles:
|
||||||
- k3s
|
# - k3s
|
||||||
tags: k3s
|
# tags: k3s
|
||||||
|
|
||||||
- name: wireguard
|
- name: wireguard
|
||||||
hosts:
|
hosts:
|
||||||
|
|
|
@ -18,7 +18,7 @@ all:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_become_method: doas
|
ansible_become_method: doas
|
||||||
alpine_mode: diskless
|
alpine_mode: diskless
|
||||||
alpine_version: v3.16
|
alpine_version: v3.17
|
||||||
alpine_repos:
|
alpine_repos:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
@ -130,6 +130,8 @@ all:
|
||||||
rpi_cfg:
|
rpi_cfg:
|
||||||
- "enable_uart=1"
|
- "enable_uart=1"
|
||||||
- "otg_mode=1"
|
- "otg_mode=1"
|
||||||
|
- "hdmi_group=2"
|
||||||
|
- "hdmi_mode=4"
|
||||||
|
|
||||||
caladan:
|
caladan:
|
||||||
ansible_host: caladan
|
ansible_host: caladan
|
||||||
|
@ -138,7 +140,7 @@ all:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_become_method: doas
|
ansible_become_method: doas
|
||||||
alpine_mode: system
|
alpine_mode: system
|
||||||
alpine_version: v3.16
|
alpine_version: v3.17
|
||||||
alpine_repos:
|
alpine_repos:
|
||||||
- main
|
- main
|
||||||
- community
|
- community
|
||||||
|
|
|
@ -22,8 +22,3 @@
|
||||||
- /usr/local/bin/btr_scrub.sh
|
- /usr/local/bin/btr_scrub.sh
|
||||||
- /usr/local/bin/fs_trim.sh
|
- /usr/local/bin/fs_trim.sh
|
||||||
when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"]
|
when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"]
|
||||||
|
|
||||||
- name: copy btrbk config
|
|
||||||
copy:
|
|
||||||
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
|
|
||||||
dest: /etc/btrbk/btrbk.conf
|
|
||||||
|
|
Loading…
Reference in New Issue