mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 14:21:19 +00:00
Fixing ansible for ubuntu 20.04 (#1218)
* Fixing ansible for ubuntu 20.04 * Changing federation to false.
This commit is contained in:
parent
a62c96f85e
commit
2527c59e55
2 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -21,4 +21,16 @@
|
|||
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: ""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue