diff --git a/playbooks/kubernetes/playbook.yaml b/playbooks/kubernetes/playbook.yaml index 1280a54..cbf6287 100644 --- a/playbooks/kubernetes/playbook.yaml +++ b/playbooks/kubernetes/playbook.yaml @@ -2,6 +2,8 @@ - hosts: all gather_facts: yes roles: + - include_role: + name: install_system_tools - include_role: name: remove_swap - include_role: diff --git a/roles/install_system_tools/tasks/main.yml b/roles/install_system_tools/tasks/main.yml new file mode 100644 index 0000000..fe83120 --- /dev/null +++ b/roles/install_system_tools/tasks/main.yml @@ -0,0 +1,10 @@ +--- +- name: Install system tools + become: true + vars: + packages: + - less + ansible.builtin.apt: + name: "{{ packages }}" + state: present + update_cache: yes