Reformat playbook
This commit is contained in:
parent
49a93ce9dd
commit
a62833a4d9
@ -1,230 +1,229 @@
|
|||||||
---
|
---
|
||||||
- name: x86_64 | Enable multilib repo
|
- name: x86_64 | Enable multilib repo
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/pacman.conf
|
path: /etc/pacman.conf
|
||||||
prepend_newline: true
|
prepend_newline: true
|
||||||
block: |
|
block: |
|
||||||
[multilib]
|
[multilib]
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
when: ansible_architecture == "x86_64"
|
when: ansible_architecture == "x86_64"
|
||||||
tags: first
|
tags: first
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Update packages
|
- name: Update packages
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
upgrade: true
|
upgrade: true
|
||||||
tags: packages
|
tags: packages
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install priority packages
|
- name: Install priority packages
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
state: present
|
state: present
|
||||||
# select the lines and use 'M-x sort-lines'
|
# select the lines and use 'M-x sort-lines'
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- pipewire # audio
|
- pipewire # audio
|
||||||
- pipewire-alsa # audio
|
- pipewire-alsa # audio
|
||||||
- pipewire-jack # audio
|
- pipewire-jack # audio
|
||||||
- pipewire-pulse # audio
|
- pipewire-pulse # audio
|
||||||
tags: packages
|
tags: packages
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install other packages
|
- name: Install other packages
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
state: present
|
state: present
|
||||||
# select the lines and use 'M-x sort-lines'
|
# select the lines and use 'M-x sort-lines'
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
#- gnome-keyring
|
#- gnome-keyring
|
||||||
#- hdparm
|
#- hdparm
|
||||||
#- libaacs
|
#- libaacs
|
||||||
#- libbluray
|
#- libbluray
|
||||||
#- libcdio
|
#- libcdio
|
||||||
#- libdvdcss
|
#- libdvdcss
|
||||||
#- libdvdnav
|
#- libdvdnav
|
||||||
#- libdvdread
|
#- libdvdread
|
||||||
#- libsecret
|
#- libsecret
|
||||||
#- phonon-qt5-gstreamer
|
#- seahorse
|
||||||
#- seahorse
|
- aardvark-dns # containers
|
||||||
- aardvark-dns # containers
|
- ansible # iac
|
||||||
- ansible # iac
|
- base-devel # devel stuff
|
||||||
- base-devel # devel stuff
|
- bind # dnsutils (nslookup, dig)
|
||||||
- bind # dnsutils (nslookup, dig)
|
- btrfs-progs # btrfs
|
||||||
- btrfs-progs # btrfs
|
- buildah # containers
|
||||||
- buildah # containers
|
- clang
|
||||||
- clang
|
- cmake
|
||||||
- cmake
|
- composer
|
||||||
- composer
|
- dnsmasq # virtualization
|
||||||
- dnsmasq # virtualization
|
- dosfstools # fat
|
||||||
- dosfstools # fat
|
- e2fsprogs # ext4
|
||||||
- e2fsprogs # ext4
|
- easyeffects # audio effects
|
||||||
- easyeffects # audio effects
|
- emacs-wayland
|
||||||
- emacs-wayland
|
- exfatprogs # exfat
|
||||||
- exfatprogs # exfat
|
- f2fs-tools # f2fs
|
||||||
- f2fs-tools # f2fs
|
- fd
|
||||||
- fd
|
- ffmpeg # multimedia
|
||||||
- ffmpeg # multimedia
|
- firefox # browser
|
||||||
- firefox # browser
|
- firewalld # firewall
|
||||||
- firewalld # firewall
|
- fish # shell
|
||||||
- fish # shell
|
- flatpak # packages
|
||||||
- flatpak # packages
|
- freetype2 # fonts
|
||||||
- freetype2 # fonts
|
- fuse-overlayfs # containers
|
||||||
- fuse-overlayfs # containers
|
- fwupd # firmware
|
||||||
- fwupd # firmware
|
- fwupd-efi # firmware
|
||||||
- fwupd-efi # firmware
|
- gdb
|
||||||
- gdb
|
- git # code
|
||||||
- git # code
|
- git-lfs # code
|
||||||
- git-lfs # code
|
- hunspell # spelling
|
||||||
- hunspell # spelling
|
- hunspell-de # spelling
|
||||||
- hunspell-de # spelling
|
- hunspell-en_gb # spelling
|
||||||
- hunspell-en_gb # spelling
|
- hunspell-en_us # spelling
|
||||||
- hunspell-en_us # spelling
|
- hyphen # spelling
|
||||||
- hyphen # spelling
|
- hyphen-de # spelling
|
||||||
- hyphen-de # spelling
|
- hyphen-en # spelling
|
||||||
- hyphen-en # spelling
|
- imv # image viewer
|
||||||
- imv # image viewer
|
- jre-openjdk # java
|
||||||
- jre-openjdk # java
|
- just # command runner
|
||||||
- just # command runner
|
- kde-applications-meta # kde
|
||||||
- kde-applications-meta # kde
|
- kid3 # music metadata
|
||||||
- kid3 # music metadata
|
- krita
|
||||||
- krita
|
- languagetool
|
||||||
- languagetool
|
- libreoffice-fresh # office
|
||||||
- libreoffice-fresh # office
|
- libreoffice-fresh-de # office
|
||||||
- libreoffice-fresh-de # office
|
- lldb
|
||||||
- lldb
|
- lldb-mi
|
||||||
- lldb-mi
|
- lutris # games
|
||||||
- lutris # games
|
- man-db # docs
|
||||||
- man-db # docs
|
- mesa # video driver
|
||||||
- mesa # video driver
|
- mesa-vdpau # VDPAU
|
||||||
- mesa-vdpau # VDPAU
|
- mosh # remote shell
|
||||||
- mosh # remote shell
|
- mtools # fat
|
||||||
- mtools # fat
|
- mythes-de # thesaurus
|
||||||
- mythes-de # thesaurus
|
- mythes-en # thesaurus
|
||||||
- mythes-en # thesaurus
|
- nerd-fonts # fonts
|
||||||
- nerd-fonts # fonts
|
- nextcloud-client # cloud
|
||||||
- nextcloud-client # cloud
|
- nodejs
|
||||||
- nodejs
|
- noto-fonts # fonts
|
||||||
- noto-fonts # fonts
|
- noto-fonts-cjk # fonts
|
||||||
- noto-fonts-cjk # fonts
|
- noto-fonts-emoji # fonts
|
||||||
- noto-fonts-emoji # fonts
|
- ntfs-3g # ntfs
|
||||||
- ntfs-3g # ntfs
|
- nvme-cli # nvme ssd
|
||||||
- nvme-cli # nvme ssd
|
- okular # pdf
|
||||||
- okular # pdf
|
- openssh # remote shell
|
||||||
- openssh # remote shell
|
- opentofu # iac
|
||||||
- opentofu # iac
|
- otf-font-awesome # fonts
|
||||||
- otf-font-awesome # fonts
|
- p7zip # compression
|
||||||
- p7zip # compression
|
- pacman-contrib # scripts
|
||||||
- pacman-contrib # scripts
|
- php # code
|
||||||
- php # code
|
- pkgstats
|
||||||
- pkgstats
|
- plasma-meta
|
||||||
- plasma-meta
|
- podman # containers
|
||||||
- podman # containers
|
- power-profiles-daemon # power management
|
||||||
- power-profiles-daemon # power management
|
- prettier # code
|
||||||
- prettier # code
|
- pyright # code
|
||||||
- pyright # code
|
- python-black # code
|
||||||
- python-black # code
|
- python-debugpy # code
|
||||||
- python-debugpy # code
|
- python-isort # code
|
||||||
- python-isort # code
|
- python-pip # code
|
||||||
- python-pip # code
|
- python-pipenv # code
|
||||||
- python-pipenv # code
|
- python-pyflakes # code
|
||||||
- python-pyflakes # code
|
- python-pytest # code
|
||||||
- python-pytest # code
|
- rebuild-detector # packages
|
||||||
- rebuild-detector # packages
|
- restic # backup
|
||||||
- restic # backup
|
- ripgrep # doom emacs
|
||||||
- ripgrep # doom emacs
|
- rsync # file sync
|
||||||
- rsync # file sync
|
- ruby-sass # code
|
||||||
- ruby-sass # code
|
- shfmt # code
|
||||||
- shfmt # code
|
- smartmontools # disks
|
||||||
- smartmontools # disks
|
- stress # benchmark
|
||||||
- stress # benchmark
|
- stylelint # code
|
||||||
- stylelint # code
|
- tesseract-data-deu
|
||||||
- tesseract-data-deu
|
- tesseract-data-eng
|
||||||
- tesseract-data-eng
|
- texlive-core
|
||||||
- texlive-core
|
- thunderbird # email
|
||||||
- thunderbird # email
|
- tidy
|
||||||
- tidy
|
- traceroute # network
|
||||||
- traceroute # network
|
- transmission-remote-gtk # torrent
|
||||||
- transmission-remote-gtk # torrent
|
- ttf-fira-code # fonts
|
||||||
- ttf-fira-code # fonts
|
- ttf-fira-sans # fonts
|
||||||
- ttf-fira-sans # fonts
|
- udftools # udf
|
||||||
- udftools # udf
|
- unrar # compression
|
||||||
- unrar # compression
|
- unzip # compression
|
||||||
- unzip # compression
|
- util-linux # various utils
|
||||||
- util-linux # various utils
|
- vdpauinfo # VDPAU
|
||||||
- vdpauinfo # VDPAU
|
- vim # editor
|
||||||
- vim # editor
|
- vscode-css-languageserver
|
||||||
- vscode-css-languageserver
|
- wget # network
|
||||||
- wget # network
|
- wireguard-tools # vpn
|
||||||
- wireguard-tools # vpn
|
- wireplumber # audio
|
||||||
- wireplumber # audio
|
- xdg-desktop-portal-gtk # flatpak theming
|
||||||
- xdg-desktop-portal-gtk # flatpak theming
|
- xdg-user-dirs # standards
|
||||||
- xdg-user-dirs # standards
|
- xdg-utils # standards
|
||||||
- xdg-utils # standards
|
- xfsprogs # xfs
|
||||||
- xfsprogs # xfs
|
- yaml-language-server # code
|
||||||
- yaml-language-server # code
|
- yt-dlp
|
||||||
- yt-dlp
|
# - dockerfile-language-server # code # AUR
|
||||||
# - dockerfile-language-server # code # AUR
|
# - dockfmt # AUR
|
||||||
# - dockfmt # AUR
|
# - refind-theme-nord # bootmenu # AUR
|
||||||
# - refind-theme-nord # bootmenu # AUR
|
# - btrfsmaintenance # AUR
|
||||||
# - btrfsmaintenance # AUR
|
|
||||||
tags: packages
|
tags: packages
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: x86_64 | Install other packages unavailable/unnecessary on ALARM
|
- name: x86_64 | Install other packages unavailable/unnecessary on ALARM
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
state: present
|
state: present
|
||||||
# select the lines and use 'M-x sort-lines'
|
# select the lines and use 'M-x sort-lines'
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- amd-ucode # microcode
|
- amd-ucode # microcode
|
||||||
- discord
|
- discord
|
||||||
- edk2-ovmf # virtualization
|
- edk2-ovmf # virtualization
|
||||||
- intel-media-driver # VAAPI
|
- intel-media-driver # VAAPI
|
||||||
- intel-ucode # microcode
|
- intel-ucode # microcode
|
||||||
- libva-intel-driver # VAAPI
|
- libva-intel-driver # VAAPI
|
||||||
- libva-mesa-driver # VAAPI
|
- libva-mesa-driver # VAAPI
|
||||||
- libva-utils # VAAPI
|
- libva-utils # VAAPI
|
||||||
- libvirt # virtualization
|
- libvirt # virtualization
|
||||||
- linux # kernel
|
- linux # kernel
|
||||||
- linux-firmware # kernel
|
- linux-firmware # kernel
|
||||||
- linux-headers # kernel
|
- linux-headers # kernel
|
||||||
- obs-studio # recording
|
- obs-studio # recording
|
||||||
- pandoc
|
- pandoc
|
||||||
- piper # mouse
|
- piper # mouse
|
||||||
- qemu-full # virtualization
|
- qemu-full # virtualization
|
||||||
- reflector # mirrors
|
- reflector # mirrors
|
||||||
- shellcheck # code
|
- shellcheck # code
|
||||||
- virt-manager # virtualization
|
- virt-manager # virtualization
|
||||||
- vulkan-intel # video driver
|
- vulkan-intel # video driver
|
||||||
- vulkan-radeon # video driver
|
- vulkan-radeon # video driver
|
||||||
when: ansible_architecture == "x86_64"
|
when: ansible_architecture == "x86_64"
|
||||||
tags: packages
|
tags: packages
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: x86_64 | Install multilib packages
|
- name: x86_64 | Install multilib packages
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
state: present
|
state: present
|
||||||
# select the lines and use 'M-x sort-lines'
|
# select the lines and use 'M-x sort-lines'
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- lib32-mesa # video driver
|
- lib32-mesa # video driver
|
||||||
- lib32-vulkan-intel # video driver
|
- lib32-vulkan-intel # video driver
|
||||||
- lib32-vulkan-radeon # video driver
|
- lib32-vulkan-radeon # video driver
|
||||||
- steam # games
|
- steam # games
|
||||||
- wine # windows
|
- wine # windows
|
||||||
when: ansible_architecture == "x86_64"
|
when: ansible_architecture == "x86_64"
|
||||||
tags: packages
|
tags: packages
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Doom Emacs | Clone
|
- name: Doom Emacs | Clone
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://github.com/doomemacs/doomemacs
|
repo: https://github.com/doomemacs/doomemacs
|
||||||
dest: "~/.config/emacs"
|
dest: "~/.config/emacs"
|
||||||
depth: 1
|
depth: 1
|
||||||
tags: doomemacs
|
tags: doomemacs
|
||||||
|
|
||||||
- name: Doom Emacs | Install
|
- name: Doom Emacs | Install
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "~/.config/emacs/bin/doom install --aot --force"
|
cmd: "~/.config/emacs/bin/doom install --aot --force"
|
||||||
tags: doomemacs
|
tags: doomemacs
|
||||||
|
Loading…
Reference in New Issue
Block a user