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

Commit 66be4d1

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 660024e commit 66be4d1

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
@@ -113,6 +113,7 @@ Vagrant.configure('2') do |config|
113113
}
114114
ansible.raw_arguments = Shellwords.shellsplit(ENV['DRUPALVM_ANSIBLE_ARGS']) if ENV['DRUPALVM_ANSIBLE_ARGS']
115115
ansible.tags = ENV['DRUPALVM_ANSIBLE_TAGS']
116+
ansible.verbose = ENV['DRUPALVM_DEBUG']
116117
# Use pip to get the latest Ansible version when using ansible_local.
117118
provisioner == :ansible_local && ansible.install_mode = 'pip'
118119
end

0 commit comments

Comments
 (0)