diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-03-20 07:36:34 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-03-23 12:56:54 +0000 |
| commit | 307b3f6f74e5abed48ef1e613ec33fc69f5e2cc0 (patch) | |
| tree | aaa80df9bd44922bdca5ca13f86c2ea4977ce2d7 /ansible/roles/openvswitch | |
| parent | b5cce5d204517fde2768b5fbcdeb0012d9784cc2 (diff) | |
| download | kolla-ansible-307b3f6f74e5abed48ef1e613ec33fc69f5e2cc0.tar.gz kolla-ansible-307b3f6f74e5abed48ef1e613ec33fc69f5e2cc0.zip | |
ansible-lint: Fix fqcn[actions-core] for openvswitch/ovn
Change-Id: I6acedeb2b62b9b4223573c0a6b7684a4d1fea6d3
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'ansible/roles/openvswitch')
| -rw-r--r-- | ansible/roles/openvswitch/handlers/main.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/check-containers.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/check.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/config-host.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/config.yml | 6 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/deploy-containers.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/deploy.yml | 10 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/main.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/precheck.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/pull.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/reconfigure.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/stop.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/openvswitch/tasks/upgrade.yml | 10 |
13 files changed, 25 insertions, 25 deletions
diff --git a/ansible/roles/openvswitch/handlers/main.yml b/ansible/roles/openvswitch/handlers/main.yml index 653aed93d..a4fbd3f02 100644 --- a/ansible/roles/openvswitch/handlers/main.yml +++ b/ansible/roles/openvswitch/handlers/main.yml @@ -17,7 +17,7 @@ - name: Waiting for openvswitch_db service to be ready become: true - command: "{{ kolla_container_engine }} exec openvswitch_db ovs-vsctl --no-wait show" + ansible.builtin.command: "{{ kolla_container_engine }} exec openvswitch_db ovs-vsctl --no-wait show" register: check_result until: check_result is success changed_when: false diff --git a/ansible/roles/openvswitch/tasks/check-containers.yml b/ansible/roles/openvswitch/tasks/check-containers.yml index 025a54c2c..ca2939b26 100644 --- a/ansible/roles/openvswitch/tasks/check-containers.yml +++ b/ansible/roles/openvswitch/tasks/check-containers.yml @@ -1,4 +1,4 @@ --- - name: Check openvswitch containers - import_role: + ansible.builtin.import_role: name: service-check-containers diff --git a/ansible/roles/openvswitch/tasks/check.yml b/ansible/roles/openvswitch/tasks/check.yml index 2e6c2237d..7d11cdda2 100644 --- a/ansible/roles/openvswitch/tasks/check.yml +++ b/ansible/roles/openvswitch/tasks/check.yml @@ -1,4 +1,4 @@ --- - name: Checking Openvswitch containers - import_role: + ansible.builtin.import_role: role: service-check diff --git a/ansible/roles/openvswitch/tasks/config-host.yml b/ansible/roles/openvswitch/tasks/config-host.yml index 250a7b66a..b9e9af7c4 100644 --- a/ansible/roles/openvswitch/tasks/config-host.yml +++ b/ansible/roles/openvswitch/tasks/config-host.yml @@ -1,6 +1,6 @@ --- - name: Load and persist openvswitch module - import_role: + ansible.builtin.import_role: name: module-load vars: modules: @@ -11,7 +11,7 @@ # See: https://github.com/containers/podman/issues/14781 - name: Create /run/openvswitch directory on host become: true - file: + ansible.builtin.file: path: /run/openvswitch state: directory mode: "0770" diff --git a/ansible/roles/openvswitch/tasks/config.yml b/ansible/roles/openvswitch/tasks/config.yml index 43ec133f0..d8a264e76 100644 --- a/ansible/roles/openvswitch/tasks/config.yml +++ b/ansible/roles/openvswitch/tasks/config.yml @@ -1,7 +1,7 @@ --- - name: Ensuring config directories exist become: true - file: + ansible.builtin.file: path: "{{ node_config_directory }}/{{ item.key }}" state: "directory" owner: "{{ config_owner_user }}" @@ -11,7 +11,7 @@ - name: Copying over config.json files for services become: true - template: + ansible.builtin.template: src: "{{ item.key }}.json.j2" dest: "{{ node_config_directory }}/{{ item.key }}/config.json" mode: "0660" @@ -20,7 +20,7 @@ - name: Copying over ovs-vsctl wrapper vars: service: "{{ openvswitch_services['openvswitch-vswitchd'] }}" - template: + ansible.builtin.template: src: "ovs-vsctl.j2" dest: "/usr/bin/ovs-vsctl" mode: "0755" diff --git a/ansible/roles/openvswitch/tasks/deploy-containers.yml b/ansible/roles/openvswitch/tasks/deploy-containers.yml index 1467d3123..8ae168eca 100644 --- a/ansible/roles/openvswitch/tasks/deploy-containers.yml +++ b/ansible/roles/openvswitch/tasks/deploy-containers.yml @@ -1,3 +1,3 @@ --- - name: Check openvswitch containers - import_tasks: check-containers.yml + ansible.builtin.import_tasks: check-containers.yml diff --git a/ansible/roles/openvswitch/tasks/deploy.yml b/ansible/roles/openvswitch/tasks/deploy.yml index b6f413842..3a9f82658 100644 --- a/ansible/roles/openvswitch/tasks/deploy.yml +++ b/ansible/roles/openvswitch/tasks/deploy.yml @@ -1,15 +1,15 @@ --- - name: Import tasks from config-host.yml - import_tasks: config-host.yml + ansible.builtin.import_tasks: config-host.yml - name: Configure openvswitch - import_tasks: config.yml + ansible.builtin.import_tasks: config.yml - name: Check openvswitch containers - import_tasks: check-containers.yml + ansible.builtin.import_tasks: check-containers.yml - name: Flush Handlers - meta: flush_handlers + ansible.builtin.meta: flush_handlers - name: Import tasks from post-config.yml - import_tasks: post-config.yml + ansible.builtin.import_tasks: post-config.yml diff --git a/ansible/roles/openvswitch/tasks/main.yml b/ansible/roles/openvswitch/tasks/main.yml index 7a1d916c4..594ad5d85 100644 --- a/ansible/roles/openvswitch/tasks/main.yml +++ b/ansible/roles/openvswitch/tasks/main.yml @@ -1,3 +1,3 @@ --- - name: "Include tasks for action {{ kolla_action }}" - include_tasks: "{{ kolla_action }}.yml" + ansible.builtin.include_tasks: "{{ kolla_action }}.yml" diff --git a/ansible/roles/openvswitch/tasks/precheck.yml b/ansible/roles/openvswitch/tasks/precheck.yml index 883d0a001..eba9cf766 100644 --- a/ansible/roles/openvswitch/tasks/precheck.yml +++ b/ansible/roles/openvswitch/tasks/precheck.yml @@ -1,6 +1,6 @@ --- - name: Precheck openvswitch configuration - import_role: + ansible.builtin.import_role: name: service-precheck vars: service_precheck_services: "{{ openvswitch_services }}" @@ -19,7 +19,7 @@ - name: Checking free port for OVSDB vars: service: "{{ openvswitch_services['openvswitch-db-server'] }}" - wait_for: + ansible.builtin.wait_for: host: "{{ api_interface_address }}" port: "{{ ovsdb_port }}" connect_timeout: 1 diff --git a/ansible/roles/openvswitch/tasks/pull.yml b/ansible/roles/openvswitch/tasks/pull.yml index 54f9d3a60..757332f45 100644 --- a/ansible/roles/openvswitch/tasks/pull.yml +++ b/ansible/roles/openvswitch/tasks/pull.yml @@ -1,4 +1,4 @@ --- - name: Pull openvswitch images - import_role: + ansible.builtin.import_role: role: service-images-pull diff --git a/ansible/roles/openvswitch/tasks/reconfigure.yml b/ansible/roles/openvswitch/tasks/reconfigure.yml index 5c5e68b29..82125aa8a 100644 --- a/ansible/roles/openvswitch/tasks/reconfigure.yml +++ b/ansible/roles/openvswitch/tasks/reconfigure.yml @@ -1,3 +1,3 @@ --- - name: Deploy openvswitch - import_tasks: deploy.yml + ansible.builtin.import_tasks: deploy.yml diff --git a/ansible/roles/openvswitch/tasks/stop.yml b/ansible/roles/openvswitch/tasks/stop.yml index 420541104..540dee8b6 100644 --- a/ansible/roles/openvswitch/tasks/stop.yml +++ b/ansible/roles/openvswitch/tasks/stop.yml @@ -1,6 +1,6 @@ --- - name: Stop openvswitch containers - import_role: + ansible.builtin.import_role: name: service-stop vars: project_services: "{{ openvswitch_services }}" diff --git a/ansible/roles/openvswitch/tasks/upgrade.yml b/ansible/roles/openvswitch/tasks/upgrade.yml index b6f413842..3a9f82658 100644 --- a/ansible/roles/openvswitch/tasks/upgrade.yml +++ b/ansible/roles/openvswitch/tasks/upgrade.yml @@ -1,15 +1,15 @@ --- - name: Import tasks from config-host.yml - import_tasks: config-host.yml + ansible.builtin.import_tasks: config-host.yml - name: Configure openvswitch - import_tasks: config.yml + ansible.builtin.import_tasks: config.yml - name: Check openvswitch containers - import_tasks: check-containers.yml + ansible.builtin.import_tasks: check-containers.yml - name: Flush Handlers - meta: flush_handlers + ansible.builtin.meta: flush_handlers - name: Import tasks from post-config.yml - import_tasks: post-config.yml + ansible.builtin.import_tasks: post-config.yml |
