Skip to content

Commit

Permalink
test: add check for local binary
Browse files Browse the repository at this point in the history
  • Loading branch information
trfore committed Apr 29, 2024
1 parent 5d1ec3a commit 718eec3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
- name: Verify
hosts: all
gather_facts: false

tasks:
- name: Test Omada SDN is running
- name: Test | Get Binary File Info
ansible.builtin.stat:
path: /usr/bin/tpeap
register: file_info

- name: Test | Check Omada Binary Exists
ansible.builtin.assert:
that:
- file_info.stat.exists
quiet: true

- name: Test | Check Omada SDN is running
ansible.builtin.uri:
url: https://127.0.0.1:8043/login
status_code: 200
Expand Down

0 comments on commit 718eec3

Please sign in to comment.