How To Get Sync-Status From Ansible
Hi All
I am trying to automate our F5 checks in Ansible. I have been able to ge the active/standy part functioning but I'm struggling with the sync status. It seems that the version the F5 LTM module in Ansible Galaxy does not have a module to get the sync status. In the GIT repo I can see the "bigip_device_info" module has a "sync-status". I could try and add the new vesion locally but I would have issues doing this in Ansible Tower.
I thought I would try and interact with the API directly but when testing in Postman I dont' get a response from the following request.
GET https://10.x.x.x/mgmt/tm/cm/sync-status
200
51 ms
Warning: Unable to verify the first certificate
Network
Request Headers
bigip_a_auth_token:
X-F5-Auth-Token: UCJB4QL34B5KUBIGHYG65J6XT2
Content-Type: application/json
User-Agent: PostmanRuntime/7.29.0
Accept: */*
Postman-Token: b7513718-e85a-4591-800c-4e377f52ec8b
Host: 10.x.x.x
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: BIGIPAuthCookie=DEihWNJW0rncm10rwvB4MXNWihLY969IJ89Ede4v; BIGIPAuthUsernameCookie=SVC-PRD-NET-F5-RO
In my auth request I am setting the provider to tmos, not sure if this is correct as we use TACACS but it works.
Can anoyne advise the easiest way for me to get the sync status?