I am writing snapmirror DR playbook, and one of the steps is to modify DR cifs name to source name
Here are my playbook:
- name: Modify dr cifs_server name to src cifs_server
netapp.ontap.na_ontap_cifs_server:
state: present
from_name: "{{ dst_cifs_server_name }}"
name: "{{ src_cifs_server_name }}"
vserver: "{{ dst_vserver_name }}"
domain: "{{ id_domain }}"
admin_user_name: "{{ domain_login }}"
admin_password: "{{ domain_pwd }}"
hostname: "{{ dst_cluster_hostname }}"
username: "{{ dst_cluster_username }}"
password: "{{ dst_cluster_password }}"
force: true
force_ontap_version: 9.11
I get an error response:
{"changed": false, "msg": "Error on fetching cifs: calling: protocols/cifs/services: got HTTPSConnectionPool(host='192.168.0.102', port=443): Max retries exceeded with url: /api/protocols/cifs/services?svm.name=dr&fields=svm.uuid%2Cenabled%2Csecurity.smb_encryption%2Csecurity.kdc_encryption%2Csecurity.smb_signing%2Csecurity.restrict_anonymous%2Csecurity.encrypt_dc_connection%2Csecurity.use_ldaps%2Csecurity.use_start_tls%2Csecurity.try_ldap_channel_binding%2Csecurity.session_security%2Csecurity.ldap_referral_enabled%2Csecurity.aes_netlogon_enabled%2C&name=ORG (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)'),))."}
The lab is uising ONTAP 9.9.1
the "from_name" attribute supported only in REST and ONTAP version 9.11.0, and set force to True.
I have stopped the service before running this playbook
What could be the problem