mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
21
roles/wordpress/tasks/conf.yml
Normal file
21
roles/wordpress/tasks/conf.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
|
||||
- import_tasks: ../includes/webapps_webconf.yml
|
||||
vars:
|
||||
- app_id: wordpress_{{ wp_id }}
|
||||
- php_version: "{{ wp_php_version }}"
|
||||
- php_fpm_pool: "{{ wp_php_fpm_pool | default('') }}"
|
||||
tags: wp
|
||||
|
||||
- import_tasks: ../includes/webapps_create_mysql_db.yml
|
||||
vars:
|
||||
- db_name: "{{ wp_db_name }}"
|
||||
- db_user: "{{ wp_db_user }}"
|
||||
- db_server: "{{ wp_db_server }}"
|
||||
- db_pass: "{{ wp_db_pass }}"
|
||||
tags: wp
|
||||
|
||||
- name: Deploy wp configuration
|
||||
template: src=wp-config.php.j2 dest={{ wp_root_dir }}/web/wp-config.php owner={{ wp_php_user }} group={{ wp_php_user }} mode=660
|
||||
tags: wp
|
||||
|
Reference in New Issue
Block a user