aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/mastodon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/mastodon.yml')
-rw-r--r--playbooks/mastodon.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/playbooks/mastodon.yml b/playbooks/mastodon.yml
new file mode 100644
index 0000000..8c7b381
--- /dev/null
+++ b/playbooks/mastodon.yml
@@ -0,0 +1,17 @@
+- 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