You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
|
|
|
|
allow_duplicates: yes
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- role: misc/handlers
|
|
|
|
- role: misc/system_user
|
|
|
|
# system_user
|
|
|
|
# user_directory
|
|
|
|
user_directory_group: "{{ global_nginx_system_user }}"
|
|
|
|
- role: git_auto_update
|
|
|
|
# repo
|
|
|
|
repo_name: "{{ domain }}"
|
|
|
|
dest: "{{ installation_directory }}"
|
|
|
|
owner: "{{ system_user }}"
|
|
|
|
group: "{{ global_nginx_system_user }}"
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
reload_command: "true"
|
|
|
|
- role: mysql/database
|
|
|
|
# database_user
|
|
|
|
- role: nginx/php
|
|
|
|
# domain
|
|
|
|
# system_user
|
|
|
|
src: "{{ installation_directory }}"
|
|
|
|
includes:
|
|
|
|
- "{{ installation_directory }}/include"
|
|
|
|
env_vars:
|
|
|
|
DATABASE_USERNAME: "{{ database_user }}"
|
|
|
|
DATABASE_PASSWORD: "{{ database_pass }}"
|
|
|
|
DATABASE_NAME: "{{ database_name }}"
|