#Ontap_ssh_module

1 messages · Page 1 of 1 (latest)

versed arch
#

I am using this module to configure storage efficiency because the ontap rest_cli does not have a parameter that I need which is compression type . when I run the playbook in ansible on linux server , the task completes with no errors but when I run it in ansible automation platform I get the following error "SSH connection failed: SSHException("Server 'durdevclu01' not found in known_hosts")"}" I made sure we included. paramiko in the execution environment

fluid path
#

All parameters are available in rest_cli. Tested working example:
na_ontap_rest_cli: command: volume/efficiency verb: PATCH params: volume: "{{ volume }}" body: compression: true compression-type: adaptive

versed arch
#

do you know what collection version it was introduced? it was not there before

fluid path
#

I am not sure what you mean with by that. na_ontap_rest_cli is a generic command that maps to REST endpoint api/private/cli/. It was introduced in collection 22.5.0.