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.
 
 
 
 
 
 

31 lines
829 B

---
- name: Check if a python 2.7 venv aready exists
stat: path={{ synapse_root_dir }}/lib/python2.7
register: synapse_venv_27
tags: matrix
- 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