Browse Source

Merge "Write hosts entries per environment" into stable/ussuri

changes/22/789722/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
2b1b9c095f
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml
  2. +3
    -0
      tripleo_ansible/roles/tripleo_hosts_entries/tasks/main.yml

+ 2
- 0
tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml View File

@ -42,6 +42,8 @@ provisioner:
tripleo_hosts_entries_undercloud_hosts_entries: []
tripleo_hosts_entries_extra_hosts_entries: []
tripleo_hosts_entries_vip_hosts_entries: []
tripleo_stack_name: overcloud
plan: overcloud
cloud_domain: localdomain
enabled_networks:
- ctlplane


+ 3
- 0
tripleo_ansible/roles/tripleo_hosts_entries/tasks/main.yml View File

@ -85,6 +85,9 @@
tripleo_hosts_entries_extra_hosts_entries | default([]) %}
{{ host }}
{% endfor %}
marker: "# {mark}"
marker_begin: "START_HOST_ENTRIES_FOR_STACK: {{ tripleo_stack_name | default(plan) }}"
marker_end: "END_HOST_ENTRIES_FOR_STACK: {{ tripleo_stack_name | default(plan) }}"
register: tripleo_hosts_entries_new_entries
tags:
- tripleo_hosts_entries


Loading…
Cancel
Save