22 lines
569 B
YAML
22 lines
569 B
YAML
|
- name: Generate JWT Secret
|
||
|
command: openssl rand -hex 32
|
||
|
register: paulgo_jwt_secret_result
|
||
|
|
||
|
- set_fact:
|
||
|
paulgo_jwt_secret: "{{ paulgo_jwt_secret_result.stdout }}"
|
||
|
|
||
|
- name: Set up paulgo conf
|
||
|
template:
|
||
|
src: "conf/settings.yml.j2"
|
||
|
dest: "{{ docker_dir }}/paulgo/settings.yml"
|
||
|
owner: 1000
|
||
|
group: 1000
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Copy donate.md
|
||
|
copy:
|
||
|
src: "paulgo/donate.md"
|
||
|
dest: "{{ docker_dir }}/paulgo/donate.md"
|
||
|
owner: 1000
|
||
|
group: 1000
|
||
|
mode: 0755
|