From 5eb26510f6aa847fb0012c81c14bf3fcc51d2450 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 9 Aug 2023 22:00:22 +0200 Subject: [PATCH] add virtual machines fix gpg not installed on some VMs --- fluentbit.yml | 8 +++++++- inventory/hosts.yml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/fluentbit.yml b/fluentbit.yml index d6acea2..8a98a62 100644 --- a/fluentbit.yml +++ b/fluentbit.yml @@ -1,4 +1,10 @@ - name: Install fluentbit - hosts: hypervisors + hosts: hypervisors, vms + + pre_tasks: + - name: Install packages + apt: + pkg: gpg + roles: - {role: fluentbit, tags: fluentbit} diff --git a/inventory/hosts.yml b/inventory/hosts.yml index 28e93c4..c586fa2 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -8,3 +8,19 @@ all: ansible_host: jefke.hyp lewis: ansible_host: lewis.hyp + vms: + hosts: + maestro: + ansible_host: maestro.dmz + bancomart: + ansible_host: bancomart.dmz + handjecontantje: + ansible_host: handjecontantje.dmz + concourse: + ansible_host: concourse.dmz + thecloud: + ansible_host: thecloud.dmz + nextcloud: + ansible_host: nextcloud.dmz + hermes: + ansible_host: hermes.dmz