I am trying to set up a lab env using Vagrant, windows host and Linux guests. There is a default synced folder in use, and that is just fine.
Although there is one subdirectory in the project dir that I would like to mount on a guest with non default options: during provision ansible user is created and this user should be the owner of the mount.
My proble is that the synced_folder config seems to be processed before any other provisioning options, so that I do not have the opportunity to create the ansible user before setting up the synced_folder.
I can do a workaround: I can run an inline script to create an fstab entry and mount it after creating the user, but I think it is not the elegant/correct way. Can you propose me a better way?
Is there maybe an option for the synced_folder to be set up, but not mounted?