From 67683c14e812e25c7dcc8295da8093cef3984177 Mon Sep 17 00:00:00 2001 From: Expand-sys <79956551+Expand-sys@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:37:20 +0000 Subject: [PATCH] Update install-k8s.yml --- ansible-deploy-k8s/install-k8s.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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