Include more in playbook
This commit is contained in:
parent
9d3683268a
commit
9170e889e1
@ -227,12 +227,11 @@ cat <<EOF
|
||||
########################################
|
||||
EOF
|
||||
|
||||
# TODO continue here
|
||||
|
||||
# reload systemd user scripts
|
||||
systemctl --user daemon-reload
|
||||
|
||||
# set systemd services for vmware (only if installed)
|
||||
# TODO
|
||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
||||
sudo systemctl enable --now vmware-networks.service || echo "Service failed, continuing"
|
||||
sudo systemctl enable --now vmware-usbarbitrator.service || echo "Service failed, continuing"
|
||||
@ -248,6 +247,7 @@ fi
|
||||
sudo systemctl enable fstrim.timer
|
||||
|
||||
# enable btrfs maintenance timers
|
||||
# TODO
|
||||
if [[ $(pacman -Q | grep btrfsmaintenance) ]]; then
|
||||
sudo systemctl restart btrfsmaintenance-refresh.service
|
||||
sudo systemctl enable btrfs-balance.timer
|
||||
@ -261,6 +261,7 @@ sudo timedatectl set-ntp true
|
||||
systemctl --user enable --now ssh-agent
|
||||
|
||||
# enable reflector timer
|
||||
# TODO
|
||||
if [[ $(pacman -Q | grep reflector) ]]; then
|
||||
sudo systemctl enable reflector.timer
|
||||
fi
|
||||
@ -276,12 +277,15 @@ cat <<EOF
|
||||
EOF
|
||||
|
||||
# set systemd and group for vmware (only if installed)
|
||||
# TODO
|
||||
if [[ $(pacman -Q | grep vmware-workstation) ]]; then
|
||||
echo "Setting up group for vmware"
|
||||
sudo groupadd -f vmware
|
||||
sudo gpasswd -a "$USER" vmware 1>/dev/null
|
||||
fi
|
||||
|
||||
# TODO continue here
|
||||
|
||||
# set group for libvirt
|
||||
if [[ $(pacman -Q | grep libvirt) ]]; then
|
||||
echo "Setting group for libvirt"
|
||||
|
@ -10,9 +10,16 @@
|
||||
- ".gtkrc-2.0"
|
||||
- ".local"
|
||||
- ".ssh"
|
||||
- "etc"
|
||||
- "scripts"
|
||||
|
||||
- name: Copy new files and directories (root)
|
||||
ansible.builtin.copy:
|
||||
src: "files/{{ item }}"
|
||||
dest: "~/{{ item }}"
|
||||
loop:
|
||||
- "etc"
|
||||
become: true
|
||||
|
||||
- name: Symlink xdg environment variables
|
||||
ansible.builtin.file:
|
||||
src: "~/.config/user-dirs.dirs"
|
||||
@ -29,3 +36,31 @@
|
||||
src: "/tmp/bash-cat-with-cat/cat.sh"
|
||||
dest: "~/scripts/pieces/cat.sh"
|
||||
mode: "0755"
|
||||
|
||||
- name: Reload user systemd services
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Enable fstrim
|
||||
ansible.builtin.systemd_service:
|
||||
name: fstrim.timer
|
||||
state: "started"
|
||||
enabled: true
|
||||
become: true
|
||||
|
||||
- name: Enable NTP
|
||||
ansible.builtin.command: timedatectl set-ntp true
|
||||
become: true
|
||||
|
||||
- name: Enable ssh-agent
|
||||
ansible.builtin.systemd_service:
|
||||
name: ssh-agent
|
||||
state: "restarted"
|
||||
enabled: true
|
||||
|
||||
- name: Enable vnstat
|
||||
ansible.builtin.systemd_service:
|
||||
name: vnstat
|
||||
state: "started"
|
||||
enabled: true
|
||||
become: true
|
||||
|
@ -1,171 +1,174 @@
|
||||
---
|
||||
- name: Update packages
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
upgrade: true
|
||||
update_cache: true
|
||||
upgrade: true
|
||||
become: true
|
||||
|
||||
- name: Install official packages
|
||||
community.general.pacman:
|
||||
state: present
|
||||
# select the lines and use 'M-x sort-lines'
|
||||
name:
|
||||
#- gnome-keyring
|
||||
#- hdparm
|
||||
#- libaacs
|
||||
#- libbluray
|
||||
#- libcdio
|
||||
#- libdvdcss
|
||||
#- libdvdnav
|
||||
#- libdvdread
|
||||
#- libsecret
|
||||
#- phonon-qt5-gstreamer
|
||||
#- seahorse
|
||||
- aardvark-dns # containers
|
||||
- amd-ucode # microcode
|
||||
- ansible # iac
|
||||
- base-devel # devel stuff
|
||||
- bind # dnsutils (nslookup, dig)
|
||||
- btrfs-progs # btrfs
|
||||
- buildah # containers
|
||||
- clang
|
||||
- cmake
|
||||
- composer
|
||||
- discord
|
||||
- dnsmasq # virtualization
|
||||
- dosfstools # fat
|
||||
- e2fsprogs # ext4
|
||||
- easyeffects # audio effects
|
||||
- edk2-ovmf # virtualization
|
||||
- emacs-wayland
|
||||
- exfatprogs # exfat
|
||||
- f2fs-tools # f2fs
|
||||
- fd
|
||||
- ffmpeg # multimedia
|
||||
- firefox # browser
|
||||
- firewalld # firewall
|
||||
- fish # shell
|
||||
- flatpak # packages
|
||||
- freetype2 # fonts
|
||||
- fuse-overlayfs # containers
|
||||
- fwupd # firmware
|
||||
- fwupd-efi # firmware
|
||||
- gdb
|
||||
- git # code
|
||||
- git-lfs # code
|
||||
- hunspell # spelling
|
||||
- hunspell-de # spelling
|
||||
- hunspell-en_gb # spelling
|
||||
- hunspell-en_us # spelling
|
||||
- hyphen # spelling
|
||||
- hyphen-de # spelling
|
||||
- hyphen-en # spelling
|
||||
- imv # image viewer
|
||||
- intel-media-driver # VAAPI
|
||||
- intel-ucode # microcode
|
||||
- jre-openjdk # java
|
||||
- just # command runner
|
||||
- kde-applications-meta # kde
|
||||
- kid3 # music metadata
|
||||
- krita
|
||||
- languagetool
|
||||
- lib32-mesa # video driver
|
||||
- lib32-vulkan-intel # video driver
|
||||
- lib32-vulkan-radeon # video driver
|
||||
- libreoffice-fresh # office
|
||||
- libreoffice-fresh-de # office
|
||||
- libva-intel-driver # VAAPI
|
||||
- libva-mesa-driver # VAAPI
|
||||
- libva-utils # VAAPI
|
||||
- libvirt # virtualization
|
||||
- linux # kernel
|
||||
- linux-firmware # kernel
|
||||
- linux-headers # kernel
|
||||
- lldb
|
||||
- lldb-mi
|
||||
- lutris # games
|
||||
- man-db # docs
|
||||
- mesa # video driver
|
||||
- mesa-vdpau # VDPAU
|
||||
- mosh # remote shell
|
||||
- mtools # fat
|
||||
- mythes-de # thesaurus
|
||||
- mythes-en # thesaurus
|
||||
- nerd-fonts # fonts
|
||||
- nextcloud-client # cloud
|
||||
- nodejs
|
||||
- noto-fonts # fonts
|
||||
- noto-fonts-cjk # fonts
|
||||
- noto-fonts-emoji # fonts
|
||||
- ntfs-3g # ntfs
|
||||
- nvme-cli # nvme ssd
|
||||
- obs-studio # recording
|
||||
- okular # pdf
|
||||
- openssh # remote shell
|
||||
- opentofu # iac
|
||||
- otf-font-awesome # fonts
|
||||
- p7zip # compression
|
||||
- packagekit-qt6
|
||||
- pacman-contrib # scripts
|
||||
- pandoc
|
||||
- php # code
|
||||
- piper # mouse
|
||||
- pipewire # audio
|
||||
- pipewire-alsa # audio
|
||||
- pipewire-jack # audio
|
||||
- pipewire-pulse # audio
|
||||
- pkgstats
|
||||
- podman # containers
|
||||
- power-profiles-daemon # power management
|
||||
- prettier # code
|
||||
- pyright # code
|
||||
- python-black # code
|
||||
- python-debugpy # code
|
||||
- python-isort # code
|
||||
- python-pip # code
|
||||
- python-pipenv # code
|
||||
- python-pyflakes # code
|
||||
- python-pytest # code
|
||||
- qemu-full # virtualization
|
||||
- rebuild-detector # packages
|
||||
- reflector # mirrors
|
||||
- restic # backup
|
||||
- ripgrep # doom emacs
|
||||
- rsync # file sync
|
||||
- ruby-sass # code
|
||||
- shellcheck # code
|
||||
- shfmt # code
|
||||
- smartmontools # disks
|
||||
- steam # games
|
||||
- stress # benchmark
|
||||
- stylelint # code
|
||||
- tesseract-data-deu
|
||||
- tesseract-data-eng
|
||||
- texlive-core
|
||||
- thunderbird # email
|
||||
- tidy
|
||||
- traceroute # network
|
||||
- transmission-remote-gtk # torrent
|
||||
- ttf-fira-code # fonts
|
||||
- ttf-fira-sans # fonts
|
||||
- udftools # udf
|
||||
- unrar # compression
|
||||
- unzip # compression
|
||||
- util-linux # various utils
|
||||
- vdpauinfo # VDPAU
|
||||
- vim # editor
|
||||
- virt-manager # virtualization
|
||||
- vscode-css-languageserver
|
||||
- vulkan-intel # video driver
|
||||
- vulkan-radeon # video driver
|
||||
- wget # network
|
||||
- wine # windows
|
||||
- wireguard-tools # vpn
|
||||
- wireplumber # audio
|
||||
- xdg-desktop-portal-gtk # flatpak theming
|
||||
- xdg-user-dirs # standards
|
||||
- xdg-utils # standards
|
||||
- xfsprogs # xfs
|
||||
- yt-dlp
|
||||
# AUR packages
|
||||
# - dockerfile-language-server # code
|
||||
# - dockfmt
|
||||
# - refind-theme-nord # bootmenu
|
||||
state: present
|
||||
# select the lines and use 'M-x sort-lines'
|
||||
name:
|
||||
#- gnome-keyring
|
||||
#- hdparm
|
||||
#- libaacs
|
||||
#- libbluray
|
||||
#- libcdio
|
||||
#- libdvdcss
|
||||
#- libdvdnav
|
||||
#- libdvdread
|
||||
#- libsecret
|
||||
#- phonon-qt5-gstreamer
|
||||
#- seahorse
|
||||
- aardvark-dns # containers
|
||||
- amd-ucode # microcode
|
||||
- ansible # iac
|
||||
- base-devel # devel stuff
|
||||
- bind # dnsutils (nslookup, dig)
|
||||
- btrfs-progs # btrfs
|
||||
- buildah # containers
|
||||
- clang
|
||||
- cmake
|
||||
- composer
|
||||
- discord
|
||||
- dnsmasq # virtualization
|
||||
- dosfstools # fat
|
||||
- e2fsprogs # ext4
|
||||
- easyeffects # audio effects
|
||||
- edk2-ovmf # virtualization
|
||||
- emacs-wayland
|
||||
- exfatprogs # exfat
|
||||
- f2fs-tools # f2fs
|
||||
- fd
|
||||
- ffmpeg # multimedia
|
||||
- firefox # browser
|
||||
- firewalld # firewall
|
||||
- fish # shell
|
||||
- flatpak # packages
|
||||
- freetype2 # fonts
|
||||
- fuse-overlayfs # containers
|
||||
- fwupd # firmware
|
||||
- fwupd-efi # firmware
|
||||
- gdb
|
||||
- git # code
|
||||
- git-lfs # code
|
||||
- hunspell # spelling
|
||||
- hunspell-de # spelling
|
||||
- hunspell-en_gb # spelling
|
||||
- hunspell-en_us # spelling
|
||||
- hyphen # spelling
|
||||
- hyphen-de # spelling
|
||||
- hyphen-en # spelling
|
||||
- imv # image viewer
|
||||
- intel-media-driver # VAAPI
|
||||
- intel-ucode # microcode
|
||||
- jre-openjdk # java
|
||||
- just # command runner
|
||||
- kde-applications-meta # kde
|
||||
- kid3 # music metadata
|
||||
- krita
|
||||
- languagetool
|
||||
- lib32-mesa # video driver
|
||||
- lib32-vulkan-intel # video driver
|
||||
- lib32-vulkan-radeon # video driver
|
||||
- libreoffice-fresh # office
|
||||
- libreoffice-fresh-de # office
|
||||
- libva-intel-driver # VAAPI
|
||||
- libva-mesa-driver # VAAPI
|
||||
- libva-utils # VAAPI
|
||||
- libvirt # virtualization
|
||||
- linux # kernel
|
||||
- linux-firmware # kernel
|
||||
- linux-headers # kernel
|
||||
- lldb
|
||||
- lldb-mi
|
||||
- lutris # games
|
||||
- man-db # docs
|
||||
- mesa # video driver
|
||||
- mesa-vdpau # VDPAU
|
||||
- mosh # remote shell
|
||||
- mtools # fat
|
||||
- mythes-de # thesaurus
|
||||
- mythes-en # thesaurus
|
||||
- nerd-fonts # fonts
|
||||
- nextcloud-client # cloud
|
||||
- nodejs
|
||||
- noto-fonts # fonts
|
||||
- noto-fonts-cjk # fonts
|
||||
- noto-fonts-emoji # fonts
|
||||
- ntfs-3g # ntfs
|
||||
- nvme-cli # nvme ssd
|
||||
- obs-studio # recording
|
||||
- okular # pdf
|
||||
- openssh # remote shell
|
||||
- opentofu # iac
|
||||
- otf-font-awesome # fonts
|
||||
- p7zip # compression
|
||||
- packagekit-qt6
|
||||
- pacman-contrib # scripts
|
||||
- pandoc
|
||||
- php # code
|
||||
- piper # mouse
|
||||
- pipewire # audio
|
||||
- pipewire-alsa # audio
|
||||
- pipewire-jack # audio
|
||||
- pipewire-pulse # audio
|
||||
- pkgstats
|
||||
- podman # containers
|
||||
- power-profiles-daemon # power management
|
||||
- prettier # code
|
||||
- pyright # code
|
||||
- python-black # code
|
||||
- python-debugpy # code
|
||||
- python-isort # code
|
||||
- python-pip # code
|
||||
- python-pipenv # code
|
||||
- python-pyflakes # code
|
||||
- python-pytest # code
|
||||
- qemu-full # virtualization
|
||||
- rebuild-detector # packages
|
||||
- reflector # mirrors
|
||||
- restic # backup
|
||||
- ripgrep # doom emacs
|
||||
- rsync # file sync
|
||||
- ruby-sass # code
|
||||
- shellcheck # code
|
||||
- shfmt # code
|
||||
- smartmontools # disks
|
||||
- steam # games
|
||||
- stress # benchmark
|
||||
- stylelint # code
|
||||
- tesseract-data-deu
|
||||
- tesseract-data-eng
|
||||
- texlive-core
|
||||
- thunderbird # email
|
||||
- tidy
|
||||
- traceroute # network
|
||||
- transmission-remote-gtk # torrent
|
||||
- ttf-fira-code # fonts
|
||||
- ttf-fira-sans # fonts
|
||||
- udftools # udf
|
||||
- unrar # compression
|
||||
- unzip # compression
|
||||
- util-linux # various utils
|
||||
- vdpauinfo # VDPAU
|
||||
- vim # editor
|
||||
- virt-manager # virtualization
|
||||
- vscode-css-languageserver
|
||||
- vulkan-intel # video driver
|
||||
- vulkan-radeon # video driver
|
||||
- wget # network
|
||||
- wine # windows
|
||||
- wireguard-tools # vpn
|
||||
- wireplumber # audio
|
||||
- xdg-desktop-portal-gtk # flatpak theming
|
||||
- xdg-user-dirs # standards
|
||||
- xdg-utils # standards
|
||||
- xfsprogs # xfs
|
||||
- yt-dlp
|
||||
# - dockerfile-language-server # code # AUR
|
||||
# - dockfmt # AUR
|
||||
# - refind-theme-nord # bootmenu # AUR
|
||||
# - btrfsmaintenance # AUR
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user