--- - hosts: dev vars: systemd: services: - { name: "gitea", enabled: true, state: restarted } file: - { path: "{{ gitea.path.config }}", owner: "git", group: "git", mode: "770", state: directory } - { path: "{{ gitea.path.data }}", owner: "git", group: "git", mode: "770", state: directory } gitea: user: "{{ global.dev.gitea.user }}" domain: "{{ global.dev.gitea.domain }}" data: uuid: 'bdaa719c-b48c-468e-b923-82b379106905' port: http: "{{ global.dev.gitea.port.http }}" ssh: listen: "{{ global.dev.gitea.port.ssh }}" display: "2442" path: data: "/mnt/gitea" # TODO: Replace with device UUIDs config: "/etc/gitea" users: - { name: 'git', shell: '/bin/bash', lock: true, system: true, comm: 'Git Version Control' } vault: roles: - "gitea" - "postgresql" mounts: - { uuid: '{{ gitea.data.uuid }}', dest: '/mnt/gitea', state: 'mounted', fstype: 'xfs' } roles: - vault - mounts - users - file - gitea - systemd