From e98f62dfbe2fb057eccf91731d338fad6451759d Mon Sep 17 00:00:00 2001 From: FGtatsuro Date: Thu, 11 Feb 2016 03:04:30 +0900 Subject: [PATCH] 'ansible' provisioner doesn't have the issue https://github.com/mitchellh/vagrant/issues/6793. --- Vagrantfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 64c23e1..7f17f65 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -73,12 +73,6 @@ Vagrant.configure(2) do |config| pip install ansible SHELL - # Patch for https://github.com/mitchellh/vagrant/issues/6793 - config.vm.provision 'shell' do |s| - s.inline = '[[ ! -f $1 ]] || grep -F -q "$2" $1 || sed -i "/__main__/a \\ $2" $1' - s.args = ['/usr/local/bin/ansible-galaxy', "if sys.argv == ['/usr/local/bin/ansible-galaxy', '--help']: sys.argv.insert(1, 'info')"] - end - config.vm.provision 'ansible' do |ansible| ansible.galaxy_role_file = 'requirements.yml' ansible.playbook = 'site.yml'