#Hello, I am told that ansible modules originally using ZAPI can easily be converted to REST. How?

1 messages · Page 1 of 1 (latest)

dapper shell
#

- name: Create volume on source cluster na_ontap_volume: state: present name: "{{ src_vol_fg }}" aggr_list: "{{ src_aggr_list }}" aggr_list_multiplier: 2 type: RW size: 2 encrypt: true size_unit: tb space_guarantee: none wait_for_completion: false vserver: "{{ src_vserver }}" junction_path: /local/{{ src_vol_fg }} hostname: "{{ src_hostname }}" username: "{{ username }}" password: "{{ password }}"

woeful garden
#

@dapper shell you can try using use_rest: always to make the module use REST.