You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
5 years ago
|
---
|
||
|
|
||
|
- import_tasks: ../includes/webapps_set_install_mode.yml
|
||
|
vars:
|
||
|
root_dir: "{{ etherpad_root_dir }}"
|
||
|
version: "{{ etherpad_version }}"
|
||
|
tags: etherpad
|
||
|
- set_fact: etherpad_install_mode={{ install_mode }}
|
||
|
tags: etherpad
|
||
|
|
||
|
- import_tasks: ../includes/get_rand_pass.yml
|
||
|
vars:
|
||
|
- pass_file: "{{etherpad_root_dir }}/meta/ansible_dbpass"
|
||
|
when: etherpad_db_pass is not defined
|
||
|
tags: etherpad
|
||
|
- set_fact: etherpad_db_pass={{ rand_pass }}
|
||
|
when: etherpad_db_pass is not defined
|
||
|
tags: etherpad
|
||
|
|
||
|
- import_tasks: ../includes/get_rand_pass.yml
|
||
|
vars:
|
||
|
- pass_file: "{{etherpad_root_dir }}/meta/ansible_session_key"
|
||
|
tags: etherpad
|
||
|
- set_fact: etherpad_session_key={{ rand_pass }}
|
||
|
tags: etherpad
|
||
|
|
||
|
- import_tasks: ../includes/get_rand_pass.yml
|
||
|
vars:
|
||
|
- pass_file: "{{etherpad_root_dir }}/meta/ansible_api_key"
|
||
|
when: etherpad_api_key is not defined
|
||
|
tags: etherpad
|
||
|
- set_fact: etherpad_api_key={{ rand_pass }}
|
||
|
when: etherpad_api_key is not defined
|
||
|
tags: etherpad
|
||
|
|
||
|
- import_tasks: ../includes/get_rand_pass.yml
|
||
|
vars:
|
||
|
- pass_file: "{{etherpad_root_dir }}/meta/ansible_admin_pass"
|
||
|
when: etherpad_admin_pass is not defined
|
||
|
tags: etherpad
|
||
|
- set_fact: etherpad_admin_pass={{ rand_pass }}
|
||
|
when: etherpad_admin_pass is not defined
|
||
|
tags: etherpad
|
||
|
|