#snapmirror status and variable assignment

1 messages · Page 1 of 1 (latest)

hushed pivot
#

all, i'm new to ansible but not new to netapp. i am using the na_ontap_rest_info module to determine the state of a given snapmirror relationship and possibly assign the state to a variable and print a custom message for the user executing the playbook. num_records will give me what i'm looking for. my issue is assigning that to a variable for later use. can anyone help or suggest a better way?

unreal cairn