From b686c6ae9ff18ca1ce8b8e602dc03548cbfa7b31 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 17 Oct 2026 21:23:25 -0700 Subject: 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 --- roles/obsd_git/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/obsd_git') diff --git a/roles/obsd_git/tasks/main.yml b/roles/obsd_git/tasks/main.yml index 4d200f0..91388cf 100644 --- a/roles/obsd_git/tasks/main.yml +++ b/roles/obsd_git/tasks/main.yml @@ -53,7 +53,7 @@ - name: Deploy authorized_keys ansible.builtin.copy: - content: "{{ git_authorized_keys | join('\n') }}\n" + content: "{{ obsd_git_authorized_keys | join('\n') }}\n" dest: "{{ obsd_git_home }}/.ssh/authorized_keys" owner: "{{ obsd_git_user }}" group: "{{ obsd_git_user }}" -- cgit v1.2.3