First commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for roles/check_healtz
|
||||
- name: Vérifier les services web
|
||||
ansible.builtin.uri:
|
||||
url: "{{ item }}"
|
||||
method: GET
|
||||
status_code: 200
|
||||
validate_certs: true
|
||||
register: health_check
|
||||
retries: 12
|
||||
delay: 10
|
||||
until: health_check.status == 200
|
||||
loop: "{{ health_urls | default([]) }}"
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
delegate_to: localhost
|
||||
Reference in New Issue
Block a user