diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-09-10 20:44:19 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-09-10 20:44:19 +0300 |
commit | f3782d268d4ed3800fac077b7aa5d3d0f5d1ae9d (patch) | |
tree | 423f3902a5f7f23ec91b64664dfce0b7afd28ac8 /ansible/handbrake.yml | |
parent | e346df05fdf1b1517b0f23277fd3ca5a1562c868 (diff) | |
download | ansibleness-f3782d268d4ed3800fac077b7aa5d3d0f5d1ae9d.tar.gz |
handbrake: playbook
Sponsored-by: author
Diffstat (limited to 'ansible/handbrake.yml')
-rw-r--r-- | ansible/handbrake.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ansible/handbrake.yml b/ansible/handbrake.yml new file mode 100644 index 0000000..51fb447 --- /dev/null +++ b/ansible/handbrake.yml @@ -0,0 +1,52 @@ +- hosts: handbrake + remote_user: debian + become: yes + roles: + - role: sane_debian_system + - role: sshd + - role: unix_users + tasks: + - apt: + name: + - gnome + - handbrake + - handbrake-cli + - htop + + # This seems to be wanted by something in the GNOME app stack. + # Installing it will stop a lot of apps from whinging at startup. + - libcanberra-gtk-module + + - lineinfile: + path: /etc/gdm3/daemon.conf + regexp: WaylandEnable= + line: "WaylandEnable=false" + + - lineinfile: + path: /etc/default/grub + regexp: GRUB_ENABLE_CRYPTODISK + line: "GRUB_ENABLE_CRYPTODISK=n" + + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: "{{ inventory_hostname }}" + sane_debian_system_codename: bookworm + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://deb.debian.org/debian bookworm contrib non-free non-free-firmware + + - repo: | + deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware + + - repo: | + deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware + + unix_users_version: 2 + unix_users: + - username: liw + comment: Lars Wirzenius + + sshd_version: 1 |