Orphaned / questionable files

Files that exist but do not appear to serve a current purpose, or whose purpose is unclear. Each entry says what the file is, why it looks orphaned, and a recommended action.

O1 — br13000/main.yml

Contents are a single comment: # Playbook to build the www_site site. No tasks, no imports. It is not referenced by deploy.yml or any other playbook in the repo.

Action: delete, or fill in with the actual site-build playbook if one is planned.

O2 — br13000/disabled.gitlab-ci.yml

Entirely commented out. Duplicates the intent of the root .gitlab-ci.yml. Not referenced by anything.

Action: delete. If the history is wanted, it is in git.

O3 — br13000/sync_www vs br13000/sync_website.sh

Two scripts that do almost the same thing (see B3). sync_www is the newer-looking one (uses set -euo pipefail, logs to /tmp), but sync_website.sh is the one that commits the Updated line back to git.

Action: pick one, delete the other. If sync_www is kept, add the git-commit step from sync_website.sh (or drop it deliberately).

O4 — br13000/requirements.txt vs root requirements.txt

br13000/requirements.txt pins mkdocs>=1.5.3 and comments out mkdocs-material. The root requirements.txt is not in the chat, but the CI pipeline does not install from either — it relies on the remote host having mkdocs already installed.

Action: decide which file is authoritative, delete the other, and have CI install from it.

O5 — br13000/mkdocs.yml vs root mkdocs.yml

See B19. Two configs, slightly different, no explanation.

Action: keep the root one, delete br13000/mkdocs.yml.

O6 — br13000/notes.md vs br13000/www_setup_notes.md vs br13000/README.md

Three overlapping docs (see D6). notes.md is the most detailed about the MkDocs workflow; www_setup_notes.md is a one-time setup script; README.md describes the Ansible layout.

Action: merge into br13000/README.md with sections, or clearly label notes.md and www_setup_notes.md as historical.

O7 — br13000/ansible.cfg

Sets vault_password_file=.vault_password and roles_path=~/training/website_automation/roles/. The .vault_password file is not in the repo (correctly — it should be gitignored), and the roles_path is an absolute path specific to one developer's home directory.

Action: keep, but document in br13000/README.md that .vault_password must exist locally and that roles_path may need adjusting. Consider making roles_path relative.

O8 — br13000/deploy_key and br13000/deploy_key.pub

A committed SSH keypair. The private key (br13000/deploy_key) is present in the working tree and is not ignored by .gitignore — the only related pattern is deploy_key*site, which does not match deploy_key or deploy_key.pub. So the private key is tracked.

Even if it is a deploy key with limited scope, committing private keys is a bad practice and a security risk if the repo is ever made public or cloned by someone who should not have it. The key comment is gitlab-mkdocs-deploy, so it is presumably the key used by the CI pipeline to push to the site repo.

Action:

  1. Remove br13000/deploy_key and br13000/deploy_key.pub from the repo (git rm).
  2. Rotate the key on GitLab (delete the deploy key, generate a new one).
  3. Store the new private key as a GitLab CI/CD variable (e.g. SSH_PRIVATE_KEY, which .gitlab-ci.yml already expects).
  4. Fix .gitignore: replace deploy_key*site with deploy_key* (see O13).

O9 — br13000/resume_dglinder.pdf

A PDF resume in the automation directory. docs/about.md links to a Google Doc (https://docs.google.com/document/d/...), not this PDF. It is not referenced anywhere in the repo.

Action: delete, or move to docs/ and link from docs/about.md if it is meant to be published. If it is kept, note that it will be published as part of the site build (anything under docs/ is).

O10 — br13000/blog.md

A stale copy of docs/blog.md. Differences from the live file:

  • Links omit the .md extension (2025/12/06/why/ vs 2025/12/06/why.md), which is the older MkDocs style.
  • It is missing the 2026-09-13 — Testing Automation entry that docs/blog.md has.
  • It is not referenced by mkdocs.yml (which uses docs/blog.md) or by update_blog_index.py (which writes to docs/blog.md).

Action: delete. It is a leftover from before the blog index was generated by update_blog_index.py.

O11 — br13000/cloud_init.sample

A sample cloud-init file. Not referenced by deploy.yml (which uses the seedling role to provision Vultr instances). It is a leftover from an earlier provisioning approach.

It also installs apache2 and enables Apache Full in UFW, which conflicts with the nginx-based deploy (see B2). If it is kept, it needs to be updated to nginx.

Action: delete, or move to a samples/ dir with a README explaining when to use it, and fix the apache/nginx mismatch.

O12 — br13000/deploy.yml "Generate vpn clients keys" runs on localhost

The play targets localhost with become: true and writes to /etc/wireguard/. That is fine for a developer machine, but it means the playbook cannot be run from CI without root on the runner. It is not orphaned, but its placement in a "deploy hosts" playbook is surprising.

Action: consider splitting into a separate vpn-clients.yml playbook, or document the requirement.

O13 — .gitignore pattern deploy_key*site looks like a typo

The root .gitignore contains:

deploy_key*site

This matches files like deploy_key-site or deploy_key_foo_site, but not deploy_key or deploy_key.pub. Given that br13000/deploy_key is a committed private key (see O8), the intent was almost certainly deploy_key*.

Action: change deploy_key*site to deploy_key*, then git rm the tracked key files (see O8).

O14 — br13000/resume_dglinder.pdf

A PDF resume in the automation directory. docs/about.md links to a Google Doc (https://docs.google.com/document/d/...), not this PDF. It is not referenced anywhere in the repo.

Action: delete, or move to docs/ and link from docs/about.md if it is meant to be published. If it is kept, note that it will be published as part of the site build (anything under docs/ is).