From df84c6be30b92759427f67c91492dc944cdff7bb Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 5 Jan 2023 02:02:10 +0100 Subject: [PATCH] feat: add base installs for all hosts --- playbook.yaml | 1 + roles/base/tasks/main.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 roles/base/tasks/main.yaml diff --git a/playbook.yaml b/playbook.yaml index 8d1bfd0..a89febe 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -5,6 +5,7 @@ - { role : sshd-config, tags : [ "sshd" ] } - { role : rsyslog, tags : [ "rsyslog" ] } - { role : monitoring-influx, tags : [ "influx" ] } + - { role : base, tags : [ "base" ] } - hosts: monitoring roles: diff --git a/roles/base/tasks/main.yaml b/roles/base/tasks/main.yaml new file mode 100644 index 0000000..3102b9f --- /dev/null +++ b/roles/base/tasks/main.yaml @@ -0,0 +1,8 @@ +- name: Install packages + apt: + pkg: + - rsync + - zsh + - net-tools + - tcpdump + - git