init repo

This commit is contained in:
Tiago Sousa 2023-10-29 16:34:24 +00:00
commit 444a0e0041
13 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,14 @@
---
- name: Refresh inventory
meta: refresh_inventory
- name: Check that you can connect (GET) to App and it returns a status 200
ansible.builtin.uri:
url: "http://{{ app_ip }}:{{app_port}}/"
method: GET
status_code: 200
register: result
until: result.status == 200
retries: 3
delay: 5