open-cmmc-stack/ansible/roles/preflight
Mike Kell 0c5bb81ba8 updated preflight and deployment checks 2025-04-21 18:19:40 +00:00
..
defaults updated initialization steps - added ansible role audit 2025-04-21 17:07:56 +00:00
meta updated initialization steps - added ansible role audit 2025-04-21 17:07:56 +00:00
tasks updated preflight and deployment checks 2025-04-21 18:19:40 +00:00
templates updated preflight and deployment checks 2025-04-21 18:19:40 +00:00
README.md updated initialization steps - added ansible role audit 2025-04-21 17:07:56 +00:00

README.md

🛫 Preflight Role

This Ansible role performs pre-deployment checks to ensure that all required configuration values and infrastructure prerequisites are present and valid before continuing with the OpenCMMC Stack deployment.

Features

  • Validates required variables are defined
  • Ensures SSH public key format is correct
  • Checks email formatting using regex
  • Verifies DNS resolution for target domain
  • Logs all validation steps to the evidence/99_preflight/ directory

📂 Evidence Artifacts

Validation checks are written to:

evidence/
└── 99_preflight/
    └── validation_checks.md

🔍 Tags

Use with:

ansible-playbook site.yml --tags preflight

🔧 Variables Checked

  • default_user
  • ssh_authorized_key
  • domain_name
  • hostname
  • mailcow_admin_user
  • mailcow_admin_password
  • mailcow_fqdn
  • mailcow_letsencrypt_email