Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 57e9200

Browse files
committed
Add verbose ansible output with DRUPALVM_DEBUG env variable
Examples: - DRUPALVM_DEBUG=1 vagrant provision (ansible-playbook -v) - DRUPALVM_DEBUG=v vagrant provision (ansible-playbook -v) - DRUPALVM_DEBUG=vvv vagrant provision (ansible-playbook -vvv)
1 parent 5baf470 commit 57e9200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Vagrantfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Vagrant.configure('2') do |config|
110110
}
111111
ansible.raw_arguments = Shellwords.shellsplit(ENV['DRUPALVM_ANSIBLE_ARGS']) if ENV['DRUPALVM_ANSIBLE_ARGS']
112112
ansible.tags = ENV['DRUPALVM_ANSIBLE_TAGS']
113+
ansible.verbose = ENV['DRUPALVM_DEBUG']
113114
# Use pip to get the latest Ansible version when using ansible_local.
114115
provisioner == :ansible_local && ansible.install_mode = 'pip'
115116
end

0 commit comments

Comments
 (0)