Skip to content

Commit

Permalink
add colorisation for ansible; remove verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Utkin committed Sep 23, 2019
1 parent c6e8236 commit 4860b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Vagrant.configure("2") do |config|
master.vm.network "private_network", ip: "192.168.50.10"
master.vm.hostname = "k8s-master"
master.vm.provision "ansible_local" do |ansible|
ansible.playbook_command = "sudo ANSIBLE_FORCE_COLOR=true ansible-playbook"
ansible.playbook = "provision/kubernetes-setup/master-playbook.yml"
ansible.verbose = "-vvv"
ansible.extra_vars = {
node_ip: "192.168.50.10",
cni_plugin: CNI_PLUGIN,
Expand All @@ -49,6 +49,7 @@ Vagrant.configure("2") do |config|
node.vm.network "private_network", ip: "192.168.50.#{i + 10}"
node.vm.hostname = "node-#{i}"
node.vm.provision "ansible_local" do |ansible|
ansible.playbook_command = "sudo ANSIBLE_FORCE_COLOR=true ansible-playbook"
ansible.playbook = "provision/kubernetes-setup/node-playbook.yml"
ansible.extra_vars = {
node_ip: "192.168.50.#{i + 10}",
Expand Down

0 comments on commit 4860b29

Please sign in to comment.