--- allow_duplicates: yes dependencies: - role: misc/system_user # system_user # user_directory user_directory_group: "{{ nginx_system_user }}" - role: mysql/database # database_user - role: git_auto_update # repo dest: "{{ installation_directory }}" owner: "{{ system_user }}" group: "{{ 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 }}"