#na_ontap_rest_cli

1 messages · Page 1 of 1 (latest)

astral coral
#

Hey guys I am trying to use na_ontap_rest_cli to run the command 'security ssl show' it is printing out the various SVM's but not of the details like CA, Common Name, serial, etc.

- name: Testing Ontap Commands
  netapp.ontap.na_ontap_rest_cli:
    hostname: "{{ item.url }}"
    username: "{{ nta_ansible_username }}"
    password: "{{ nta_ansible_password }}"
    command: 'security/ssl'
    verb: 'GET'
  loop: "{{ netapp_list }}"
  register: netapp_test

- name: Print test output
  debug:
    msg: "{{ netapp_test }}"

The debug out is just this: https://gist.github.com/glennbrown/dd0a15d4655e42d859c4f5433cadb0ca

Gist

GitHub Gist: instantly share code, notes, and snippets.

astral coral
#

Do I need to use params to specify the fields to return

zenith valley