diff --git a/ansible-deploy-k8s/install-k8s.yml b/ansible-deploy-k8s/install-k8s.yml index c890937..423575c 100644 --- a/ansible-deploy-k8s/install-k8s.yml +++ b/ansible-deploy-k8s/install-k8s.yml @@ -1,11 +1,6 @@ --- -- hosts: "masters, workers" - remote_user: ubuntu - become: yes - become_method: sudo - become_user: root - gather_facts: yes - connection: ssh +- hosts: "localhost" + connection: local tasks: - name: Create containerd config file