Closed chillancezen closed 4 years ago
#ansible-playbook -i hosts all.yml PLAY [Workspace and ADOM locking] ********************************************************************************************************************************************************************************************************** TASK [Enable adom status and workspace mode] *********************************************************************************************************************************************************************************************** changed: [fortimanager01] TASK [Lock the adom root until success.] *************************************************************************************************************************************************************************************************** changed: [fortimanager01] TASK [Inspect locking infomation] ********************************************************************************************************************************************************************************************************** changed: [fortimanager01] TASK [dump the locking information] ******************************************************************************************************************************************************************************************************** not hit ok: [fortimanager01] => { "lockinfo.ansible_module_results": [ { "adom_dirty": 0, "db_mode": 1, "dev_oid": 3, "dirty": 0, "flags": 0, "lock_sid": 33187, "lock_time": "2020-04-21 02:09:11", "lock_user": "APIUser", "obj_cat": 0, "obj_oid": 0, "obj_url": "", "wfsid": 0 } ] } TASK [commit the change.] ****************************************************************************************************************************************************************************************************************** changed: [fortimanager01] TASK [Unlock the workspace] **************************************************************************************************************************************************************************************************************** changed: [fortimanager01] PLAY RECAP ********************************************************************************************************************************************************************************************************************************* fortimanager01 : ok=6 changed=5 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0