Skip to content

Commit

Permalink
yaml_config: disabling app deploy (needs more work)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Apr 19, 2024
1 parent 415a672 commit 8bdae95
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions molecule/yaml_config_validation/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
roles:
- wildfly_validation
tasks:
- name: "Test that webapp is accessible"
ansible.builtin.uri:
url: 'http://localhost:8080/info'
status_code: 200

- name: "Restart Server"
become: true
ansible.builtin.service:
name: "{{ wildfly_service_name | default('wildfly') }}"
state: restarted

- name: "Wait for server to be started"
ansible.builtin.wait_for:
timeout: 30

- name: "Test that webapp is accessible"
ansible.builtin.uri:
url: 'http://localhost:8080/info'
status_code: 200
# - name: "Test that webapp is accessible"
# ansible.builtin.uri:
# url: 'http://localhost:8080/info'
# status_code: 200
#
# - name: "Restart Server"
# become: true
# ansible.builtin.service:
# name: "{{ wildfly_service_name | default('wildfly') }}"
# state: restarted
#
# - name: "Wait for server to be started"
# ansible.builtin.wait_for:
# timeout: 30
#
# - name: "Test that webapp is accessible"
# ansible.builtin.uri:
# url: 'http://localhost:8080/info'
# status_code: 200

0 comments on commit 8bdae95

Please sign in to comment.