#Seeing the following error while running the ansible-play book, did anyone had it before ?

1 messages · Page 1 of 1 (latest)

crystal lintel
#

Error -
UNREACHABLE! => {"changed": false, "msg": "Invalid/incorrect password: ", "unreachable": true}

#

This is the script I got
name: Create SVM in NetApp Clusters from Inventory
hosts: test_clusters
gather_facts: no
become: yes
collections:

  • netapp.ontap
    vars:
    svm_name: XXX
    root_volume: XXX
    root_volume_aggregate: XX
    root_volume_security_style: VVV

vars_prompt:

  • name: "netapp_username"
    prompt: "Enter user name"
    private: false
  • name: "netapp_password"
    prompt: "Enter user password"
    private: true
    confirm: true
    tasks:
- name: Set Ansible SSH password
  set_fact:
    ansible_ssh_pass: "{{ netapp_password }}"

- name: Create SVM
  na_ontap_svm:
    state: present
    name: "{{ svm_name }}"
    root_volume: "{{ root_volume }}"
    root_volume_aggregate: "{{ root_volume_aggregate }}"
    root_volume_security_style: "{{ root_volume_security_style }}"
    data_protocols:
      - fc
      - iscsi
    hostname: "{{ inventory_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"
    https: true
  register: result
  ignore_errors: yes