Hi,
I am newbie and this is my first time to write Ansible script in my project. Currently I am using snow_record_find module to search or retrieve record from SNOW however I got error mentioned "Failed to find record: Expected value of type str
or list
… ". Have done do some research about this error but don’t have any luck for now as the module seems still new and lacking of example and discussion.
Here is my yml file:
- hosts: localhost
name: Test Connection SNOW
gather_facts: false
tasks:
- name: find snow records from job trigger test table
snow_record_find:
username: *****
password: *********
instance: dev*****
table: u_job_trigger_test
max_records: 1
query:
equals:
u_runbook_name: “which_one”
return_fields: - sys_id
Could anyone advise me on what is wrong?
Thanks.