diff options
| author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-03 21:20:59 +0100 |
|---|---|---|
| committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-03 21:20:59 +0100 |
| commit | 0182fe51736e7610d4a63fe6767d08ffe5c5938c (patch) | |
| tree | 0025603ddfb75ae556d1f949be4c7882ea972ee9 /ansible/playbooks/k8s.yml | |
| parent | f8f9666a8e630d6d64a883bca25ccc4ba98d73e4 (diff) | |
| download | homelab-iac-0182fe51736e7610d4a63fe6767d08ffe5c5938c.tar.gz homelab-iac-0182fe51736e7610d4a63fe6767d08ffe5c5938c.tar.bz2 homelab-iac-0182fe51736e7610d4a63fe6767d08ffe5c5938c.zip | |
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
Diffstat (limited to '')
| -rw-r--r-- | ansible/playbooks/k8s.yml | 5 |
1 files changed, 1 insertions, 4 deletions
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 ... |
