mirror of
https://github.com/geerlingguy/ansible-for-devops.git
synced 2024-05-19 06:50:03 +00:00
Fixes #77: Make sure playbook has become: yes set instead of in Vagrantfile.
This commit is contained in:
1
nodejs/Vagrantfile
vendored
1
nodejs/Vagrantfile
vendored
@@ -16,6 +16,5 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
# Ansible provisioner.
|
||||
config.vm.provision :ansible do |ansible|
|
||||
ansible.playbook = "provisioning/playbook.yml"
|
||||
ansible.become = true
|
||||
end
|
||||
end
|
||||
|
@@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
|
||||
vars:
|
||||
# Vars can also be passed in via CLI with `--extra-vars="name=value"`.
|
||||
|
Reference in New Issue
Block a user