fix: resolve all YAML linting errors in playbooks and inventories

- Fix line length violations by using YAML folded strings (>-)
- Remove trailing whitespace from all files
- Add missing document start markers (---) to inventory files
- Improve readability of long Jinja2 template expressions
- Maintain YAML linting compliance for production-ready code

All files now pass yamllint validation successfully.
This commit is contained in:
Sebastian Palencsár
2025-06-21 00:30:13 +02:00
parent b339ed1e43
commit 2045307d1d
4 changed files with 34 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
# Production Server Configuration
# SECURITY: Change all passwords before deployment!
---
wordpress_servers:
hosts:
your-server.example.com:
@@ -9,23 +9,23 @@ wordpress_servers:
# ansible_ssh_pass: "your_password" # Use SSH keys instead!
# ansible_become_pass: "your_sudo_password" # Use passwordless sudo instead!
domain_name: example.com
# SSL Configuration
ssl_enabled: false # Set to true for HTTPS with Let's Encrypt
ssl_email: admin@example.com # Required if ssl_enabled=true
# WordPress Database (CHANGE THESE!)
mysql_root_password: "CHANGE_ME_ROOT_PASSWORD"
wordpress_db_name: "wordpress"
wordpress_db_user: "wp_user"
wordpress_db_password: "CHANGE_ME_WP_PASSWORD"
# WordPress Admin (CHANGE THESE!)
wp_admin_user: "admin"
wp_admin_password: "CHANGE_ME_ADMIN_PASSWORD"
wp_admin_email: "admin@example.com"
wp_site_title: "My WordPress Site"
# Ultimate Performance Features (for lemp-wordpress-ultimate.yml)
enable_redis: false # Redis object caching
enable_opcache: false # PHP OPcache optimization