From fcc73736303b79abcc4b8c8ad1538c7234114738 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Tue, 13 Oct 2020 09:00:47 +0200 Subject: [PATCH] Split packages to separate tasks Signed-off-by: Matej Focko --- playbooks/roles/fedora_packages/tasks/main.yml | 10 ++-------- playbooks/roles/fedora_packages/tasks/shell.yml | 9 +++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 playbooks/roles/fedora_packages/tasks/shell.yml diff --git a/playbooks/roles/fedora_packages/tasks/main.yml b/playbooks/roles/fedora_packages/tasks/main.yml index e697d1c..6c988ac 100644 --- a/playbooks/roles/fedora_packages/tasks/main.yml +++ b/playbooks/roles/fedora_packages/tasks/main.yml @@ -11,11 +11,5 @@ - flameshot state: present -- name: Install all packages for shell - dnf: - name: - - zsh - - tmux - - neovim - - emacs - state: present \ No newline at end of file +- include: shell.yml +- include: haskell.yml \ No newline at end of file diff --git a/playbooks/roles/fedora_packages/tasks/shell.yml b/playbooks/roles/fedora_packages/tasks/shell.yml new file mode 100644 index 0000000..8d5fb3a --- /dev/null +++ b/playbooks/roles/fedora_packages/tasks/shell.yml @@ -0,0 +1,9 @@ +--- +- name: Install all packages for shell + dnf: + name: + - zsh + - tmux + - neovim + - emacs + state: present \ No newline at end of file