Skip to content
ohsudo, Home

Tags

#yaml

mapping values are not allowed
CI/CD

YAML "mapping values are not allowed in this context": a colon, or an indent, in the wrong place

Fix YAML "mapping values are not allowed in this context" in Docker Compose, Kubernetes or Ansible: quote values containing a colon and space, and fix the indentation.

Beginner · 3 min read