Hi, > i was able to successfully create a FileSystem using module which is > not exist only > (eg: if nothing there it will create 1 , ) > (eg: if 1 and 2 there it will create 3 , ) > (eg: if 1, 2, 3 there it will create 4 , ) > > #creating /ifs/cluster_name/MA/DEV/FOUMAD0031301 > #creating /ifs/cluster_name/MA/DEV/FOUMAD0031302 > #creating /ifs/cluster_name/MA/DEV/FOUMAD0031303 > > > But i am not able to find the path which was created even with > register option , it is "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
That's because the dellemc.powerscale.filesystem module declares `path` as `no_log=True` in its argument specification: https://github.com/dell/ansible-powerscale/blob/1.9.0/plugins/modules/filesystem.py#L1565 This tells ansible-core that the value of `path` is a secret that should not be logged or accidentally returned. If you want this to change, you need to ask the collection to change that (for example by creating an issue in https://github.com/dell/ansible-powerscale/issues). You can wrk around it by re-composing the path manually. Alternatively you could first create a datastructure (list of dicts) which also contains the path, and then loop over that to call the dellemc.powerscale.filesystem module. If you then register the result, you can get hold of the path with the `item` element of the return value. Best regards, Felix Fontein -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20230426072101.342582dd%40rovaniemi.
