feat: initial forgejo role setup
This commit is contained in:
commit
57458b975f
13 changed files with 225 additions and 0 deletions
31
playbook.yaml
Normal file
31
playbook.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
|
||||
# execute this role
|
||||
- name: "install and configure forgejo"
|
||||
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: forgejo"
|
||||
ansible.builtin.include_role:
|
||||
name: "forgejo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue