opunit icon indicating copy to clipboard operation
opunit copied to clipboard

Availability check for ssh targets

Open ssmirr opened this issue 3 years ago • 0 comments

Describe the bug The availability check seems to check local machine even when used with a ssh target

To Reproduce Here is an opunit check:

 - availability:
      comment: check app running in the vm
      port: 5001
      status: 200
      url: /

and inventory file:

- ssh:
  - target: [email protected]:2800
    private_key: ~/id_rsa
    criteria_path: test/vm.yml

Expected behavior Expected to check if localhost:5001 server is running inside the vm.

Actual behavior It check localhost:5001 on the local machine.

ssmirr avatar Feb 08 '22 23:02 ssmirr