Hello i want to change the following playbook to start using - netapp.ontap.na_ontap_rest ( because we are upgrading to 9.14.1P11 )
name: Apply existing QoS policy to vserver using ZAPI CLI passthrough
netapp.ontap.na_ontap_command:
<<: *auth # Assuming 'auth' contains authentication details
command: "vserver modify -vserver {{ svm.name }} -qos-policy-group {{ qos_policy_group_name }}"
when: "'dcmp' in (vars_local.template | default('') | string)"
Any thoughts ?
thanks, Ferry