Compare commits

...

4 Commits

Author SHA1 Message Date
Ricard Illa 32da90018e force HDMI things on suricata to make pikvm work properly 2023-01-03 15:52:22 +01:00
Ricard Illa b23866aa30 minor adjustments 2023-01-03 15:51:57 +01:00
Ricard Illa 9ae7bd3272 removed wrong task for role 2023-01-03 15:19:07 +01:00
Ricard Illa f1adba90e9 updated alpine versions 2023-01-03 15:10:12 +01:00
3 changed files with 23 additions and 26 deletions

View File

@ -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:

View File

@ -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

View File

@ -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