36 Posts

June 18th, 2020 06:00

In step 4, I would add that it is not necessary to copy the files to the python lib directory. Ansible works relative to where you run your playbook. you could have a directory with your playbook and have a library and module_utils directory there. This makes it more portable. 

For reference: https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout 

36 Posts

June 18th, 2020 06:00

Why is this a prereq?

Red Hat Enterprise Linux 7.6

ansible is basically a python module. If you have python available, you can just pip install ansible. Sorry, I am not calling you out. I just feel like people get too caught up in Linux versions. And to that end, minor releases. This should work RHEL7, OL7, CentOS7, Ubuntu XX.XX.

36 Posts

October 22nd, 2020 12:00

Started working with the module again. The docs provide this example:

 

 

 - name: Get NFS Export
    dellemc_isilon_nfs:
      onefs_host: "{{onefs_host}}"
      api_user: "{{api_user}}"
      api_password: "{{api_password}}"
      verify_ssl: "{{verify_ssl}}"
      path: "{{path}}"
      access_zone: "{{access_zone}}"
      state: 'present'

 

 

In looking at the module, this seems like it is going to create the path if it does not exist. That's not exactly a "get". Could you please clarify this? Almost seems appropriate to create another module that gets info. 

October 27th, 2020 08:00

Hi Cocampbe,

In the "NFS Export Module parameters" section of the doc, and page 23-24, there is an explanation of the path parameters. The screen shot below is not very clear, but I have copied the text directly here as well:


****

Directory path to be exported. For non-system access zones, this path is a relative path from the base of the access zone.

The path must exist. The NFS module does not create the path.

 

FoolInTheRain_0-1603811382185.png

****

So, the document seems to state it will not create the path.

If you find that it does create a path, let us know and then the engineers will need to look into that deeper issue.

1 Rookie

 • 

8 Posts

May 19th, 2021 02:00

Hi

I have installed this module, but Unable to find the Yaml files under /ansible-isilon/dellemc_ansible/isilon/. I can only see library folder.

1 Rookie

 • 

72 Posts

May 19th, 2021 10:00

Hello Sbandreddi,

I assume that you are looking for example tasks/playbooks.  Those can be seen by using the ansible-doc command or even just viewing the module's python code.

We have examples for Isilon/PowerScale and other array platforms available on this GitHub repository as well.
https://github.com/dell/ansible-storage-automation

Thanks
Bryan

2 Posts

July 26th, 2021 10:00

Posted on the wrong thread. Sorry.

No Events found!

Top