Linter and CI tasks fixes

Change-Id: I0bcd30fc21de7838094b992cecc3a0e850c4da3a
This commit is contained in:
Sagi Shnaidman
2024-12-17 14:55:59 +02:00
parent e4be201f20
commit f448ac258d
14 changed files with 20 additions and 67 deletions

View File

@@ -108,30 +108,6 @@
state: absent
name: "{{ secgroup_name }}"
- name: Test port binding config (runs from train release sdk > 0.28)
block:
- name: Create port (with binding profile)
openstack.cloud.port:
cloud: "{{ cloud }}"
state: present
name: "{{ port_name }}"
network: "{{ network_name }}"
binding_profile: "{{ binding_profile }}"
register: port
- name: Assert binding:profile exists in created port
assert:
that: "port.port['binding_profile']"
- debug: var=port
- name: Delete port (with binding profile)
openstack.cloud.port:
cloud: "{{ cloud }}"
state: absent
name: "{{ port_name }}"
when: sdk_version is version(0.28, '>')
- name: Delete subnet
openstack.cloud.subnet:
cloud: "{{ cloud }}"