split up plazbook
This commit is contained in:
48
cyberboobs.yml
Normal file
48
cyberboobs.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
- name: Setup Cyberboob specific tasks
|
||||
hosts: localhost
|
||||
become_method: sudo
|
||||
become: yes
|
||||
tasks:
|
||||
- name: install plymouth
|
||||
apt:
|
||||
name: plymouth
|
||||
- name: get fox theme
|
||||
git:
|
||||
dest: /usr/share/plymouth/themes/foxy
|
||||
repo: https://git.v-tr.org/violet/plymouth-foxy.git
|
||||
notify: update initramfs
|
||||
- name: Set plymouth theme
|
||||
shell:
|
||||
cmd: "plymouth-set-default-theme foxy && touch /etc/.plymouth"
|
||||
creates: /etc/.plymouth
|
||||
notify: update initramfs
|
||||
- name: copy grub background
|
||||
copy:
|
||||
dest: /boot/grub/background.png
|
||||
src: /usr/share/plymouth/themes/foxy/plymouth_background_foxy.png
|
||||
- name: configure grub
|
||||
lineinfile:
|
||||
path: /etc/default/grub
|
||||
line: "{{ item.line }}"
|
||||
regexp: "{{ item.regexp }}"
|
||||
with_items:
|
||||
- line: GRUB_TIMEOUT=0
|
||||
regexp: '^GRUB_TIMEOUT=.*'
|
||||
- line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
|
||||
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT=.*'
|
||||
- line: GRUB_GFXMODE=1366x768
|
||||
regexp: '#?GRUB_GFXMODE=.*'
|
||||
- line: GRUB_BACKGROUND=/boot/grub/background.png
|
||||
regexp: '^GRUB_BACKGROUND.*'
|
||||
notify: update grub
|
||||
- name: set grub colors
|
||||
copy:
|
||||
dest: /boot/grub/custom.cfg
|
||||
content: set color_normal=dark-gray/black
|
||||
handlers:
|
||||
- name: update initramfs
|
||||
command:
|
||||
cmd: update-initramfs -u -k all
|
||||
- name: update grub
|
||||
command:
|
||||
cmd: update-grub
|
||||
31
packages.yml
Normal file
31
packages.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
- name: Setup basic desktop environment
|
||||
hosts: localhost
|
||||
become_method: sudo
|
||||
become: yes
|
||||
tasks:
|
||||
- name: istall more packages
|
||||
apt:
|
||||
name:
|
||||
- firefox-esr
|
||||
- keepassxc
|
||||
- vlc
|
||||
- nautilus
|
||||
- nautilus-share
|
||||
- gnome-keyring
|
||||
- seahorse
|
||||
- eog
|
||||
- evince
|
||||
- pipewire-audio
|
||||
- pipewire-pulse
|
||||
- thunderbird
|
||||
- yt-dlp
|
||||
- pavucontrol
|
||||
- borgbackup
|
||||
state: present
|
||||
- name: install flatpaks
|
||||
flatpak:
|
||||
name:
|
||||
- im.riot.Riot
|
||||
- org.signal.Signal
|
||||
- com.synology.SynologyDrive
|
||||
- com.github.tchx84.Flatseal
|
||||
Reference in New Issue
Block a user