checkpoint 2 part 1 finished, needs to be properly tested
This commit is contained in:
parent
ce3ea05831
commit
c3f67d4582
14 changed files with 306 additions and 26 deletions
14
roles/test_laravelio/test_access/tasks/main.yml
Normal file
14
roles/test_laravelio/test_access/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
|
||||
- name: Refresh inventory
|
||||
meta: refresh_inventory
|
||||
|
||||
- name: Test Access - Check access to App (HTTP GET should return {{app_status_code}})
|
||||
ansible.builtin.uri:
|
||||
url: "http://{{ app_ip }}:{{app_port}}/"
|
||||
method: GET
|
||||
status_code: "{{app_status_code}}"
|
||||
register: result
|
||||
until: result.status == app_status_code
|
||||
retries: 6
|
||||
delay: 30
|
Loading…
Add table
Add a link
Reference in a new issue