Forum Discussion

Jae_Hong_Kim_32's avatar
Jae_Hong_Kim_32
Icon for Nimbostratus rankNimbostratus
May 24, 2017

skip certificate validation

In the code below, we had the certificate validation get skipped by the following code in the yaml validate_certs: no

 

  • hosts: 127.0.0.1 tasks:
    • name: Check that you can connect (GET) to a page and it returns a status 200 uri: url: https://192.168.199.241/mgmt/tm/asm/policies method: GET user: admin password: admin return_content: yes validate_certs: no register: webpage

...

 

How do I get the equivalent in the F5 SDK

 

from import BigIP

 

bigip = BigIP("192.168.199.241", "admin", "admin")