From 4055ae5c4d15f7961619c0fc784996451df281aa Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Sun, 23 Jan 2022 20:50:33 +0100 Subject: [PATCH] initial commitit --- meta/main.yml | 4 ++++ tasks/Debian.yml | 28 ++++++++++++++++++++++++++++ tasks/main.yml | 1 + 3 files changed, 33 insertions(+) create mode 100644 meta/main.yml create mode 100644 tasks/Debian.yml create mode 100644 tasks/main.yml diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..a88669a --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,4 @@ +galaxy_info: + role_name: common_packages + +dependencies: [] diff --git a/tasks/Debian.yml b/tasks/Debian.yml new file mode 100644 index 0000000..515f638 --- /dev/null +++ b/tasks/Debian.yml @@ -0,0 +1,28 @@ +- name: Install common packages + tags: packages + ansible.builtin.package: + name: + - vim-nox + - dnsutils + - lm-sensors + - nfs-common + - python3-psutil + - htop + - zsh + - git + - at + - colordiff + - curl + - iotop + - lsof + - neofetch + - net-tools + - nmap + - rsync + - tmux + - traceroute + - wget + - whois + - fzf + - nano + state: present diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..b818051 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1 @@ +- include_tasks: "{{ ansible_facts['lsb']['id'] }}.yml"