Remote Server Setup on Windows

In your Vagrantfile, you can try adding the following:

config.vm.synced_folder File.join(ANSIBLE_PATH, 'hosts'), '/vagrant/hosts', owner: 'vagrant', group: 'www-data', mount_options: ['dmode=755', 'fmode=644']

I think that will remove +x from /vagrant/hosts/*

3 Likes