mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
Merge pull request #2661 from xrousset78800/PHRAS-2136/force-ansible-on-vm
PHRAS-2136 Force Vagrant on VM
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -87,7 +87,7 @@ Vagrant.configure("2") do |config|
|
|||||||
# If ansible is in your path it will provision from your HOST machine
|
# If ansible is in your path it will provision from your HOST machine
|
||||||
# If ansible is not found in the path it will be instaled in the VM and provisioned from there
|
# If ansible is not found in the path it will be instaled in the VM and provisioned from there
|
||||||
if which('ansible-playbook')
|
if which('ansible-playbook')
|
||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible_local" do |ansible|
|
||||||
ansible.playbook = "resources/ansible/playbook.yml"
|
ansible.playbook = "resources/ansible/playbook.yml"
|
||||||
ansible.limit = 'all'
|
ansible.limit = 'all'
|
||||||
ansible.verbose = 'vvv'
|
ansible.verbose = 'vvv'
|
||||||
@@ -101,7 +101,7 @@ Vagrant.configure("2") do |config|
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "ansible", run: "always" do |ansible|
|
config.vm.provision "ansible_local", run: "always" do |ansible|
|
||||||
ansible.playbook = "resources/ansible/playbook-always.yml"
|
ansible.playbook = "resources/ansible/playbook-always.yml"
|
||||||
ansible.limit = 'all'
|
ansible.limit = 'all'
|
||||||
ansible.verbose = 'v'
|
ansible.verbose = 'v'
|
||||||
|
|||||||
Reference in New Issue
Block a user