mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +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>
15 lines
475 B
YAML
15 lines
475 B
YAML
---
|
|
- name: "🔎 Check if plugin has a dedicated install task under '{{ plugin_task_path }}'"
|
|
stat:
|
|
path: "{{ plugin_task_path }}"
|
|
register: plugin_task_file
|
|
delegate_to: localhost
|
|
become: false
|
|
|
|
- name: "📂 Include plugin-specific install task if it exists"
|
|
include_tasks: "{{ plugin_task_path }}"
|
|
when: plugin_task_file.stat.exists
|
|
|
|
- name: "📦 Ensure WordPress plugin is installed and active"
|
|
ansible.builtin.include_tasks: utils/install/plugin.yml
|