add root to run wordpress

This commit is contained in:
Aurelien Rebourg 2023-05-23 04:06:56 +02:00
parent 66c848525f
commit 46be9a95ea
Signed by: Aurelien
GPG Key ID: F02826677ABB98C1
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- name: Import Wordpress
remote_user: ansible
become: true
ansible.builtin.import_tasks: wordpress.yml

View File

@ -3,7 +3,7 @@
define('DB_USER', '{{ mysql_user_name }}');
define('DB_PASSWORD', '{{ mysql_user_pass }}');
define('DB_HOST', 'localhost');
define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
define('WP_CONTENT_DIR', '/var/www/html/wordpress/wp-content');
define('WP_HOME', 'https://192.168.3.2/blog/');
define('WP_SITEURL', 'https://192.168.3.2/blog/');
?>