Files
homelab/templates/software/foobar.md
2025-11-20 06:57:11 -05:00

1.3 KiB

foobar

Setup foobar Project

  1. Copy and rename this folder to active/software_foobar
  2. Find and replace foobar with the name of the service
  3. Write the foobar.service spec
  4. (OPTIONAL) Write the foobar.timer spec
  5. (OPTIONAL) Write the foobar.sh.j2 template
  6. Write the install_foobar.yaml ansible template
  7. Install the service via ansible
  8. Expose the service
  9. Install a backup service and timer

Service Variables

  1. For most vars,populate vars.yaml
  2. For secret vars, create a new folder called secrets/ and put a vars.yaml there.

Install foobar

# Run the playbook
ansible-playbook \
-i ansible/inventory.yaml \
-l podman \
active/software_foobar/install_foobar.yaml \
-e "@active/software_foobar/vars.yaml" \
-e "@active/software_foobar/secrets/vars.yaml"

Upgrade foobar

Backup foobar

Follow the Borg Backup instructions

Restore foobar

Uninstall foobar