Files
bc250-cachyos-handheld/site.yml
T

46 lines
1.2 KiB
YAML

- name: Manage users
hosts: bc250
tags:
- 'never'
- 'users'
vars:
ansible_user: deck
ansible_ssh_pass: deck
ansible_become_password: deck
pre_tasks:
- name: Inserisci il percorso della chiave pubblica
run_once: true # noqa: run-once[task]
ansible.builtin.pause:
prompt: |-
Inserisci il percorso della chiave pubblica [~/.ssh/id_ed25519.pub]
register: install_ssh_keys__ssh_pubkey_path
- name: Imposta il percorso della chiave pubblica
run_once: true # noqa: run-once[task]
ansible.builtin.set_fact:
install_ssh_keys__ssh_pubkey_path: "{{ install_ssh_keys__ssh_pubkey_path.user_input or '~/.ssh/id_ed25519.pub' }}"
roles:
- name: Manage the users
role: users
- name: Configure the BC250
hosts: bc250
roles:
- name: Install kernel
role: kernel
- name: Install fan control and temperature driver
role: fan
# GPU stuff
- name: Install GPU governor
role: gpu_governor
- name: Install Mesa
role: mesa
- name: Enable 40CU
role: 40cu
- name: Install CPU governor
role: cpu_governor
- name: Setup zram, zswap and GPU memory allocation
role: memory