fix(ansible): wait 15 seconds before deleting the k3s deployed manifests

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-05-10 07:44:55 -04:00
1 parent ed9bdd20c1
commit 6b0dc651f5
2 files changed
+5

No files matched your search

@@ -31,6 +31,7 @@ spec:
- 2a06:98c0::/29
- 2c0f:f248::/32
# include rfc1918 ranges since traefik chains do not support OR operations
# https://github.com/traefik/traefik/issues/6007
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
@@ -53,6 +53,10 @@
regexp: "https://127.0.0.1:6443"
replace: "https://{{ k3s_registration_address }}:6443"
- name: Wait for k3s to finish installing the deployed manifests
ansible.builtin.pause:
seconds: 15
- name: Remove deployed manifest templates
ansible.builtin.file:
path: "{{ k3s_server_manifests_dir }}/{{ item | basename | regex_replace('\\.j2$', '') }}"