tripleo-ansible/tripleo_ansible/roles
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
..
aide Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
backup_and_restore Switch install-docker with ensure-docker 2020-04-16 08:02:40 +00:00
login_defs Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_common Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_controller_config Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_controller_post_config Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_overcloud_config Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_undercloud Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
test_deps Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
test_package_action Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_bootstrap Create Symlink /usr/bin/ansible-playbook-3 when not exist 2020-04-17 21:50:57 +05:30
tripleo_cellv2 Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_ceph_common Merge "Add ceph config overrides support" 2020-04-10 13:25:01 +00:00
tripleo_ceph_run_ansible Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_ceph_uuid Make ceph-ansible run handle missing "{{ playbook_dir }}/ssh_key" 2020-03-24 20:13:36 +00:00
tripleo_ceph_work_dir Merge "Add ceph config overrides support" 2020-04-10 13:25:01 +00:00
tripleo_clients_install (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_config (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_container_image_prepare (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_container_manage tripleo_container_manage: remove systemd healthchecks 2020-04-22 23:45:27 -04:00
tripleo_container_rm tripleo_container_rm: use loop instead of with_items 2020-04-21 03:09:21 +00:00
tripleo_container_stop Switch install-docker with ensure-docker 2020-04-16 08:02:40 +00:00
tripleo_container_tag Switch install-docker with ensure-docker 2020-04-16 08:02:40 +00:00
tripleo_create_admin (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_firewall (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_hieradata Add ansible hieradata file 2020-04-24 13:01:35 -06:00
tripleo_hosts_entries (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_image_serve (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_kernel (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_keystone_resources Merge "Correctly set openstack_domains for ansible >= 2.9" 2020-04-16 21:28:52 +00:00
tripleo_module_load (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_nova_image_cache Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_nvdimm Add new role to manage persistent memory devices 2020-04-20 18:25:25 +02:00
tripleo_ovs_dpdk 'tripleo_ovs_dpdk_lcore_list' should be optional 2020-04-01 14:31:29 +02:00
tripleo_packages Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_persist Rename playbook.yml to converge.yml 2020-03-16 14:09:42 +00:00
tripleo_podman Merge "Add support for v2 registries.conf" 2020-04-16 20:11:07 +00:00
tripleo_ptp Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_puppet_cache (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_securetty Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_ssh_known_hosts (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_sshd (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_systemd_wrapper (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_timezone (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_transfer Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_upgrade_hiera Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tripleo_validations_package Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
tuned Fix condition tuned profile. 2020-03-24 12:28:33 +01:00