This commit is contained in:
@@ -65,12 +65,12 @@ jobs:
|
|||||||
- name: 🔎Check Ansible Playbook Syntax
|
- name: 🔎Check Ansible Playbook Syntax
|
||||||
run: |
|
run: |
|
||||||
# ansible-playbook --syntax-check playbooks/update_debian.yml.ansible
|
# ansible-playbook --syntax-check playbooks/update_debian.yml.ansible
|
||||||
ansible-playbook --syntax-check playbooks/install_monitoring.yml.ansible
|
ansible-playbook --syntax-check playbooks/deploy_grafana.yml.ansible
|
||||||
|
|
||||||
- name: 🏃♂️Run Ansible Playbook
|
- name: 🏃♂️Run Ansible Playbook
|
||||||
run: |
|
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/update_debian.yml.ansible --vault-password-file .vault_pass.txt
|
||||||
ansible-playbook -i inventory/raspberries.yaml playbooks/install_monitoring.yml.ansible --vault-password-file .vault_pass.txt -v
|
ansible-playbook -i inventory/raspberries.yaml playbooks/deploy_grafana.yml.ansible --vault-password-file .vault_pass.txt -v
|
||||||
# Beispiel für den Benachrichtigungsschritt
|
# Beispiel für den Benachrichtigungsschritt
|
||||||
- name: 📨Telegram Benachrichtigung senden
|
- name: 📨Telegram Benachrichtigung senden
|
||||||
uses: chapvic/telegram-notify@master
|
uses: chapvic/telegram-notify@master
|
||||||
|
|||||||
6
playbooks/deploy_grafana.yml.ansible
Normal file
6
playbooks/deploy_grafana.yml.ansible
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
- name: Gather facts from all hosts
|
||||||
|
hosts: grafana_servers
|
||||||
|
gather_facts: true
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- grafana
|
||||||
Reference in New Issue
Block a user