From 98b6958386cec28bc13e2d6dbd225e0cd078bcc5 Mon Sep 17 00:00:00 2001 From: Aidan Hembree <8049680+ahembree@users.noreply.github.com> Date: Wed, 13 Dec 2023 00:41:48 +0000 Subject: [PATCH] fix jbops install --- roles/hmsdocker/tasks/main.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/roles/hmsdocker/tasks/main.yml b/roles/hmsdocker/tasks/main.yml index 6540cac..29cab19 100644 --- a/roles/hmsdocker/tasks/main.yml +++ b/roles/hmsdocker/tasks/main.yml @@ -61,13 +61,21 @@ when: container_enabled_homepage - name: Ensure JBOPS if enabled - ansible.builtin.git: - repo: https://github.com/blacktwin/JBOPS - clone: true - dest: "{{ tautulli_jbops_install_path }}" - diff: false - changed_when: false when: tautulli_jbops_enabled + block: + - name: Ensure global git config ignores dubious ownership permissions + community.general.git_config: + name: safe.directory + scope: global + value: "{{ tautulli_jbops_install_path }}" + - name: Ensure JBOPS repo + ansible.builtin.git: + repo: https://github.com/blacktwin/JBOPS + clone: true + dest: "{{ tautulli_jbops_install_path }}" + diff: false + changed_when: false + - name: Ensure env ansible.builtin.template: