diff options
author | Dessalines <tyhou13@gmx.com> | 2019-12-28 16:06:37 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-12-28 16:11:03 -0500 |
commit | 786be3fa668903b92ac280691c4e4e50470ad74c (patch) | |
tree | 3914b0ce49f4657db50051560739bcc8126da39e /ansible/lemmy.yml | |
parent | a3065ed39f871e251d2e3762219c78859cb51f06 (diff) |
Config fixes.
- Adding front_end_dir to settings.
- Adding unit test for PasswordResetRequest encryption.
- Readme points to lemmy.hjson
- Fixing docker prod, dev, and ansible builds.
- Removing redundant env files, as all config is now in a single file.
- Some formatting fixes.
Diffstat (limited to 'ansible/lemmy.yml')
-rw-r--r-- | ansible/lemmy.yml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ansible/lemmy.yml b/ansible/lemmy.yml index acdb6b06..7243afdd 100644 --- a/ansible/lemmy.yml +++ b/ansible/lemmy.yml @@ -32,22 +32,13 @@ - name: add all template files template: src={{item.src}} dest={{item.dest}} with_items: - - { src: 'templates/env', dest: '/lemmy/.env' } - - { src: 'templates/config.hjson', dest: '/lemmy/config.hjson' } + - { src: '../docker/lemmy.hjson', dest: '/lemmy/lemmy.hjson' } - { src: '../docker/prod/docker-compose.yml', dest: '/lemmy/docker-compose.yml' } - { src: 'templates/nginx.conf', dest: '/etc/nginx/sites-enabled/lemmy.conf' } vars: postgres_password: "{{ lookup('password', 'passwords/{{ inventory_hostname }}/postgres chars=ascii_letters,digits') }}" jwt_password: "{{ lookup('password', 'passwords/{{ inventory_hostname }}/jwt chars=ascii_letters,digits') }}" - - name: set env file permissions - file: - path: "/lemmy/.env" - state: touch - mode: 0600 - access_time: preserve - modification_time: preserve - - name: enable and start docker service systemd: name: docker |