From 0182fe51736e7610d4a63fe6767d08ffe5c5938c Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 3 Mar 2025 21:20:59 +0100 Subject: ansible: add dynamic inventory & playbooks to install k3s hosts bootstrap.yml will now be used to install any configuration on new provisionned servers, based on tags given by the dynamic inventory --- ansible/playbooks/k8s.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ansible/playbooks/k8s.yml') diff --git a/ansible/playbooks/k8s.yml b/ansible/playbooks/k8s.yml index 45f03ee..b3a7e43 100644 --- a/ansible/playbooks/k8s.yml +++ b/ansible/playbooks/k8s.yml @@ -1,10 +1,7 @@ --- - name: Deploy a Production Ready Kubernetes Cluster - hosts: all + hosts: tag_k3s_master:tag_k3s_worker become: true roles: - role: k8s - -- name: Import kubespray playbook to deploy k8s cluster - ansible.builtin.import_playbook: ../kubespray/cluster.yml ... -- cgit v1.2.3