--- - 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/" - name: Provision community umurmur instance ansible.builtin.include_role: name: umurmur vars: certificate: "/etc/ssl/cosmos.party.fullchain.pem" private_key: "/etc/ssl/private/cosmos.party.key" welcometext: "Добро пожаловать!" channels: - name: "Root" description: "The Root of all channels" noenter: true - name: "Lobby" parent: "Root" description: "Lobby channel" - name: "Red team" parent: "Lobby" description: "The Red team channel" - name: "Blue team" parent: "Lobby" description: "The Blue team channel" default_channel: "Lobby" channel_links: - source: "Lobby" destination: "Red team" - source: "Lobby" destination: "Blue team" tags: - cosmos