ansible-desktop/roles/desktop/tasks/arch.yml

128 lines
2.4 KiB
YAML

---
- name: install basic system
become: yes
community.general.pacman:
name:
- btrfs-progs
- cronie
- dhcpcd
- efibootmgr
- grub
- xorg-xinit
- polkit-gnome
- lightdm
- lightdm-gtk-greeter
- helvum
- name: "Enable service"
become: yes
ansible.builtin.systemd:
name: lightdm
state: started
enabled: yes
- name: "Enable cron service"
become: yes
ansible.builtin.systemd:
name: cronie
state: started
enabled: yes
- name: install terminal packages [Arch]
become: yes
community.general.pacman:
name:
- autorandr
- bash-completion
- bind
- bluez
- brightnessctl
- graphviz
- htop
- imagemagick
- less
- net-tools
- neofetch
- networkmanager
- screen
- tmux
- traceroute
- vim
- name: install terminal packages [AUR]
shell:
cmd:
yay -S --needed --noconfirm epson-inkjet-printer-escpr pm-utils
- name: install gui packages
become: yes
community.general.pacman:
name:
- file-roller
- firefox
- flameshot
- gnome-backgrounds
- gnome-text-editor
- gnome-themes-extra
- gsimplecal
- libreoffice-still
- network-manager-applet
- nm-connection-editor
- nautilus
- numlockx
- openscad
- pavucontrol
- pasystray
- picom
- redshift
- thunderbird
- xdotool
- xorg-xkill
- xorg-xwininfo
- name: Install some fonts
become: yes
community.general.pacman:
name:
- ttf-dejavu
- ttf-fira-code
- ttf-font-awesome
- ttf-liberation
- ttf-symbola
- ttf-ubuntu-font-family
- name: "Enable network manager"
become: yes
ansible.builtin.systemd:
name: NetworkManager.service
state: started
enabled: yes
- name: install flatpak
become: yes
community.general.pacman:
name:
- flatpak
- name: install the smile emoji picker
community.general.flatpak:
state: present
name: it.mijorus.smile
- name: install bottles
community.general.flatpak:
state: present
name: com.usebottles.bottles
- name: copy scripts
become: yes
copy:
src: "usr/local/sbin/{{item}}"
dest: "/usr/local/sbin/{{item}}"
mode: '0755'
loop:
- update-grub
- import_tasks: audio.yml
- import_tasks: bluetooth.yml