Unsolved

1 Rookie

 • 

1 Message

25

September 30th, 2025 15:15

dellemc.powerstore.nfs Ansible Module Update Existing NFS Export Issues

Hello,

I am using the dellemc.powerstore collection version 3.8 to modify an existing NFS Export and add/remove read_write_hosts.

I am getting the following error. 

msg: >-Along with alphanumeric characters, only special characters allowed are ., _,-, /, :, @invocation:module_args:array_ip: 10.20.5.65validate_certs: falseuser: aap.servicepassword: VALUE_SPECIFIED_IN_NO_LOG_PARAMETERstate: presenthost_state: present-in-exportread_write_hosts:- denlv-pwsh-s01nfs_export_id: 68adaff4-3ab2-68b1-ece4-d25603b1c121

The below code block is my task execution.

    - name: Add host to Dell PowerStore NFS Export whitelistdellemc.powerstore.nfs:array_ip: 10.20.5.65validate_certs: falseuser: "{{ dell_powerstore_service_username }}"password: "{{ dell_powerstore_service_password }}"state: presenthost_state: present-in-exportread_write_hosts:- "{{ ansible_facts.ansible_hostname }}"nfs_export_id: "{{ nfs_export_id }}"


Has anyone experienced this issue? It appears that the hostname parsing in the py module is failing to match the accepted special characters.

Any advice would be appreciated. Thank you

3 Apprentice

 • 

423 Posts

October 30th, 2025 11:48

your code block contains a -
read_write_hosts:- "{{ ansible_facts.ansible_hostname

remove the dash from ths line
simply have
read_write_hosts: "{{ ansible_facts.ansible_hostname }}"
No Events found!

Top