cleanup ansible playbook

This commit is contained in:
Felix Ableitner 2021-09-15 16:36:32 +02:00
parent 0bda4c905a
commit 2775f7fadd
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
# local ansible configuration
ansible/inventory
ansible/inventory_dev
ansible/passwords/
# docker build files

View file

@ -23,6 +23,7 @@
tasks:
- name: install dependencies
apt:
update_cache: yes
pkg:
- 'nginx'
- 'docker-compose'
@ -77,9 +78,8 @@
lemmy_docker_ui_image: "dessalines/lemmy-ui:{{ lookup('file', 'VERSION') }}"
lemmy_port: "8536"
lemmy_ui_port: "1235"
pictshare_port: "8537"
- name: add config file (only during initial setup)
- name: add minimal config file (only during initial setup)
template:
src: 'templates/config.hjson'
dest: '{{lemmy_base_dir}}/lemmy.hjson'