From 30697492530f5724d6b01683f07aa350dbef8056 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Fri, 2 Jun 2023 08:51:25 -0500 Subject: [PATCH] fix opt jitsi sidecar install --- ansible/roles/autoscaler-sidecar/defaults/main.yml | 2 +- ansible/roles/bootstrap-repos/tasks/main.yml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/roles/autoscaler-sidecar/defaults/main.yml b/ansible/roles/autoscaler-sidecar/defaults/main.yml index 853895fa..a278e729 100644 --- a/ansible/roles/autoscaler-sidecar/defaults/main.yml +++ b/ansible/roles/autoscaler-sidecar/defaults/main.yml @@ -80,7 +80,7 @@ autoscaler_status_url: "https://{{ autoscaler_server_host }}/sidecar/status" autoscaler_terminate_script: '/usr/local/bin/terminate_instance.sh' autoscaler_use_default_terminate_script: false autoscaler_user: - groups: ["adm"] + groups: ["adm", "jitsi"] homedir: "/home/{{ autoscaler_username }}" real_name: jitsi autoscaler sidecar user state: present diff --git a/ansible/roles/bootstrap-repos/tasks/main.yml b/ansible/roles/bootstrap-repos/tasks/main.yml index ebea8db6..90ddd15b 100644 --- a/ansible/roles/bootstrap-repos/tasks/main.yml +++ b/ansible/roles/bootstrap-repos/tasks/main.yml @@ -1,8 +1,15 @@ --- +# stub for jitsi group +- name: Stub group for jitsi in case it doesn't exist yet + ansible.builtin.group: + name: jitsi + - name: Create jitsi base directory ansible.builtin.file: - mode: 0755 + mode: 0775 state: directory + owner: root + group: jitsi path: "{{ bootstrap_base_dir }}" - name: Create bootstrap repos directory