Skip to content

Commit

Permalink
Copy files
Browse files Browse the repository at this point in the history
Closes #6
  • Loading branch information
edwardtheharris committed Jul 23, 2024
1 parent 5a6abec commit cbf03c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ package-lock.json
package.json
roles/reset/files/*.reset.md
roles/join/files/*.join.md
roles/init/files/kcp01
6 changes: 4 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 6 additions & 2 deletions roles/init/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit cbf03c5

Please sign in to comment.