-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathkoji.yaml
38 lines (38 loc) · 941 Bytes
/
koji.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- hosts: koji-all-in-one
tasks:
- name: Add required bundles for koji
swupd:
name: koji postgresql web-server-basic
state: present
become: true
- name: copy koji-setup scripts
copy:
src: koji-setup
dest: /tmp/
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_user }}"
- name: update bootstrap-build file permissions
file:
path: /tmp/koji-setup/bootstrap-build.sh
mode: 0755
- name: update deploy-koji file permissions
file:
path: /tmp/koji-setup/deploy-koji.sh
mode: 0755
- name: update gencert file permissions
file:
path: /tmp/koji-setup/gencert.sh
mode: 0755
- name: run koji deployment
command:
./deploy-koji.sh
become: true
args:
chdir: /tmp/koji-setup
- name: bootstrap build tags and targets
command:
./bootstrap-build.sh
become: true
args:
chdir: /tmp/koji-setup