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

106 lines
1.9 KiB
YAML

---
- name: install basic system
become: yes
community.general.pacman:
name:
- btrfs-progs
- cronie
- dhcpcd
- efibootmgr
- grub
- xorg-xinit
- polkit-gnome
- xdg-desktop-portal-gtk
- helvum
- 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: "[Arch] install terminal packages"
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-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: copy scripts
become: yes
copy:
src: "usr/local/sbin/{{item}}"
dest: "/usr/local/sbin/{{item}}"
mode: '0755'
loop:
- update-grub