feat: initial woodpecker ci server role setup

This commit is contained in:
Simon Cornet 2026-05-10 14:13:09 +02:00
commit eede4f6cc7
13 changed files with 228 additions and 0 deletions

31
playbook.yaml Normal file
View file

@ -0,0 +1,31 @@
---
# execute this role
- name: "install and configure woodpecker"
hosts: "all"
become: true
tasks:
# due to semaphore bug we need to do this ourselves
- name: "force-update requirements"
ansible.builtin.command:
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
become: false
delegate_to: "localhost"
changed_when: false
failed_when: false
# execute the role
- name: "execute role: docker"
ansible.builtin.include_role:
name: "docker"
# execute the role
- name: "execute role: traefik"
ansible.builtin.include_role:
name: "traefik"
# execute the role
- name: "execute role: woodpecker"
ansible.builtin.include_role:
name: "woodpecker"