This commit is contained in:
@@ -69,12 +69,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/deploy_grafana.yml.ansible
|
ansible-playbook --syntax-check playbooks/deploy_victorialogs.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/deploy_grafana.yml.ansible --vault-password-file .vault_pass.txt -v
|
ansible-playbook -i inventory/raspberries.yaml playbooks/deploy_victorialogs.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
|
||||||
|
|||||||
@@ -38,10 +38,3 @@
|
|||||||
- grafana
|
- grafana
|
||||||
- handlers
|
- handlers
|
||||||
|
|
||||||
- hosts:
|
|
||||||
- victorialogs_servers
|
|
||||||
gather_facts: true
|
|
||||||
become: true
|
|
||||||
roles:
|
|
||||||
- victorialogs
|
|
||||||
- handlers
|
|
||||||
|
|||||||
7
playbooks/deploy_victorialogs.yml.ansible
Normal file
7
playbooks/deploy_victorialogs.yml.ansible
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
- hosts:
|
||||||
|
- victorialogs_servers
|
||||||
|
gather_facts: true
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- victorialogs
|
||||||
|
- handlers
|
||||||
Reference in New Issue
Block a user