mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
- Discourse: fixed 'DISCOURSE_CONTAINERS_DIR' and 'DISCOURSE_APPLICATION_YML_DEST' - Nextcloud: improved plugin enable/configure tasks formatting - WordPress: unified OIDC, msmtp, and upload.ini variables and tasks - General: aligned spacing and switched to path_join for consistency
14 lines
752 B
YAML
14 lines
752 B
YAML
- name: "Run WordPress core install via WP CLI"
|
|
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
|
|
command: >
|
|
docker exec -u {{ WORDPRESS_USER }} {{ WORDPRESS_CONTAINER }}
|
|
wp core install
|
|
--url="{{ WORDPRESS_URL }}"
|
|
--title="{{ applications | get_app_conf(application_id, 'title', True) }}"
|
|
--admin_user="{{ applications | get_app_conf(application_id, 'users.administrator.username') }}"
|
|
--admin_password="{{ applications | get_app_conf(application_id, 'credentials.administrator_password', True) }}"
|
|
--admin_email="{{ applications | get_app_conf(application_id, 'users.administrator.email', True) }}"
|
|
--path="{{ WORDPRESS_DOCKER_HTML_PATH }}"
|
|
args:
|
|
chdir: "{{ docker_compose.directories.instance }}"
|