Ansible roles
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.

30 lines
810 B

---
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "{{ synapse_root_dir }}/meta/ansible_dbpass"
when: synapse_pg_db_pass is not defined
tags: matrix
- set_fact: synapse_pg_db_pass={{ rand_pass }}
when: synapse_pg_db_pass is not defined
tags: matrix
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "{{ synapse_root_dir }}/meta/ansible_macaroon_key"
tags: matrix
- set_fact: synapse_macaroon_key={{ rand_pass }}
tags: matrix
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "{{ synapse_root_dir }}/meta/ansible_form_secret"
tags: matrix
- set_fact: synapse_form_secret={{ rand_pass }}
tags: matrix
- name: Check if the old venv is present
stat: path={{ synapse_root_dir }}/lib
register: synapse_old_venv
tags: matrix