IBM-Security / isam-ansible-playbook-sample

Sample Ansible Playbooks and Inventory for ISAM Orchestration. Requires "ibmsecurity" python package and Ansible Roles "isam-ansible-roles".
Apache License 2.0
12 stars 17 forks source link

Playbook revert.yml doesn't work #2

Open Ardun21 opened 7 years ago

Ardun21 commented 7 years ago

I noticed that if I try to run the revert.yml sample playbook I get the following failure:

Error: WGAWA0412E The offering could not be deactivated because a dependent offering, ISAM Advanced Access Control, is still activated.

It appears that this playbook (or the underlying role) does not commit the module deactivation on each step so the final step of deactivating the wga module fails since it thinks the AAC module is still active.

I tested this on an ISAM appliance running 9.0.3.0.

ram-ibm commented 7 years ago

Turns out that deactivating a module does not remove configuration information. So we had to revamp this playbook. Let me know if you need this - and what your use case is so we can address that specifically. Thanks.