-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf84968
commit 00d848c
Showing
17 changed files
with
58 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
exclude_paths: | ||
- .github | ||
- .vscode | ||
- ci | ||
- ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"ansible.python.interpreterPath": "/usr/bin/python" | ||
"ansible.python.interpreterPath": "/bin/python" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
# Collections must specify a minimum required ansible version to upload | ||
# to galaxy | ||
requires_ansible: '>=2.9.10' | ||
requires_ansible: ">=2.18.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
--- | ||
# defaults file for k8s_node | ||
ssh_id_rsa_pubs: [] | ||
allow_kube_upgrade: false | ||
# tmpdir | ||
tmpdir: /tmp | ||
k8s_node_ssh_id_rsa_pubs: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
--- | ||
# tasks file for k8s_node | ||
- name: execute role k8s_node | ||
- name: Execute role k8s_node | ||
become: true | ||
become_user: root | ||
block: | ||
- name: Create User | ||
include_tasks: 01_kube_sudoer.yml | ||
ansible.builtin.include_tasks: 01_kube_sudoer.yml | ||
|
||
- name: Mount shared NFS | ||
include_tasks: 02_kube_nfs_mount.yml | ||
ansible.builtin.include_tasks: 02_kube_nfs_mount.yml | ||
|
||
- name: Enable modprobe Modules | ||
include_tasks: 03_kube_modprobe.yml | ||
ansible.builtin.include_tasks: 03_kube_modprobe.yml | ||
|
||
- name: Disable Swap | ||
include_tasks: 04_kube_disable_swap.yml | ||
ansible.builtin.include_tasks: 04_kube_disable_swap.yml | ||
|
||
- name: Configure Sysctl | ||
include_tasks: 05_kube_configure_sysctl.yml | ||
ansible.builtin.include_tasks: 05_kube_configure_sysctl.yml | ||
|
||
- name: Configure Containerd | ||
include_tasks: 06_kube_configure_containerd.yml | ||
ansible.builtin.include_tasks: 06_kube_configure_containerd.yml | ||
|
||
- name: Configure Crictl | ||
include_tasks: 07_kube_configure_crictl.yml | ||
ansible.builtin.include_tasks: 07_kube_configure_crictl.yml | ||
|
||
- name: Install Kubernetes | ||
include_tasks: 08_kube_install_binaries.yml | ||
ansible.builtin.include_tasks: 08_kube_install_binaries.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
--- | ||
# vars file for k8s_node | ||
# k8s_node_tmpdir | ||
k8s_node_tmpdir: /tmp |