14 Commits
Author SHA1 Message Date
jdelpilarandJordan Del Pilar 1c87c9c78d docs: update repo info and add role readme (#14)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m48s
Johto Infrastructure Pipeline / Deploy to Production (push) Successful in 2m52s
### Description
This PR updates `README.md` and adds `README.md` files for all roles

### Related Issue
Closes #12

### Testing Done
- [x] Verified docs match current state of repo and roles

### Checklist
- [x] My code follows the project's style guidelines.
- [x] I have performed a self-review of my own code.
- [x] I have updated the documentation (if necessary).

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #14
v1.0.0
2026-07-12 15:54:07 -07:00
jdelpilarandJordan Del Pilar a0a75b413d feat: add restic backup plan (#11)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m47s
Johto Infrastructure Pipeline / Deploy to Production (push) Successful in 2m49s
### Description
This PR adds in a new role to setup backup for all hosts via restic with an rclone backend.
Added new host_vars to all host for both rclone and restic settings. All secrets are saved via ansible-vault encrypted strings.
New role creates `rclone.conf` to correctly map remotes. This conf file uses client id and client secret for google cloud project to allow for faster api access and better security.

### Related Issue
Closes #10

### Testing Done
- [x] Ran `ansible-lint` aganist local copy to verify syntax
- [x] Ran new role against testing environment to verify functionality.
- [x] Verified created backup service runs via triggering manually
- [x] Verified systemd timers trigger correctly

### Checklist
- [x] My code follows the project's style guidelines.
- [x] I have performed a self-review of my own code.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #11
2026-07-12 12:01:23 -07:00
jdelpilarandJordan Del Pilar 5658d5712b feat: add PR Template (#9)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m49s
Johto Infrastructure Pipeline / Deploy to Production (push) Successful in 2m16s
### Description
This PR adds new PR Template
All Future PRs will use the new template. Adjustments will be made to the template as needed.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #9
2026-07-11 09:28:37 -07:00
jdelpilarandJordan Del Pilar fcff230307 feat: Added Issue Template (#8)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m46s
Johto Infrastructure Pipeline / Deploy to Production (push) Successful in 2m14s
This PR adds templates for issues. This template will be used for all new issues opened in this repo.
Future PR will add a PR template as well.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #8
2026-07-11 09:01:45 -07:00
jdelpilarandJordan Del Pilar 3b15923d8d fix: CI/CD pipeline fix (#7)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m44s
Johto Infrastructure Pipeline / Deploy to Production (push) Successful in 2m10s
This PR fixes an issue with how the CI/CD pipeline was setup up

## Major fixes
- Addressed an issue with the CI/CD pipeline restarting core services during production runs.
	- Updated ansible-playbook command to include the `skip-tags` flag. This currently skips the new `core` tag. | 19a7e77045
	- Added new `core` tag to `site.yaml`. This new tag covers any roles that deal with or might restart core services. | 3335594077

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #7
2026-07-08 14:54:29 -07:00
jdelpilarandJordan Del Pilar 3d5bda78ac Fix/runner quadlet (#6)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m54s
Johto Infrastructure Pipeline / Deploy to Production (push) Has been cancelled
This PR fixes an issue with the act_runner container set up.

## Major Changes
- Update act_runner_quadlet.j2 template to fix an issue where the runner would restart adguard during the pipeline. This caused the act_runner container to restart as well due to the line "requires=adguard.service"
- Updated gitea_quadlet.j2 to disable new user registration.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #6
2026-07-08 14:10:27 -07:00
jdelpilarandJordan Del Pilar 010e4d3c49 fix: vault-pass.txt injection fix (#5)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m46s
Johto Infrastructure Pipeline / Deploy to Production (push) Has been cancelled
Updated the vault-pass,txt injection task to use printf. This avoids issues with special characters in the vault-password

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #5
2026-06-13 16:58:01 -07:00
jdelpilarandJordan Del Pilar cf8f2435f8 Feat/add ci cd pipeline (#4)
Johto Infrastructure Pipeline / Run Ansible Lint (push) Successful in 1m45s
Johto Infrastructure Pipeline / Deploy to Production (push) Failing after 1m49s
This PR add the basic CI/CD workflow.

- On push to any branch ansible-lint is ran to verify syntax and formatting
- On push to main, all pushes are required to pass ansible-lint. Project is than ran against all hosts to push changes to production.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #4
2026-06-13 16:43:33 -07:00
jdelpilarandJordan Del Pilar 23e3d4af5f chore: Update Runner token (#3)
This PR adds a CI/CD pipeline.

On push to all branches it runs ansible-lint against the commit
On push to main it runs the playbook against all targets

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #3
2026-06-12 17:34:35 -07:00
jdelpilarandJordan Del Pilar afb53ba849 chore: Update Runner token (#2)
This PR rotates the runner token for act_runner.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #2
2026-06-12 17:13:59 -07:00
jdelpilarandJordan Del Pilar 915b5aac62 fix: Container file name issue (#1)
This PR fixes a minor bug in the generation of container files for act_runner.
container files were being created missing a period for the file extension.
Expected outcome is act_runner.container, however before this fix container files were being created as act_runnercontainer.

---------

Co-authored-by: Jordan Del Pilar <[email protected]>
Reviewed-on: #1
2026-06-12 17:09:54 -07:00
Jordan Del Pilar 498c097e9a fix: Change list handling for services directories
Changed how lists of volumes is handled when reading from services directories. New form uses jinja2 based templating, allowing for handling lists with 1 element.
Removed some unneeded comments.
2026-06-12 16:48:23 -07:00
Jordan Del Pilar 7d8c78b14e fix: Fixed incorrect volume mapping
Volume maping used for the gitea service was incorrectly using the mapping for rootless gitea while using the rootful image. This caused volumes to mounted to anonymous volumes that were ephemeral.
2026-06-12 16:42:12 -07:00
Jordan Del Pilar 80b66bdf0c feat: initial commit
Creates foundation for home lab environment
- sets system baselines and creates required directories
- adds `common` role for system baselines
- adds `dns_server` role to set up dns for internal routing
- adds `gitea_server` role  to set up git and action runner
2026-06-12 13:02:38 -07:00