From b232b894c3cbe087c8d504e91637dcf62199eed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 29 Jul 2021 17:00:20 +0200 Subject: Bump to third revision of homelab --- playbooks/network/grafana.yml | 10 +++++++--- playbooks/network/nfs.yml | 14 -------------- playbooks/network/templates | 1 + 3 files changed, 8 insertions(+), 17 deletions(-) create mode 120000 playbooks/network/templates (limited to 'playbooks/network') diff --git a/playbooks/network/grafana.yml b/playbooks/network/grafana.yml index 30bc0f4..4c039bd 100644 --- a/playbooks/network/grafana.yml +++ b/playbooks/network/grafana.yml @@ -6,8 +6,12 @@ - hosts: servers roles: - - { role: prometheus } + - role: loki + tags: role_loki + - role: prometheus + tags: role_prometheus -- hosts: st0cld0 +- hosts: st0dc1 roles: - - { role: grafana } + - role: grafana + tags: role_grafana diff --git a/playbooks/network/nfs.yml b/playbooks/network/nfs.yml index 1b8717e..9d1f73b 100644 --- a/playbooks/network/nfs.yml +++ b/playbooks/network/nfs.yml @@ -1,17 +1,3 @@ - -# network/nfs ~~ playbooks/nfs/network.yml -# nfs network playbook - ---- - -- name: ensure installation and configuration on server side - hosts: stack0 - roles: - - role: nfsd - vars: - nfsd_dirs: "{% for vm in vms %}{{ vm.name }} {% endfor %}" - tags: play_network_nfsserver - - name: ensure installation and configuration on client side hosts: ~st[0-9].* roles: diff --git a/playbooks/network/templates b/playbooks/network/templates new file mode 120000 index 0000000..07531b7 --- /dev/null +++ b/playbooks/network/templates @@ -0,0 +1 @@ +../../templates \ No newline at end of file -- cgit v1.2.3