
Changes is needed because we can not make dependencies on PRs from other repositories such as zuul-airship-roles, this would allow more robust development in the stage we currently are in. When there will be less activity on gating roles will be moved back to separate repo. Change-Id: I85c9bdd47b5aaba90df5458b20c90ff5c912c05f
18 lines
375 B
YAML
18 lines
375 B
YAML
- name: "Remove network"
|
|
virt_net:
|
|
state: absent
|
|
name: "{{ libvirt_network.name }}"
|
|
|
|
- name: Create yaml for template
|
|
set_fact:
|
|
net_yaml: >-
|
|
{{
|
|
libvirt_network.spec
|
|
| combine({'name': libvirt_network.name}, recursive=True)
|
|
}}
|
|
|
|
- name: "create network"
|
|
include_tasks: "{{ network_action }}.yml"
|
|
vars:
|
|
network_action: create
|