From f164c0b7479fa788e5aa7c5466fa47a87e899295 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 24 Mar 2024 19:01:32 +0100 Subject: [PATCH] expanding playbook with exporter, ntp and avahi --- .gitmodules | 12 ++++++++++++ collections/ansible_collections/community/general | 1 + collections/ansible_collections/l3d/avahi | 1 + collections/ansible_collections/l3d/time | 1 + .../ansible_collections/prometheus/prometheus | 1 + site.yml | 3 +++ 6 files changed, 19 insertions(+) create mode 160000 collections/ansible_collections/community/general create mode 160000 collections/ansible_collections/l3d/avahi create mode 160000 collections/ansible_collections/l3d/time create mode 160000 collections/ansible_collections/prometheus/prometheus diff --git a/.gitmodules b/.gitmodules index a5623cb..9e55b1f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,15 @@ [submodule "roles/l3d.packages"] path = roles/l3d.packages url = https://github.com/roles-ansible/ansible_role_packages.git +[submodule "collections/ansible_collections/l3d/time"] + path = collections/ansible_collections/l3d/time + url = https://github.com/roles-ansible/ansible_collection_time.git +[submodule "collections/ansible_collections/l3d/avahi"] + path = collections/ansible_collections/l3d/avahi + url = https://github.com/roles-ansible/ansible_collection_avahi +[submodule "collections/ansible_collections/community/general"] + path = collections/ansible_collections/community/general + url = https://github.com/ansible-collections/community.general.git +[submodule "collections/ansible_collections/prometheus/prometheus"] + path = collections/ansible_collections/prometheus/prometheus + url = https://github.com/prometheus-community/ansible.git diff --git a/collections/ansible_collections/community/general b/collections/ansible_collections/community/general new file mode 160000 index 0000000..a4b32d7 --- /dev/null +++ b/collections/ansible_collections/community/general @@ -0,0 +1 @@ +Subproject commit a4b32d7b9c42cf79a8f273b89c2bfdb73c657457 diff --git a/collections/ansible_collections/l3d/avahi b/collections/ansible_collections/l3d/avahi new file mode 160000 index 0000000..d2929df --- /dev/null +++ b/collections/ansible_collections/l3d/avahi @@ -0,0 +1 @@ +Subproject commit d2929df23e12f1ec56f56f346ef412ec9b73cf7a diff --git a/collections/ansible_collections/l3d/time b/collections/ansible_collections/l3d/time new file mode 160000 index 0000000..9d0e8ff --- /dev/null +++ b/collections/ansible_collections/l3d/time @@ -0,0 +1 @@ +Subproject commit 9d0e8ffc6382c44e5ae26edbb21484294341698c diff --git a/collections/ansible_collections/prometheus/prometheus b/collections/ansible_collections/prometheus/prometheus new file mode 160000 index 0000000..c72059f --- /dev/null +++ b/collections/ansible_collections/prometheus/prometheus @@ -0,0 +1 @@ +Subproject commit c72059ffb289de829c5df184466aed978b8b64dc diff --git a/site.yml b/site.yml index e58aa62..5fcf0df 100644 --- a/site.yml +++ b/site.yml @@ -11,3 +11,6 @@ - {role: l3d.users.admin, tags: [test, users, admin]} - {role: l3d.users.sshd, tags: [test, users, sshd]} - {role: l3d.packages, tags: [packages, general]} + - {role: l3d.time.ntp, tags: [time, ntp]} + - {role: l3d.avahi.daemon, tags: [avahi]} + - {role: prometheus.prometheus.node_exporter, tags: [monitoring, node_exporter]}