mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-05 09:51:37 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
12
roles/web-app-wordpress/tasks/install.yml
Normal file
12
roles/web-app-wordpress/tasks/install.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- 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[application_id].title }}"
|
||||
--admin_user="{{ applications[application_id].users.administrator.username }}"
|
||||
--admin_password="{{ applications[application_id].credentials.administrator_password }}"
|
||||
--admin_email="{{ applications[application_id].users.administrator.email }}"
|
||||
--path="{{ wordpress_docker_html_path }}"
|
||||
args:
|
||||
chdir: "{{ docker_compose.directories.instance }}"
|
Reference in New Issue
Block a user