woodpecker: Set self as admin, open to all orgs.

This commit is contained in:
Julien Palard 2023-03-29 17:39:22 +02:00
parent c4843a33cf
commit 4727fd177a
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@
group:
name: woodpecker
state: present
- name: Woodpecker user
user:
system: true
@ -83,7 +83,7 @@
shell: /bin/bash
group: woodpecker
name: woodpecker
- name: Create SQLite directory
file:
path: '/var/lib/woodpecker'
@ -106,8 +106,8 @@
Group=woodpecker
WorkingDirectory=/var/lib/woodpecker/
Environment="WOODPECKER_AGENT_SECRET={{ WOODPECKER_AGENT_SECRET }}"
Environment="WOODPECKER_ADMIN=mdk"
Environment="WOODPECKER_OPEN=true"
Environment="WOODPECKER_ORGS=AFPy"
Environment="WOODPECKER_HOST=https://woodpecker.afpy.org"
Environment="WOODPECKER_GITEA=true"
Environment="WOODPECKER_GITEA_URL=https://git.afpy.org"
@ -156,7 +156,7 @@
group:
name: woodpecker-agent
state: present
- name: Woodpecker agent user
user:
system: true
@ -166,7 +166,7 @@
group: woodpecker-agent
groups: docker
name: woodpecker-agent
- name: woodpecker agent systemd service
notify: restart woodpecker agent
copy: