fix: correct YAML indentation for tasks sections

- Add missing 2-space indentation before 'tasks:' keyword
- Fixes Ansible YAML parsing errors
This commit is contained in:
Sebastian Palencsar
2026-05-06 13:43:49 +02:00
parent 58ffb82378
commit 168c59f3ea
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@
# These variables come from inventory/production.yml # These variables come from inventory/production.yml
# wp_admin_user, wp_admin_password, wp_admin_email, wp_site_title # wp_admin_user, wp_admin_password, wp_admin_email, wp_site_title
tasks: tasks:
# IMPORTANT: Pre-flight checks - create basic directory structure FIRST # IMPORTANT: Pre-flight checks - create basic directory structure FIRST
- name: Ensure /var/www exists - name: Ensure /var/www exists
file: file:

View File

@@ -1,6 +1,6 @@
--- ---
# Ubuntu/Debian LEMP WordPress installation # Ubuntu/Debian LEMP WordPress installation
- name: Install LEMP stack with WordPress (Ubuntu/Debian) - name: "Install LEMP stack with WordPress (Ubuntu/Debian)"
hosts: all hosts: all
become: yes become: yes
@@ -83,7 +83,7 @@
# Auto-Update Configuration # Auto-Update Configuration
update_cron_enabled: true update_cron_enabled: true
tasks: tasks:
# IMPORTANT: Pre-flight checks - create basic directory structure FIRST # IMPORTANT: Pre-flight checks - create basic directory structure FIRST
- name: Ensure /var/www exists - name: Ensure /var/www exists
file: file: