From 0992b4e54645bda588c27a8bdd7ffa8201ca28b4 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 9 Nov 2024 18:32:15 +0100 Subject: [PATCH] Add repo-mgmt for buildserver --- build/init.ansible.yml | 17 +++++++++++++++++ top.ansible.yml | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 build/init.ansible.yml diff --git a/build/init.ansible.yml b/build/init.ansible.yml new file mode 100644 index 0000000..5cc4b9c --- /dev/null +++ b/build/init.ansible.yml @@ -0,0 +1,17 @@ +- hosts: localhost + vars_files: + - ../../map.yml + tasks: + - name: Create repo-mgmt dir + file: + state: directory + path: /opt/podman/repo-mgmt + owner: puser + group: puser + mode: '0755' + recurse: true + - name: Clone repo-mgmt + git: + repo: https://git.noveria.org/Novos/repo-mgmt.git + dest: /opt/podman/repo-mgmt + force: true diff --git a/top.ansible.yml b/top.ansible.yml index f5cf357..39392b1 100644 --- a/top.ansible.yml +++ b/top.ansible.yml @@ -13,7 +13,10 @@ when: installation_type == 'proxy' - name: Setup Podman import_playbook: podman/init.ansible.yml - when: installation_type == 'gaming' + when: installation_type == 'gaming' or installation_type == 'build' - name: Setup Pterodactyl import_playbook: pterodactyl/init.ansible.yml when: installation_type == 'gaming' +- name: Setup repo-mgmt + import_playbook: build/init.ansible.yml + when: installation_type == 'build'