|
|
@@ -23,6 +23,11 @@ |
|
|
|
name: buildbot_gitea |
|
|
|
executable: pip3 |
|
|
|
|
|
|
|
- name: install service_identity |
|
|
|
pip: |
|
|
|
name: service_identity |
|
|
|
executable: pip3 |
|
|
|
|
|
|
|
- name: buildbot system group |
|
|
|
group: |
|
|
|
name: buildbot |
|
|
@@ -65,7 +70,7 @@ |
|
|
|
template: |
|
|
|
src: buildbot/master.cfg.j2 |
|
|
|
dest: /var/lib/buildbot/master/master.cfg |
|
|
|
notify: reload buildbot service |
|
|
|
notify: restart buildbot service |
|
|
|
|
|
|
|
- meta: flush_handlers |
|
|
|
|
|
|
@@ -73,3 +78,20 @@ |
|
|
|
systemd: |
|
|
|
state: started |
|
|
|
name: buildbot@master.service |
|
|
|
|
|
|
|
- include_role: |
|
|
|
name: certificate |
|
|
|
vars: |
|
|
|
certificate_name: buildbot |
|
|
|
certificate_directory: /etc/ssl |
|
|
|
certificate_key_usage: |
|
|
|
- digitalSignature |
|
|
|
- keyEncipherment |
|
|
|
certificate_extended_key_usage: |
|
|
|
- serverAuth |
|
|
|
certificate_common_name: "{{ buildbot_server_name }}" |
|
|
|
|
|
|
|
- include_role: |
|
|
|
name: nginx |
|
|
|
vars: |
|
|
|
nginx_vhosts: "{{ buildbot_nginx_vhosts }}" |