IBM-Security / ibmsecurity

Idempotent functions for IBM Security Appliance REST APIs. Currently covering ISAM and ISDS Appliances.
Apache License 2.0
47 stars 73 forks source link

fix: add check for version for the modified api request #387

Closed tombosmansibm closed 1 year ago

tombosmansibm commented 1 year ago

closes #385

updates:
  - file: '/home/tbosmans/Downloads/IBM/ISAM/10.0/10.0.6/isva_10.0.6.0_20230529-0304.pkg'
    version: 10.0.6.0
    date: '2023-05-29-0304'
    name: isva
    type: firmware

Make sure the collection is there: ansible-galaxy collection install -r collections/requirements.yml -p ./collections

Development mode install in the virtual env. pip install -e ~/ibmsecurity/

Upload the pkg ansible-playbook -i inventories/local/ -l v1006 ibm.isam.base.upload_updates -vvv -e 'homedir=""'

Install the update ansible-playbook -i inventories/local/ -l v1005 ibm.isam.base.install_update -v -e 'name=isva' -e 'type=firmware' -e 'version=10.0.6.0' -e 'release_date=2023-05-29-0304'