Hi,
please take a look at your task:
> - name: Mount NFS directories P1
> become: true
> remote_user: testops
> ansible.posix.mount:
> fstype: "{{ mount_point[0].fstype }}"
> src: "{{ mount_point[0].nfs_server }} {{ mount_point[0].source
> }} "
you are *explicitly* asking for `src` to have a space in the middle and
one at the end. Since spaces are used as separators in /etc/fstab, the
module correctly quotes your `src` value with space being replaced by
\040.
The same is true for \040 in the options, that comes from the value you
provide, which contains spaces:
> opts: "nfsvers=3,soft,bg,timeo=12 0 0"
Cheers,
Felix
--
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/20230822133946.409f0f38%40rovaniemi.