diff --git a/playbooks/group_vars/poseidon_k8s_controllers b/playbooks/group_vars/poseidon_k8s_controllers index 7a1bd811..fd4a44d8 100644 --- a/playbooks/group_vars/poseidon_k8s_controllers +++ b/playbooks/group_vars/poseidon_k8s_controllers @@ -5,5 +5,5 @@ k8s_cert_dir_path: /etc/kubernetes/pki k8s_root_cacert_path: "{{ k8s_cert_dir_path }}/ca.crt" ca_key: poseidon_k8s_ca.key ca_cert: poseidon_k8s_ca.crt -k8s_control_plane_kubeadm_patches_dir_path: /run/ansible +k8s_control_plane_kubeadm_patches_dir_path: /tmp/ansible k8s_control_plane_iptables_rules_path: /etc/iptables/rules.v4 # used by the deb package 'iptables-persistent' diff --git a/playbooks/group_vars/poseidon_k8s_workers b/playbooks/group_vars/poseidon_k8s_workers index ac32c7e1..50cacbf7 100644 --- a/playbooks/group_vars/poseidon_k8s_workers +++ b/playbooks/group_vars/poseidon_k8s_workers @@ -1,6 +1,6 @@ --- cri_socket_path: unix:///var/run/containerd/containerd.sock -k8s_worker_node_kubeadm_patches_dir_path: /run/ansible +k8s_worker_node_kubeadm_patches_dir_path: /tmp/ansible k8s_worker_node_iptables_rules_path: /etc/iptables/rules.v4 k8s_worker_node_join_config_template: poseidon/k8s-worker.yml.j2 k8s_worker_node_join_patch_templates: diff --git a/roles/k8s_control_plane/defaults/main.yml b/roles/k8s_control_plane/defaults/main.yml index f07cb2c2..b95023e1 100644 --- a/roles/k8s_control_plane/defaults/main.yml +++ b/roles/k8s_control_plane/defaults/main.yml @@ -1,7 +1,7 @@ --- # Dir that will contain patches to combine with InitConfiguration and # JoinConfiguration on individual nodes. -k8s_control_plane_kubeadm_patches_dir_path: /run/ansible +k8s_control_plane_kubeadm_patches_dir_path: /tmp/ansible # file that contains elements specific to 'kubeadm init' runtime information k8s_control_plane_init_config_template: "" diff --git a/roles/k8s_worker_node/defaults/main.yml b/roles/k8s_worker_node/defaults/main.yml index e003b3b1..546e8f04 100644 --- a/roles/k8s_worker_node/defaults/main.yml +++ b/roles/k8s_worker_node/defaults/main.yml @@ -1,7 +1,7 @@ --- # Dir that will contain patches to combine with InitConfiguration and # JoinConfiguration on individual nodes. -k8s_worker_node_kubeadm_patches_dir_path: /run/ansible +k8s_worker_node_kubeadm_patches_dir_path: /tmp/ansible # file that contains elements specific to 'kubeadm join' runtime information k8s_worker_node_join_config_template: ""