Kostiantyn Kalynovskyi d7df2fb571 Moving roles from zuul-airship-roles.
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
2020-02-12 22:52:17 +00:00

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