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:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user