koji: Add playbooks for Koji
The `koji.yml` playbook can be used to deploy an entire Koji ecosystem. It is composed of three smaller playbooks: * `koji-hub.yml`: Deploys the Koji hub, GC, and Kojira * `koji-web.yml`: Deploys the Koji Web GUI * `koji-builder.yml`: Deploys the Koji builderjenkins-master
parent
a0dd911a63
commit
f9cba30582
10
hosts
10
hosts
|
@ -36,6 +36,16 @@ git0.pyrocufflink.blue
|
||||||
[jenkins-slave]
|
[jenkins-slave]
|
||||||
cm0.pyrocufflink.blue
|
cm0.pyrocufflink.blue
|
||||||
|
|
||||||
|
[koji:children]
|
||||||
|
koji-builder
|
||||||
|
koji-hub
|
||||||
|
|
||||||
|
[koji-builder]
|
||||||
|
|
||||||
|
[koji-hub]
|
||||||
|
|
||||||
|
[koji-web]
|
||||||
|
|
||||||
[named-server:children]
|
[named-server:children]
|
||||||
pyrocufflink-dns
|
pyrocufflink-dns
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
- hosts: koji-builder
|
||||||
|
roles:
|
||||||
|
- ssh-hostkeys
|
||||||
|
- koji-builder
|
|
@ -0,0 +1,9 @@
|
||||||
|
- hosts: koji-hub
|
||||||
|
roles:
|
||||||
|
- postgresql-server
|
||||||
|
- apache
|
||||||
|
- koji-hub
|
||||||
|
- cronie
|
||||||
|
- koji-gc
|
||||||
|
- kojira
|
||||||
|
- koji-client
|
|
@ -0,0 +1,4 @@
|
||||||
|
- hosts: koji-web
|
||||||
|
roles:
|
||||||
|
- apache
|
||||||
|
- koji-web
|
|
@ -0,0 +1,8 @@
|
||||||
|
- import_playbook: koji-hub.yml
|
||||||
|
- import_playbook: koji-web.yml
|
||||||
|
# For new installations, it is not safe to start kojid immediately, as the
|
||||||
|
# `koji add-host` command needs to be run first to avoid the "User n is not a
|
||||||
|
# host" error. Until a `koji_user` module exists to automatically handle this,
|
||||||
|
# it is best to simply let the user handle it and explicitly apply the
|
||||||
|
# `koji-builder.yml` platbook later
|
||||||
|
#- import_playbook: koji-builder.yml
|
Loading…
Reference in New Issue