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.
|
---
|
|
- hosts: biff
|
|
roles:
|
|
- role: lxc_guest
|
|
vm_name: seafile
|
|
vm_size: 30G
|
|
distro: stretch
|
|
- hosts: seafile
|
|
tasks:
|
|
- name: generate random password for seafile mysql user
|
|
gen_passwd: length=16
|
|
register: random_seafile_db_pass
|
|
- debug:
|
|
var: random_seafile_db_pass.passwd
|
|
vars:
|
|
seafile_db_pass: "{{ random_seafile_db_pass.passwd }}"
|
|
|
|
- hosts: seafile
|
|
vars_files:
|
|
- group_vars/seafile.yaml
|
|
roles:
|
|
- role: nginx
|
|
- role: seafile.mysql
|
|
- role: seafile
|