aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/mastodon.yml
blob: e5c5e4f48ad16e4962f3003fb652d268ad47f5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- name: configure mastodon servers
  hosts: mastodon_servers
  roles:
    - role: common
      tags: common

    - role: mastodon
      tags: mastodon

    - role: apache_vhost
      apache_server_name: '{{ mastodon_web_domain }}'
      apache_server_aliases: []
      apache_letsencrypt: yes
      apache_redirect_to_https: yes
      apache_document_root: '{{ mastodon_webroot }}'
      apache_config: '{{ mastodon_apache_config }}'
      tags: apache

    - role: archive_job
      archive_name: mastodon
      archive_user: '{{ mastodon_user }}'
      archive_shell: '{{ mastodon_archive_shell }}'
      tags: archive