blob: a50205c0b17257c32d7870d6a513995a0a5c466e (
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
34
|
---
- block:
- name: Ensure cosmos web root exists
ansible.builtin.file:
path: /srv/http/cosmos.party
state: directory
owner: cmmm
group: www-data
mode: '0775'
- name: Deploy cosmos nginx site configuration
ansible.builtin.template:
src: nginx.conf.j2
dest: /etc/nginx/http.d/cosmos.conf
owner: root
group: root
mode: '0444'
validate: nginx-validate %s /etc/nginx/http.d/cosmos.conf
notify: Reload nginx
- name: Provision cosmos CGit instance
ansible.builtin.include_role:
name: cgit
tags:
cgit
vars:
instance: "cosmos"
domain: "git.cosmos.party"
root_title: "Cosmos Party"
root_desc: "Here you can find all our git repositories"
scan_path: "/var/lib/git/repositories/"
tags:
- cosmos
|