From 051fee73d3fadfde4a8abf4f39718abe2d23d8cb Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 18 Aug 2021 18:16:43 -0500 Subject: [PATCH] Clone a new monitoring-scripts repo to hosts with NRPE installed --- playbooks/nrpe.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/playbooks/nrpe.yml b/playbooks/nrpe.yml index 33461fc..2fa7ea6 100755 --- a/playbooks/nrpe.yml +++ b/playbooks/nrpe.yml @@ -3,6 +3,12 @@ --- - hosts: tags_nagios-nrpe roles: + - role: git + vars: + git_repos: + - repo: https://git.desu.ltd/salt/monitoring-scripts + dest: /usr/local/bin/monitoring-scripts + tags: [ nrpe ] - role: nrpe vars: nrpe_server_bind_address: 0.0.0.0 @@ -36,4 +42,4 @@ with_items: - nagios-nrpe-server.service when: "'tags_nagios-nrpe' not in group_names and item in services" - tags: [ zerotier ] + tags: [ nrpe, zerotier ]