Add essential tools
This commit is contained in:
parent
b81c96930e
commit
3df6af6d45
3
main.yml
3
main.yml
|
@ -1,4 +1,5 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- common
|
||||
- desktop-environment
|
||||
- desktop-environment
|
||||
- essential-tools # Thunar File Manager, Firefox, KeePassXC, Nextcloud Desktop
|
2
roles/desktop-environment/meta/main.yml
Normal file
2
roles/desktop-environment/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- role: common
|
|
@ -14,7 +14,6 @@
|
|||
- alsa-utils
|
||||
- brightnessctl
|
||||
- flatpak
|
||||
- thunar
|
||||
- adwaita-icon-theme
|
||||
- fonts-firacode
|
||||
- fonts-font-awesome
|
||||
|
|
|
@ -213,7 +213,9 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
|||
exec waybar
|
||||
|
||||
# Autostart applications
|
||||
{% if nextcloud == true %}
|
||||
exec --no-startup-id nextcloud --background
|
||||
{% endif %}
|
||||
|
||||
# Theme colors
|
||||
client.focused #c6c6c6 #1f1f1f #c6c6c6 #8abeb7 #8abeb7
|
||||
|
|
4
roles/essential-tools/meta/main.yml
Normal file
4
roles/essential-tools/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
dependencies:
|
||||
- role: desktop-environment
|
||||
vars:
|
||||
nextcloud: true
|
18
roles/essential-tools/tasks/main.yml
Normal file
18
roles/essential-tools/tasks/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
- name: Add debian unstable repo
|
||||
become: yes
|
||||
apt_repository:
|
||||
repo: deb http://deb.debian.org/debian unstable main non-free-firmware non-free contrib
|
||||
state: present
|
||||
update_cache: true
|
||||
filename: debian-unstable
|
||||
|
||||
- name: Install essential tools
|
||||
become: yes
|
||||
apt:
|
||||
state: latest
|
||||
install_recommends: false
|
||||
name:
|
||||
- thunar
|
||||
- firefox
|
||||
- keepassxc
|
||||
- nextcloud-desktop
|
Loading…
Reference in a new issue