mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
13 lines
727 B
YAML
13 lines
727 B
YAML
- name: "Run WordPress core install via WP CLI"
|
|
command: >
|
|
docker-compose exec -T -u www-data application
|
|
wp core install
|
|
--url="{{ domains | get_url(application_id, web_protocol) }}"
|
|
--title="{{ applications | get_app_conf(application_id, 'title', True) }}"
|
|
--admin_user="{{ applications | get_app_conf(application_id, 'users.administrator.username', True) }}"
|
|
--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 }}"
|