feat: add ansible-lint and yamlfmt
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
---
|
||||
- name: Install Kubernetes APT repository
|
||||
ansible.builtin.import_tasks: repo.yaml
|
||||
|
||||
- name: Install Kubernetes packages
|
||||
ansible.builtin.import_tasks: packages.yaml
|
||||
|
||||
- name: Configure networking
|
||||
ansible.builtin.import_tasks: networking.yaml
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
- name: Enable sysctl 'net.ipv4.ip_forward'
|
||||
ansible.posix.sysctl:
|
||||
name: net.ipv4.ip_forward
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
- name: Install Kubernetes packages
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
@@ -6,7 +5,6 @@
|
||||
- kubelet
|
||||
- containerd
|
||||
update_cache: true
|
||||
|
||||
- name: Activate containerd service
|
||||
ansible.builtin.service:
|
||||
name: containerd
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
- name: Add Kubernetes APT repository
|
||||
ansible.builtin.deb822_repository:
|
||||
name: kubernetes
|
||||
|
||||
Reference in New Issue
Block a user