deploy valkey
Some checks failed
🏃Run Ansible / install_ansible (push) Has been cancelled

This commit is contained in:
Ronny
2025-12-28 15:50:52 +00:00
parent 6f170b3873
commit f777c58880
3 changed files with 19 additions and 12 deletions

0
.ansible/.lock Normal file
View File

View File

@@ -2,9 +2,9 @@ name: 🏃Run Ansible
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
pull_request: pull_request:
branches: [ "main" ] branches: ["main"]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -37,7 +37,7 @@ jobs:
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.x' # Wählt die neueste Python 3 Version python-version: "3.x" # Wählt die neueste Python 3 Version
# Abhängigkeiten aktualisieren und Ansible über pip installieren # Abhängigkeiten aktualisieren und Ansible über pip installieren
- name: Install Ansible via pip - name: Install Ansible via pip
@@ -64,11 +64,11 @@ jobs:
- name: 🔎Check Ansible Playbook Syntax - name: 🔎Check Ansible Playbook Syntax
run: | run: |
ansible-playbook --syntax-check playbooks/deploy_grafana.yml.ansible ansible-playbook --syntax-check playbooks/deploy_valkey.yml.ansible
- name: 🏃Run Ansible deploy_grafana.yml.ansible - name: 🏃Run Ansible deploy_valkey.yml.ansible
run: | run: |
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_valkey.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

View File

@@ -0,0 +1,7 @@
- name: Gather facts from all hosts
hosts: valkey
gather_facts: true
become: true
roles:
- valkey
#