From 66aa6fbdbf4f369fe3126e29e95123f6609e574a Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 14 Oct 2020 20:10:55 +0200 Subject: [PATCH] Refactor fedora packages Signed-off-by: Matej Focko --- playbooks/fedora.yml | 2 +- .../roles/fedora/packages/tasks/main.yml | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 playbooks/roles/fedora/packages/tasks/main.yml diff --git a/playbooks/fedora.yml b/playbooks/fedora.yml index 915309c..ded22ad 100644 --- a/playbooks/fedora.yml +++ b/playbooks/fedora.yml @@ -2,7 +2,7 @@ - name: Fedora bootstrap hosts: all roles: - - role: fedora_packages + - role: fedora/packages become: yes become_method: sudo - flatpaks diff --git a/playbooks/roles/fedora/packages/tasks/main.yml b/playbooks/roles/fedora/packages/tasks/main.yml new file mode 100644 index 0000000..e697d1c --- /dev/null +++ b/playbooks/roles/fedora/packages/tasks/main.yml @@ -0,0 +1,21 @@ +--- +- name: Upgrade all packages + dnf: + name: '*' + state: latest + +- name: Install playerctl and flameshot + dnf: + name: + - playerctl + - flameshot + state: present + +- name: Install all packages for shell + dnf: + name: + - zsh + - tmux + - neovim + - emacs + state: present \ No newline at end of file