Alex Schultz f8f74e11ce Add ansible hieradata file
Currently there isn't a good way to pass dynamic information from
ansible to puppet to end up in the configuration. This change adds an
ansible_managed hierafile that can be updated via ansible to pass
dynamic variables into a future puppet execution.

An example playbook would be:

  - name: Set my data
    set_fact:
      my_data: foo
  - name: Add my_data to hieradata
    include_role:
      name: tripleo_hieradata
      tasks_from: ansible_hierdata.yml
    vars:
      hieradata_ansible_data:
        my_magical_var: "{{ my_data }}"

The puppet code that would be executed later would just be:

  class myclass(
    $my_data = lookup('my_magical_var', 'bar')
  ) {
    file { '/var/tmp/data':
      ensure  = present,
      content = $my_data
    }
  }

Change-Id: I52ba520dbdd97b25cb093f7e09609e6e1797e3a1
2020-04-24 13:01:35 -06:00
2019-07-08 14:18:00 +00:00
2019-04-19 19:33:52 +00:00
2019-06-19 12:52:07 -05:00
2020-03-19 19:31:20 +00:00
2019-11-12 15:06:58 +00:00
2020-03-19 19:31:20 +00:00
2019-09-29 10:08:38 +02:00
2020-03-13 10:57:49 +00:00
2019-10-28 21:43:35 +00:00
2020-04-02 07:56:20 -05:00
2018-07-17 16:36:40 -07:00
2020-03-19 16:50:59 -05:00

Team and repository tags

image

TripleO Ansible

TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.

Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/

The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/

The project home is at: https://launchpad.net/tripleo

The project bug tracker is located at: https://bugs.launchpad.net/tripleo

Description
RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
Readme 67 MiB