diff --git a/.gitea/workflows/ansible-runner.yaml b/.gitea/workflows/ansible-runner.yaml index 6295980..67db240 100644 --- a/.gitea/workflows/ansible-runner.yaml +++ b/.gitea/workflows/ansible-runner.yaml @@ -65,9 +65,10 @@ jobs: - name: 🔎Check Ansible Playbook Syntax run: | # ansible-playbook --syntax-check playbooks/update_debian.yml.ansible - ansible-playbook --syntax-check playbooks/install_postgresql.yml.ansible + ansible-playbook --syntax-check playbooks/install_monitoring.yml.ansible - name: 🏃‍♂️Run Ansible Playbook run: | # ansible-playbook -i inventory/raspberries.yaml playbooks/update_debian.yml.ansible --vault-password-file .vault_pass.txt - ansible-playbook -i inventory/raspberries.yaml playbooks/install_postgresql.yml.ansible --vault-password-file .vault_pass.txt \ No newline at end of file + ansible-playbook -i inventory/raspberries.yaml playbooks/install_monitoring.yml.ansible --vault-password-file .vault_pass.txt + \ No newline at end of file diff --git a/playbooks/install_monitoring.yml.ansible b/playbooks/install_monitoring.yml.ansible new file mode 100644 index 0000000..92c67b2 --- /dev/null +++ b/playbooks/install_monitoring.yml.ansible @@ -0,0 +1,7 @@ +- hosts: + - prometheus_servers + gather_facts: true + become: true + roles: + - handlers + - prometheus