mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-07-25 17:24:28 +00:00
Porting of job that was running on patches in Ansible. Change-Id: Ifa5a6b40d6a0f1de9f2cbc917a55c2d0e8ac421d
15 lines
342 B
YAML
15 lines
342 B
YAML
---
|
|
- name: Create network
|
|
openstack.cloud.os_network:
|
|
cloud: "{{ cloud }}"
|
|
name: "{{ network_name }}"
|
|
state: present
|
|
shared: "{{ network_shared }}"
|
|
external: "{{ network_external }}"
|
|
|
|
- name: Delete network
|
|
openstack.cloud.os_network:
|
|
cloud: "{{ cloud }}"
|
|
name: "{{ network_name }}"
|
|
state: absent
|