From 5943da9cefa990dbef5e593e35154d8b4644816b Mon Sep 17 00:00:00 2001 From: earnest ma Date: Wed, 26 Jan 2022 18:11:50 -0500 Subject: [PATCH] Reorganize packages and add some new ones --- roles/common/tasks/packages.yml | 36 ++++++++++++++++++++++++++------- tasks/update-packages.yml | 2 +- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/roles/common/tasks/packages.yml b/roles/common/tasks/packages.yml index b7eeb8c..8c18205 100644 --- a/roles/common/tasks/packages.yml +++ b/roles/common/tasks/packages.yml @@ -3,18 +3,22 @@ # Essential packages: things that need to be available early # Development packages # Main packages +# then flatpak things - name: Install essential packages package: name: + - git - htop - - util-linux-user - - neovim + - neovim # editor - seahorse - - pinentry-gnome3 # kde, gpg + - pinentry-gnome3 # kde, gpg cache password + - stow - tmux - - zsh + - util-linux-user - xclip + # Shell + - zsh # fonts - jetbrains-mono-fonts-all - fira-code-fonts @@ -39,22 +43,28 @@ package: name: - '@Development tools' - - aerc + # Editors (more) - codium + - emacs + # Utilities + - aerc - direnv - exa - fd-find - fzf - - git - git-email - git-publish - isync - ripgrep - ShellCheck - - stow + - zoxide # ansible - ansible # should already be available - ansible-lint + # langs + ## Python + - python3 + - poetry state: present - name: Install main packages @@ -76,3 +86,15 @@ name: 'https://zoom.us/client/latest/zoom_x86_64.rpm' disable_gpg_check: true state: present + +- name: Configure flatpak flathub remote + community.general.flatpak_remote: + name: flathub + flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo + state: present + +- name: Install flatpaks + community.general.flatpak: + name: + - com.spotify.Client + state: present diff --git a/tasks/update-packages.yml b/tasks/update-packages.yml index 3e1e107..1d99c9a 100644 --- a/tasks/update-packages.yml +++ b/tasks/update-packages.yml @@ -1,4 +1,4 @@ -- name: Update packages +- name: Update packages installed through dnf dnf: name: "*" state: present