mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The structure lint requires files sharing a name prefix to live in a directory of that name. tasks/utils/install_plugin.yml and tasks/utils/install_mu_plugin.yml violated that from the moment they landed in 4d9bf6da3; move both into tasks/utils/install/ and repoint the three includes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
525 B
YAML
16 lines
525 B
YAML
---
|
|
- name: "✅ Ensure mu-plugins directory exists inside the container"
|
|
shell: >
|
|
container exec -u {{ WORDPRESS_USER }} {{ WORDPRESS_CONTAINER_ADDRESS }}
|
|
mkdir -p {{ WORDPRESS_MU_PLUGINS_DIR }}
|
|
changed_when: false
|
|
|
|
- name: "🔁 Iterate through declared WordPress mu-plugins"
|
|
include_tasks: utils/install/mu_plugin.yml
|
|
loop: "{{ WORDPRESS_MU_PLUGINS }}"
|
|
loop_control:
|
|
loop_var: wordpress_mu_plugin
|
|
label: "{{ wordpress_mu_plugin.key }}"
|
|
vars:
|
|
mu_plugin_name: "{{ wordpress_mu_plugin.key }}"
|