summaryrefslogtreecommitdiff
path: root/tasks/dependencies/all.yml
diff options
context:
space:
mode:
authorNikolaos Boutalas <nikolaos@boutalas.me>2023-08-08 17:01:52 +0300
committerNikolaos Boutalas <nikolaos@boutalas.me>2023-08-08 17:01:52 +0300
commit2d8782ec3d2a278679dd168ca94285fb265b5669 (patch)
tree882c43109dd584d1a504acde6c1a099116030b18 /tasks/dependencies/all.yml
parentfb28a48832d08788f7ac180220e3b684f81a2d4f (diff)
Support Fedora with ansible
Diffstat (limited to 'tasks/dependencies/all.yml')
-rw-r--r--tasks/dependencies/all.yml20
1 files changed, 20 insertions, 0 deletions
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