1 Rookie
•
17 Posts
0
654
dellemc.powerscale.nfs not getting option to make it MAP_ROOT user as "ROOT"
- name: "Create NFS Share(read_write_clients) With quota_full_path_dev_source -> { { quota_full_path_dev_source }}"
dellemc.powerscale.nfs:
onefs_host: "{ { isilon_ip_address_p }}"
verify_ssl: "false"
api_user: "{ { isilon_api_user }}"
api_password: "{ { isilon_api_password }}"
path: "{ { quota_full_path_dev_source }}"
description: "{ { description }}"
access_zone: "System"
read_write_clients:
- "{ { item }}"
sub_directories_mountable: true # --all-dirs yes
client_state: 'present-in-export'
state: 'present'
loop: "{ { client_nfs_export_server_list }}"
===============
we noticed that by above code we are getting
"map_root":
{
"groups": [""],
"user": "nobody" -----------> nobody should be replaced with root
}
how to achieve this.
No Events found!
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
June 23rd, 2023 03:00
Hi @Javed Khan Siddque
Currently this is not supported through ansible module. We will look into adding support through the module. You could raise a ticket https://github.com/dell/ansible-powerscale/issues to track the same
Meanwhile you could also use the ansible uri module to achieve setting the map_root user. Attaching sample playbook for the same below
Javed Khan Siddque
1 Rookie
1 Rookie
•
17 Posts
0
June 23rd, 2023 11:00
Thanks So much .
i am aware of URI module
and it worked
======