1
0
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:
Jeff Geerling
2018-08-08 21:19:30 -05:00
parent 7c5569c6e0
commit 44b80172bc
2 changed files with 1 additions and 1 deletions

1
nodejs/Vagrantfile vendored
View File

@@ -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

View File

@@ -1,5 +1,6 @@
---
- hosts: all
become: yes
vars:
# Vars can also be passed in via CLI with `--extra-vars="name=value"`.