]> Untitled Git - lemmy.git/commitdiff
Fixing ansible for ubuntu 20.04 (#1218)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 22 Oct 2020 14:32:56 +0000 (10:32 -0400)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 14:32:56 +0000 (14:32 +0000)
* Fixing ansible for ubuntu 20.04

* Changing federation to false.

ansible/lemmy.yml
ansible/templates/config.hjson

index 28179ba418034d8f6cc8e8ff3585dafe364081b5..be4cea6242f4d80444226e4001caba6fc6b25608 100644 (file)
@@ -12,7 +12,7 @@
 
     - name: install python for Ansible
       # python2-minimal instead of python-minimal for ubuntu 20.04 and up
-      raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal python-setuptools)
+      raw: test -e /usr/bin/python || (apt -y update && apt install -y python3-minimal python3-setuptools)
       args:
         executable: /bin/bash
       register: output
index ac4d76d2137bca5bf7727ac64c7aa25b40553b1c..2e60ffc242e58dcd0d4ca04d6568ecaee43c1ccf 100644 (file)
     smtp_from_address: "noreply@{{ domain }}"
     use_tls: false
   }
+  # settings related to activitypub federation
+  federation: {
+    # whether to enable activitypub federation. 
+    enabled: false
+    # Allows and blocks are described here:
+    # https://dev.lemmy.ml/docs/administration_federation.html#instance-allowlist-and-blocklist
+    #
+    # comma separated list of instances with which federation is allowed
+    # allowed_instances: ""
+    # comma separated list of instances which are blocked from federating
+    # blocked_instances: ""
+  }
 }