設定したデータベースをWordPressに登録する用のスクリプトを実行
MR
https://gitlab.com/karasu97/ansible-httpd/-/merge_requests/13
wp-config.php
の設定情報
DB_NAME
DB_USER
DB_PASSWORD
DB_HOST
AUTH_KEY
SECURE_AUTH_KEY
LOGGED_IN_KEY
NONCE_KEY
AUTH_SALT
SECURE_AUTH_SALT
LOGGED_IN_SALT
NONCE_SALT
php-fpm
,nginx
の再起動
wp-config.php
を/var/www/public_html/wordpress/
に配置後、下記コマンドを実施
$ systemctl restart nginx
$ systemctl restart php-fpm
Edited by Lucifer