diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 21:23:25 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 21:32:44 -0700 |
| commit | b686c6ae9ff18ca1ce8b8e602dc03548cbfa7b31 (patch) | |
| tree | 2bde43d963e2c8703cf7d39443ac0301cbd332a2 /site.yml | |
| parent | Move playbook vars to the role that uses them (diff) | |
| download | site-configs-b686c6ae9ff18ca1ce8b8e602dc03548cbfa7b31.zip | |
Add better encapsulation to ansible roles
- Replace a few of the global variables in the host inventory to
explicit variables that we pass into the particular roles that need
it.
- Move slowcgi setup to cgit since that is where it is needed (instead
of obsd_httpd)
- Rename `acme_client` to `obsd_ssl` to better emphasize it is related
to generating ssl certificates on openbsd.
- Add support for multiple ssl certificates into `obsd_ssl` by looping
over the new role variable it has
Diffstat (limited to 'site.yml')
| -rw-r--r-- | site.yml | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -4,9 +4,17 @@ roles: - role: obsd_httpd vars: - httpd_fragments: + obsd_httpd_fragments: - acme.conf - cgit.conf - - acme_client - - obsd_git - - obsd_cgit + - role: obsd_ssl + vars: + obsd_ssl_domains: + - git.eugenetriguba.com + - role: obsd_git + vars: + obsd_git_authorized_keys: + - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC31SiCeUZSJN3CueH6/+7UQvxwxkT/QkaDK6ZGdnkdpCWxRVp+0CTO4WG3u0PVEVd9DvSd81CEqrFaKxtKyiSh+4Va0A/mqY27tX7NZzEQLM/zLQrdESmaHY6EyQM0wlCtBKfNzuQqCa9QEw4TwkyMLOJzyI+bRsfeSHNCfxqnqGIMKKFiaF0ygakvQz57nWuKLOgqWsWkzFTuJKGI0OhefFBcZ4VzoCLV8i1zbB2AebhsmbyMza9OUF3px44atSM3o33Jto3gy7LTWtxU83NZU+wLEqY6IvcWx9BbSQZxAwEwXxUFmnzcX+FTkTiOs/Q2nXiLl2ggsGJffAq9Z1SGMCNGxT+Syyta5UtfBVVQdn6xtUxpppHwrdGC+TR8C5F9U12gsZRzvKkz0SSt5M4WHG2gna5rDgTisDbrEAsrqpmUqY9iSBzgAyk5xOi6fdI+r67gpjRSs+PNvDle3gImfIkPnEQg4eWJ54iKjfH+yd8vBk25T/ahu3J9rGgxp18= eugene@laptop" # noqa: yaml[line-length] + - role: obsd_cgit + vars: + obsd_cgit_domain: git.eugenetriguba.com |