Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
mount module fails if there is a space in share name
16 views
Skip to first unread message
Jerker Montelius
unread,
Nov 4, 2015, 11:48:07 AM
11/4/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hello
I have a Windows share that is called "//filserver/Shared Folders"
---^
With a space in the share name
When I try to write a mount line i ansible for it it fails miserably
- name: mount file share
mount: name=/mnt/fileshare src="//filserver/Shared Folders" fstype=cifs opts='credentials=/credentials.txt' state=mounted
?????
Apparently it don’t escape the space when trying to write to /etc/fstab
Reply all
Reply to author
Forward
0 new messages