17 lines
349 B
YAML
17 lines
349 B
YAML
|
# vim: ft=yaml.ansible
|
||
|
---
|
||
|
- name: Create subfolders
|
||
|
file:
|
||
|
name: "{{ services.privatebin.volume_folder }}/{{ volume }}"
|
||
|
state: directory
|
||
|
loop:
|
||
|
- cfg
|
||
|
- data
|
||
|
loop_control:
|
||
|
loop_var: volume
|
||
|
|
||
|
- name: Upload PrivateBin config
|
||
|
copy:
|
||
|
src: privatebin/conf.php
|
||
|
dest: "{{ services.privatebin.volume_folder }}/cfg/conf.php"
|