From 2d8782ec3d2a278679dd168ca94285fb265b5669 Mon Sep 17 00:00:00 2001 From: Nikolaos Boutalas Date: Tue, 8 Aug 2023 17:01:52 +0300 Subject: Support Fedora with ansible --- tasks/dependencies/all.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tasks/dependencies/all.yml (limited to 'tasks/dependencies/all.yml') diff --git a/tasks/dependencies/all.yml b/tasks/dependencies/all.yml new file mode 100644 index 0000000..aa05885 --- /dev/null +++ b/tasks/dependencies/all.yml @@ -0,0 +1,20 @@ +- name: Install Ubuntu dependencies + ansible.builtin.import_tasks: + file: tasks/dependencies/ubuntu.yml + when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' + tags: + - always + +- name: Install Fedora dependencies + ansible.builtin.import_tasks: + file: tasks/dependencies/fedora.yml + when: ansible_distribution == 'Fedora' + tags: + - always + +- name: Install dependencies + become: true + ansible.builtin.package: + name: [curl, git, zsh, docker, fzf, tmux, stow, unzip, zip] + tags: + - always -- cgit v1.2.3