Set DNS for jobs dynamically in OVB

Change-Id: Ib4013493a0bb1e55edac5a2bb3850da5aa935d64
This commit is contained in:
Sagi Shnaidman 2019-02-12 23:15:06 +02:00
parent a3581d4ad0
commit bf4422956c
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,16 @@
- network_isolation|bool
- use_testenv_broker|default(false)|bool
- name: Set DNS servers for OVB clouds - undercloud
set_fact:
undercloud_undercloud_nameservers: "{{ custom_nameserver }}"
cacheable: true
- name: Set DNS servers for OVB clouds - overcloud
set_fact:
overcloud_dns_servers: "{{ custom_nameserver }}"
cacheable: true
- name: Inventory the undercloud instance
hosts: localhost
gather_facts: true