about summary refs log tree commit diff
path: root/ansible/roles/sourcehut/tasks/main.yml
blob: 047ac06e471ab31beadc0991c8922ddb9739d182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
- name: Clone SourceHut repositories
  git:
    repo: '{{ item }}'
    dest: '/opt/sourcehut/{{ item | basename }}'
  with_items:
    - https://git.sr.ht/~sircmpwn/builds.sr.ht
    - https://git.sr.ht/~sircmpwn/dispatch.sr.ht
    - https://git.sr.ht/~sircmpwn/git.sr.ht
    - https://git.sr.ht/~sircmpwn/hg.sr.ht
    - https://git.sr.ht/~sircmpwn/lists.sr.ht
    - https://git.sr.ht/~sircmpwn/meta.sr.ht
    - https://git.sr.ht/~sircmpwn/mle.sr.ht
    - https://git.sr.ht/~sircmpwn/patches.sr.ht
    - https://git.sr.ht/~sircmpwn/paste.sr.ht
    - https://git.sr.ht/~sircmpwn/todo.sr.ht

- name: Configure SourceHut services
  shell: |
    cd /opt/sourcehut/{{ item | basename }}
    docker-compose up -d
  with_items:
    - https://git.sr.ht/~sircmpwn/builds.sr.ht
    - https://git.sr.ht/~sircmpwn/dispatch.sr.ht
    - https://git.sr.ht/~sircmpwn/git.sr.ht
    - https://git.sr.ht/~sircmpwn/hg.sr.ht
    - https://git.sr.ht/~sircmpwn/lists.sr.ht
    - https://git.sr.ht/~sircmpwn/meta.sr.ht
    - https://git.sr.ht/~sircmpwn/mle.sr.ht
    - https://git.sr.ht/~sircmpwn/patches.sr.ht
    - https://git.sr.ht/~sircmpwn/paste.sr.ht
    - https://git.sr.ht/~sircmpwn/todo.sr.ht