Closed bbichero closed 4 years ago
Hi, I added this parameter because out of the box on a Debian 9 there is no sudo, therefor we need to use su to gain root privilege. If your image of Debian is using sudo, then you should remove this parameter.
Thanks for the quick answer, okay I understand.
I saw that you have added an extra argument for ansible-playbook, only when Operating System is Debian, why ? https://github.com/sguyennet/terraform-vsphere-kubespray/blob/b5aaf69c3fe6420c19a9e2b960fc04d2024e9ec7/vsphere-kubespray.tf#L223 This argument produce error when ansible role
haproxy
run:If I remove it, playbook run perfectly