Top "Yaml" questions

Use this tag for questions about the YAML data serialization format only, not for questions about programs (or examples) that happen to have their configuration in a YAML format.

Correct MySQL configuration for Ruby on Rails Database.yml file

I have this configuration: development: adapter: mysql2 encoding: utf8 database: my_db_name username: root password: my_password host: mysql://127.0.0.1:3306 …

mysql ruby-on-rails ruby yaml
Use YAML with variables

Are variables within YAML files possible? For example: theme: name: default css_path: compiled/themes/$theme.name layout_path: themes/$…

ruby-on-rails ruby variables yaml string-interpolation
how to reference a YAML "setting" from elsewhere in the same YAML file?

I have the following YAML: paths: patha: /path/to/root/a pathb: /path/to/root/b pathc: /path/to/root/…

syntax yaml template-engine transclusion
Parsing a YAML file in Python, and accessing the data?

I am new to YAML and have been searching for ways to parse a YAML file and use/access the …

python xml parsing yaml
Mapping list in Yaml to list of objects in Spring Boot

In my Spring Boot app I have application.yaml configuration file with following content. I want to have it injected …

java spring spring-boot yaml
Use placeholders in yaml

Is there a way to use placeholders in yaml like this: foo: &FOO <<propname>>: type: …

yaml computed-properties indirection template-variables
Removing all empty elements from a hash / YAML?

How would I go about removing all empty elements (empty list items) from a nested Hash or YAML file?

ruby-on-rails ruby hash yaml
How to set multiple commands in one yaml file with Kubernetes?

In this official document, it can run command in a yaml config file: https://kubernetes.io/docs/tasks/configure-pod-container/ apiVersion: …

yaml kubernetes
Check if a list contains an item in Ansible

I'm trying to check if the version supplied is a valid supported version. I've set the list of acceptable versions …

yaml ansible
How to test that a registered variable is not empty?

How can I test that stderr is non empty:: - name: Check script shell: . {{ venv_name }}/bin/activate && …

ansible yaml