I have this functioning example of na_ontap_rest_api:
- name: run vserver cifs security modify aes-enabled-for-netlogon-channel true
netapp.ontap.na_ontap_rest_cli:
hostname: "{{ inventory_hostname }}"
username: "{{ lookup('env','NETAPP_USER') }}"
password: "{{ lookup('env','NETAPP_PASS') }}"
validate_certs: false
command: 'vserver/cifs/security'
verb: PATCH
params: { 'vserver': "{{ item.name }}" }
body: { 'aes-enabled-for-netlogon-channel': 'true' }
with_items:
- "{{ svm }}"
register: command_result
tags: [standard,command,cifs-security,new]
I want to do something similar with this CLI:
ldap client modify -vserver <vserver> -client-config exoduspoint_ad -ldaps-enabled true -port 636
What is the format for using multiple key-value pairs in the body? -- TIA!