Home OpenStack-Ansible Installation Guide

Checking the integrity of your configuration files

Here are a few steps to execute before running any playbook:

  1. Make sure all the files edited in /etc/ are ansible YAML compliant. Guidelines can be found here: http://docs.ansible.com/ansible/YAMLSyntax.html

  2. Check the integrity of your yaml files using a yaml linter.

    Note

    Here is an online linter: http://www.yamllint.com/

  3. Run your command with syntax-check, for example, in the playbooks directory:

    # openstack-ansible setup-infrastructure.yml --syntax-check
    
  4. Recheck that all indentation seems correct: the syntax of the configuration files can be correct while not being meaningful for openstack-ansible.


Previous topic

Securing services with SSL certificates

Next topic

Configuring Identity Service federation (optional)

Project Source

This Page