Some small fixes to privatebin.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-02-13 10:35:45 +01:00
parent 6a47214cd6
commit 3def4b490b
2 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@
- gitea - gitea
- postfix - postfix
- matrix_riot - matrix_riot
- pastebin - privatebin
smtp_host: postfix smtp_host: postfix
smtp_port: 587 smtp_port: 587

View File

@ -2,11 +2,13 @@
- name: create privatebin volume folders - name: create privatebin volume folders
file: file:
name: "{{ privatebin.volume_folder }}/{{ item }}" name: "{{ privatebin.volume_folder }}/{{ volume }}"
state: directory state: directory
with_items: loop:
- cfg - cfg
- data - data
loop_control:
loop_var: volume
- name: upload privatebin config - name: upload privatebin config
template: template: