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 # local ansible configuration
ansible/inventory ansible/inventory
ansible/inventory_dev
ansible/passwords/ ansible/passwords/
# docker build files # docker build files

View file

@ -23,6 +23,7 @@
tasks: tasks:
- name: install dependencies - name: install dependencies
apt: apt:
update_cache: yes
pkg: pkg:
- 'nginx' - 'nginx'
- 'docker-compose' - 'docker-compose'
@ -77,9 +78,8 @@
lemmy_docker_ui_image: "dessalines/lemmy-ui:{{ lookup('file', 'VERSION') }}" lemmy_docker_ui_image: "dessalines/lemmy-ui:{{ lookup('file', 'VERSION') }}"
lemmy_port: "8536" lemmy_port: "8536"
lemmy_ui_port: "1235" 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: template:
src: 'templates/config.hjson' src: 'templates/config.hjson'
dest: '{{lemmy_base_dir}}/lemmy.hjson' dest: '{{lemmy_base_dir}}/lemmy.hjson'