# create 2 libvirt domains (VM's) to mimic upstream CI's nodepool instances # This is used for tripleo CI reproducer capability --- - name: Destroy previous setup hosts: virthost gather_facts: true vars: - libvirt_nodepool: true roles: - libvirt/teardown/nodes become: true - name: Setup undercloud and baremetal vms and networks in libvirt hosts: virthost gather_facts: true vars: - libvirt_nodepool: true roles: - role: libvirt/setup/overcloud environment: SUPERMIN_KERNEL_VERSION: "{{ lookup('env', 'SUPERMIN_KERNEL_VERSION') }}" SUPERMIN_KERNEL: "{{ lookup('env', 'SUPERMIN_KERNEL') }}" SUPERMIN_MODULES: "{{ lookup('env', 'SUPERMIN_MODULES') }}" LIBGUESTFS_BACKEND: "{{ lookup('env', 'LIBGUESTFS_BACKEND') }}" LIBGUESTFS_BACKEND_SETTINGS: "{{ lookup('env', 'LIBGUESTFS_BACKEND_SETTINGS') }}" become: true - name: Add nodes to the generated inventory hosts: localhost gather_facts: true roles: - tripleo-inventory