Add repo-mgmt for buildserver
This commit is contained in:
parent
6d13f2d599
commit
0992b4e546
2 changed files with 21 additions and 1 deletions
17
build/init.ansible.yml
Normal file
17
build/init.ansible.yml
Normal file
|
@ -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
|
|
@ -13,7 +13,10 @@
|
||||||
when: installation_type == 'proxy'
|
when: installation_type == 'proxy'
|
||||||
- name: Setup Podman
|
- name: Setup Podman
|
||||||
import_playbook: podman/init.ansible.yml
|
import_playbook: podman/init.ansible.yml
|
||||||
when: installation_type == 'gaming'
|
when: installation_type == 'gaming' or installation_type == 'build'
|
||||||
- name: Setup Pterodactyl
|
- name: Setup Pterodactyl
|
||||||
import_playbook: pterodactyl/init.ansible.yml
|
import_playbook: pterodactyl/init.ansible.yml
|
||||||
when: installation_type == 'gaming'
|
when: installation_type == 'gaming'
|
||||||
|
- name: Setup repo-mgmt
|
||||||
|
import_playbook: build/init.ansible.yml
|
||||||
|
when: installation_type == 'build'
|
||||||
|
|
Loading…
Reference in a new issue