Configuring OPT_X_TLS_REQUIRE_CERT with awx.awx.settings

I’m trying to configure the OPT_X_TLS_REQUIRE_CERT option using awx.awx.settings like this:

- name: Configure AWX
  awx.awx.settings:
    settings:
      AUTH_LDAP_CONNECTION_OPTIONS:
        OPT_REFERRALS: 0
        OPT_NETWORK_TIMEOUT: 30
        OPT_X_TLS_REQUIRE_CERT: OPT_X_TLS_NEVER

However this configuration throws: django_auth_ldap 'str' object cannot be interpreted as an integer while authenticating 'email@example.com'. I’m assuming this is because OPT_X_TLS_NEVER is getting treated as a string from the yaml and not as the python constant ldap.OPT_X_TLS_NEVER. I also tried setting the option to 0 but that didn’t work. (Probably because of the way the constants are declared in the python-ldap library)

How can I configure this option with awx.awx.settings?