diff --git a/common/deploy-steps-playbooks-common.yaml b/common/deploy-steps-playbooks-common.yaml index d661c90261..9c864fe47c 100644 --- a/common/deploy-steps-playbooks-common.yaml +++ b/common/deploy-steps-playbooks-common.yaml @@ -8,10 +8,10 @@ - hosts: localhost name: Check if required variables are defined tasks: - - fail: + - ansible.builtin.fail: msg: deploy_source_host variable is not defined when: deploy_source_host is not defined - - fail: + - ansible.builtin.fail: msg: deploy_target_host variable is not defined when: deploy_target_host is not defined # Keep in mind that you will still need to use defaults in order to be @@ -22,7 +22,7 @@ # We don't want to gather facts, just clear them gather_facts: false tasks: - - meta: clear_facts + - ansible.builtin.meta: clear_facts tags: - facts @@ -32,7 +32,7 @@ gather_facts: true tasks: - name: Set legacy facts - set_fact: + ansible.builtin.set_fact: ansible_distribution: "{{ ansible_facts['distribution'] }}" ansible_distribution_major_version: "{{ ansible_facts['distribution_major_version'] }}" ansible_distribution_release: "{{ ansible_facts['distribution_release'] }}" @@ -47,7 +47,7 @@ any_errors_fatal: false ignore_unreachable: true tasks: - - include_vars: global_vars.yaml # noqa: missing-import + - ansible.builtin.include_vars: global_vars.yaml # noqa: missing-import no_log: true tags: - always @@ -59,12 +59,12 @@ ignore_unreachable: true tasks: - name: Include Service VIP vars - include_vars: + ansible.builtin.include_vars: file: "{{ playbook_dir }}/service_vip_vars.yaml" name: service_vip_vars ignore_errors: yes - name: Include OVN bridge MAC address variables - include_vars: + ansible.builtin.include_vars: file: "{{ playbook_dir }}/ovn_bridge_mac_address_vars.yaml" name: ovn_bridge_mac_address_vars ignore_errors: yes @@ -95,7 +95,7 @@ ignore_unreachable: true tasks: - name: Set all_nodes data as group_vars for overcloud - include_vars: "{{ playbook_dir }}/group_vars/overcloud.json" + ansible.builtin.include_vars: "{{ playbook_dir }}/group_vars/overcloud.json" no_log: true when: not ansible_check_mode|bool tags: