forked from jakub/ansible
feat: remove obsolete update_tozneberto playbook
This commit is contained in:
@@ -1,23 +0,0 @@
|
|||||||
# 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
|
|
||||||
url_username: "{{ portainer_basic_auth_user }}"
|
|
||||||
url_password: "{{ portainer_basic_auth_password }}"
|
|
||||||
force_basic_auth: true
|
|
||||||
status_code:
|
|
||||||
- 200
|
|
||||||
- 204
|
|
||||||
register: redeploy_result
|
|
||||||
|
|
||||||
- name: Show redeploy result
|
|
||||||
ansible.builtin.debug:
|
|
||||||
var: redeploy_result.status
|
|
||||||
Reference in New Issue
Block a user