From 202c7477db6840841f97306c215a481ee9a18935 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Thu, 30 Dec 2021 23:49:03 +0100 Subject: [PATCH] builder3: checkout some scripts for the builder from git repo --- builder3.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/builder3.yml b/builder3.yml index d7804e1..a32f702 100644 --- a/builder3.yml +++ b/builder3.yml @@ -198,6 +198,25 @@ src: "{{ item }}" state: link + - name: Checkout scripts for the builder + git: + repo: https://github.com/freifunkhamburg/builder-scripts.git + dest: /home/gluon/bin + ssh_opts: -o StrictHostKeyChecking=accept-new + + - name: Fix permissions on git repo + file: + path: /home/gluon/bin + owner: gluon + group: gluon + recurse: yes + + - name: Set main as default git branch name + git_config: + scope: system + state: present + name: init.defaultBranch + value: main - name: Configure webserver for builder3 block: