forked from data.coop/ansible
Some small fixes to privatebin.
This commit is contained in:
parent
6a47214cd6
commit
3def4b490b
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue