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.

29 lines
828 B
YAML

---
allow_duplicates: yes
dependencies:
- role: misc/system_user
# system_user
# user_directory
user_directory_group: "{{ global_nginx_system_user }}"
- role: mysql/database
# database_user
- role: git_auto_update
# repo
dest: "{{ installation_directory }}"
owner: "{{ system_user }}"
group: "{{ global_nginx_system_user }}"
mode: "u=rwx,g=rx,o="
repo_name: "{{ domain }}"
reload_command: "systemctl restart {{ phpfpm_package }}"
- role: nginx/php
# domain
# system_user
src: "{{ webroot_directory }}"
includes: "{{ installation_includes | map('regex_replace', '^', installation_directory + '/') | list }}"
env_vars:
DATABASE_USERNAME: "{{ database_user }}"
DATABASE_PASSWORD: "{{ database_pass }}"
DATABASE_NAME: "{{ database_name }}"