Start a Conversation

Unsolved

B

1 Message

861

November 19th, 2020 13:00

Ansible with Unity - Newbie...getting started

hey folks...really new to ansible and trying to get it to work with Unity.  Have followed the "Ansible Modules for Dell EMC Unity Product Guide" but I have no clue how to invoke it to work.  I have it all installed on a CentOS server.

1.) where do I create the playbook .yaml file?

2.) I am on p. 9 and 10 of the guide, what goes in the .yaml?

3.) what is the syntax to run to get it to use the yaml and connect to the unity?

I have scoured diff places looking for where to setup the yaml for this to work but that is way scarce.  The guide assumes you understand what needs to go into the yaml or fundamentals apparently and it really needs to include some syntax to invoke the code snippets

Thanks in advance...

 

2 Intern

 • 

166 Posts

December 14th, 2020 00:00

Hi @bluegopher206 ,

The easiest to begin is to have one file with your variables and one with your task with you can run with:

ansible-playbook -vv --extra-vars @vars.txt task.yaml

What are you trying to do exactly ? Maybe I can get you a working example.

 

1 Rookie

 • 

72 Posts

December 14th, 2020 09:00

Hi Bluegopher206,

To understand more about how Ansible works and how to run playbooks these sites may be useful...

https://www.ansible.com/resources/webinars-training/introduction-to-ansible
https://www.jeffgeerling.com/project/ansible-101-youtube-series
https://app.pluralsight.com/paths/skills/configuration-management-using-ansible

This GitHub repository also contains playbook examples and samples
https://github.com/dell/ansible-storage-automation

Although we don't have any Unity specific examples yet (coming soon) the playbook syntax for communication/connectivity is similar across all of our storage platform modules.

Thanks
Bryan

No Events found!

Top