opennms-forge / ansible-provisioning

Use Ansible to provision node inventory into OpenNMS Horizon/Meridian
https://www.opennms.com
GNU Affero General Public License v3.0
0 stars 1 forks source link

#59 Provide API check #71

Closed mfuhrmann closed 1 year ago

mfuhrmann commented 1 year ago

fix #59

We can define the variable onms_api_version in group_vars/all which is the one we support or we know this playbook works with. If it mismatches with the one that we can query on onms_hzn_base_rest_url the complete provisioning will stop with an error message.

mfuhrmann commented 1 year ago

@indigo423 THanks! Using now this `assert´ module.