Skip to content

Commit 47549d7

Browse files
committed
lint: Fix os_networks issues
1 parent fc6af80 commit 47549d7

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

roles/os_networks/defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ os_networks_interface:
3737
# - 'name: Name of the neutron subnet.
3838
# - 'cidr': CIDR representation of the neutron subnet's IP network.
3939
# - 'dns_nameservers': A list of DNS nameservers for the subnet.
40-
# - 'extra_specs': Optional Dictionary with extra key/value pairs
40+
# - 'extra_specs': Optional Dictionary with extra key/value pairs
4141
# passed to the API.
4242
# - 'gateway_ip': IP address of the neutron subnet's gateway.
4343
# - 'no_gateway_ip': Optional boolean, whether to omit a gateway IP. If
@@ -46,7 +46,7 @@ os_networks_interface:
4646
# - 'allocation_pool_start': Start of the neutron subnet's IP allocation
4747
# pool.
4848
# - 'allocation_pool_end': End of the neutron subnet's IP allocation pool.
49-
# - 'host_routes': list of dicts of destination and nexthop for classless
49+
# - 'host_routes': list of dicts of destination and nexthop for classless
5050
# static routes to supply to hosts connected to this subnet.
5151
# - 'ip_version': Optional IP version for the subnet.
5252
# - 'ipv6_address_mode': Optional IPv6 address mode for the subnet.
@@ -64,7 +64,7 @@ os_networks: [] # noqa var-naming[no-role-prefix]
6464
# internal interface.
6565
# - 'network': Unique name or ID of the external gateway network.
6666
# - `external_fixed_ips`: Optional list of IP address parameters for the
67-
# external gateway network. Each is a dictionary with the subnet name or
67+
# external gateway network. Each is a dictionary with the subnet name or
6868
# subnet ID and the IP address to assign on the subnet.
6969
# - 'project': Optional project in which to register the router.
7070
# - 'state': Optional state of the router, default is 'present'.

roles/os_networks/meta/main.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
---
2-
galaxy_info:
3-
#role_name: os_networks
4-
author: Mark Goddard
5-
description: >
6-
Role to register networks, subnets and routers in OpenStack
7-
company: StackHPC Ltd
8-
license: Apache2
9-
min_ansible_version: "2.5"
10-
platforms:
11-
- name: EL
12-
versions:
13-
- 7
14-
galaxy_tags:
15-
- cloud
16-
- keystone
17-
- openstack
18-
192
dependencies:
20-
- role: stackhpc.os_openstacksdk
3+
- role: stackhpc.openstack.os_openstacksdk
214
os_openstacksdk_venv: "{{ os_networks_venv }}"
225
os_openstacksdk_upper_constraints_file: "{{ os_networks_upper_constraints_file | default(None) }}"

roles/os_networks/tests/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
- hosts: all
2+
- name: Test os_networks
3+
hosts: all
34
connection: local
45
roles:
5-
- stackhpc.os-networks
6+
- stackhpc.openstack.os_networks

0 commit comments

Comments
 (0)