Hello,
I want to enforce the following action using REST CLI:
vserver services name-service nis-domain group-database config modify -vserver MY_SVM-state enabled -build-interval 1h
I tried with below playbook :
- name: SVM | create | set NIS group-database build-interval
netapp.ontap.na_ontap_rest_cli:
hostname: "{{ nas_hostname }}"
username: "{{ nas_username }}"
password: "{{ nas_password }}"
https: true
validate_certs: false
command: 'vserver/services/name-service/nis-domain/group'
verb: 'PATCH'
params: {
'vserver': 'vs_{{ target }}',
}
body: {
'state': 'enabled',
'build-interval': '1h'
}
But this fails.
Could someone provide me an example of a playbook to enforce the NIS group rebuild frequency ?