tripleo-common/roles/tripleo-hieradata
2019-08-12 21:18:45 +00:00
..
defaults Add vip_data template to tripleo-hieradata 2019-06-26 14:48:54 -04:00
tasks Remove hieradata ansible tasks for datafiles 2019-08-08 07:56:22 +05:30
templates Merge "Add extraconfig/role_extraconfig template to hieradata" 2019-08-08 12:18:47 +00:00
README.md tripleo-hieradata: add hieradata_files param 2019-06-20 20:16:35 +00:00
test-playbook.yaml Add template mode to tripleo-hieradata 2019-06-24 18:04:26 -04:00

tripleo-hieradata

An Ansible role to hieradata files.

Role variables

Required:

  • hieradata_template -- path to template of hieradata content
  • hieradata_variable_start_string -- string marking the beginning of a template print statement.
  • hieradata_variable_end_string -- string marking the end of a template print statement.
  • hieradata_per_host -- whether or not we configure hieradata per host.
  • hieradata_files -- List of hieradata files (Order matters for Hierarchy).

Test playbook

Assuming you have tripleo-inventory.yml generated, you can run the test playbook like:

ANSIBLE_ROLES_PATH=tripleo-common/roles \
ANSIBLE_HOST_KEY_CHECKING=False \
ansible-playbook \
    -i tripleo-inventory.yml \
    tripleo-common/roles/tripleo-hieradata/test-playbook.yml

License

Free software: Apache License (2.0)

Author Information

OpenStack TripleO team