Escaping colons in YAML
To answer a comment another way for list items like:
- sed -i "s/driver: .*/driver: pdo_$DB/" etc/config.yaml
is to write them as:
- >-
sed -i "s/driver: .*/driver: pdo_$DB/" etc/config.yaml
or as:
- 'sed -i "s/driver: .*/driver: pdo_$DB/" etc/config.yaml'
You'll need to put quotes around the key you're having trouble with. I.e.:
"8.11.32.120:8000": GoogleMapsKeyforThisDomain