IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

set_cluster_config: AAC Runtime not restarted #58

Closed sygilber closed 6 years ago

sygilber commented 6 years ago

When HVDB changes occur, they are not effective automatically since the role is not notifying "Restart AAC Runtime" handler.

On the other hand, if the role would notify "Restart AAC Runtime", it would always initiate a restart of the AAC Runtime even when other cluster changes occured unrelated to the DB occured.

So I don't know what is best approach.

ram-ibm commented 6 years ago

The python code that will restart the AAC Runtime - will only do a restart if the process is flagged for a restart. So it maybe best to add the handler to the task making the change.

sygilber commented 6 years ago

https://github.com/IBM-Security/isam-ansible-roles/pull/61

Retested and working good.

Thank you Ram