Hi all, just trying to get a simple debug message as a first step to get it to write a simple text file, but I think I'm missing something. Right now, it shows the debug message with no information. My playbook is posted below. ---
- hosts: localhost
gather_facts: true
vars:
input: &input
hostname: '10.16.166.11'
username: 'admin'
password: 'Netapp123'
https: true
validate_certs: false
tasks:
- name: run ontap cli command
netapp.ontap.na_ontap_command:
hostname: "10.16.166.11"
username: "admin"
password: "Netapp123"
command: ['version']
return_dict: true
register: cluster_version - debug:
msg: "Version ['msg']['stdout']"