diff --git a/.gitignore b/.gitignore index 514c567..7bbfe47 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ package-lock.json package.json roles/reset/files/*.reset.md roles/join/files/*.join.md +roles/init/files/kcp01 diff --git a/conf.py b/conf.py index 76310d9..69d9185 100644 --- a/conf.py +++ b/conf.py @@ -29,13 +29,15 @@ def get_version(): autoyaml_safe_loader = False copyright = "2024, Xander Harris" exclude_patterns = [ + 'roles/init/files/admin.conf/kcp01/etc/kubernetes/admin.conf', + 'roles/join/files/kcp01.join.md/kcp01/root/join.md', + 'roles/reset/files/kcp01.breeze-blocks.net.reset.md/kcp01.breeze-blocks.net/root/reset.md', "_build", - "Thumbs.db", ".DS_Store", ".pytest_cache/*", ".tox/*", - 'roles/reset/files/kcp01.breeze-blocks.net.reset.md/kcp01.breeze-blocks.net/root/reset.md', ".venv/*", + "Thumbs.db", ] extensions = [ "myst_parser", diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml index 0f89b2d..2400f7d 100644 --- a/roles/init/tasks/main.yml +++ b/roles/init/tasks/main.yml @@ -61,7 +61,11 @@ - name: Debug ansible.builtin.debug: var: init_result -- name: Pull stored output from hosts +- name: Pull stored output from host ansible.builtin.fetch: src: /root/join.md - dest: "roles/join/files/{{ inventory_hostname }}.join.md" + dest: roles/join/files/ +- name: Pull admin conf from remote + ansible.builtin.fetch: + src: /etc/kubernetes/admin.conf + dest: roles/init/files/