Apart from last step of SSL certificate copy to /etc/pki/trust/anchors - I am able to do rest of the steps. CA signed certs are installed using method and was completed succesfully.
@bapatvin, Ansible Unity modules uses REST APIs to communicate with the Unity storage array. So, these tasks need to be run locally on the ansible control node (when using Ansible CLI) or execution environments (when using AWX or Ansible Automation Platform 2.x).
There are multiple ways you can achieve this in your playbook:
Use local connection - you can set the connection: local in your playbook. This will direct ansible to run all the tasks in a playbook locally.
---
- hosts: inventory
connection: local
gather_facts: no
collection:
- dellemc.unity
Deletgate to localhost: See here for multiple ways on how you can do it. One example would be to set the 'delegate_to' keyword on a task to 'localhost'. See below for e.g.:
Meenakshi.Dembi
1 Message
682
0
Posted May 24th, 2022 23:00
@bapatvin As per our discussion webex last week regading the issue can this issue be closed.