feat: add playbook to update Tozneberto with Portainer stack redeploy

This commit is contained in:
martin.fencl
2026-09-03 09:42:29 +02:00
parent 257cafad84
commit 5b979b3944
+20
View File
@@ -0,0 +1,20 @@
# update_tozneberto.yml
---
- name: Update Tozneberto
hosts: localhost
gather_facts: false
tasks:
- name: Trigger Portainer stack redeploy
ansible.builtin.uri:
url: "{{ portainer_tozneberto_webhook }}"
method: POST
status_code:
- 200
- 204
register: redeploy_result
- name: Show redeploy result
ansible.builtin.debug:
var: redeploy_result.status