From 7a5869ae2d872dcbdd36a4a09fe161eda4698cd1 Mon Sep 17 00:00:00 2001 From: Scott Davidson Date: Mon, 26 Feb 2024 17:26:14 +0000 Subject: [PATCH] Fix lints --- roles/os_networks/tasks/networks.yml | 4 ++-- roles/os_networks/tasks/router_workaround.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/os_networks/tasks/networks.yml b/roles/os_networks/tasks/networks.yml index ea352c4..5573eb3 100644 --- a/roles/os_networks/tasks/networks.yml +++ b/roles/os_networks/tasks/networks.yml @@ -80,13 +80,13 @@ # Workaround bug https://bugs.launchpad.net/ansible-collections-openstack/+bug/2049658 # by looking up external network information using networks_info and then explicitly -# passing the network ID into the openstack.cloud.router. Remove this workaround and +# passing the network ID into the openstack.cloud.router. Remove this workaround and # uncomment code above when bug is fixed. - name: Ensure router is registered with neutron # Can't loop over blocks in Ansible so have to # include separate tasks file instead :( - include_tasks: router_workaround.yml + ansible.builtin.include_tasks: router_workaround.yml with_items: "{{ os_networks_routers }}" when: item.state | default('present') == 'present' diff --git a/roles/os_networks/tasks/router_workaround.yml b/roles/os_networks/tasks/router_workaround.yml index 658d617..15bf3c1 100644 --- a/roles/os_networks/tasks/router_workaround.yml +++ b/roles/os_networks/tasks/router_workaround.yml @@ -3,7 +3,7 @@ # passing the network ID into the openstack.cloud.router's network field. # NOTE: When the item.network parameter is an ID then we are effectively querying a -# network by ID just to extract it's ID... but since the 'name' field of +# network by ID just to extract it's ID... but since the 'name' field of # openstack.cloud.networks_info makes no distinction between names and IDs we can't # really avoid this.