From 0f5a882bcab58baba527015b7cde01c7c52d2254 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Thu, 25 Feb 2021 10:16:44 +0100 Subject: [PATCH] Tests: Use more conscious language Signed-off-by: Till Maas --- tests/playbooks/tests_bond_deprecated.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/playbooks/tests_bond_deprecated.yml b/tests/playbooks/tests_bond_deprecated.yml index e538142..f37e19a 100644 --- a/tests/playbooks/tests_bond_deprecated.yml +++ b/tests/playbooks/tests_bond_deprecated.yml @@ -4,9 +4,9 @@ vars: controller_profile: bond0 controller_device: nm-bond - slave1_profile: bond0.0 + port1_profile: bond0.0 dhcp_interface1: test1 - slave2_profile: bond0.1 + port2_profile: bond0.1 dhcp_interface2: test2 tasks: - name: "INIT Prepare setup" @@ -20,7 +20,7 @@ vars: interface: "{{ dhcp_interface2 }}" - block: - - name: "TEST Add Bond with 2 slaves using deprecated 'master' argument" + - name: "TEST Add Bond with 2 ports using deprecated 'master' argument" debug: msg: "##################################################" - import_role: @@ -36,13 +36,13 @@ mode: active-backup miimon: 110 # add an ethernet to the bond - - name: "{{ slave1_profile }}" + - name: "{{ port1_profile }}" state: up type: ethernet interface_name: "{{ dhcp_interface1 }}" master: "{{ controller_profile }}" # add a second ethernet to the bond - - name: "{{ slave2_profile }}" + - name: "{{ port2_profile }}" state: up type: ethernet interface_name: "{{ dhcp_interface2 }}" @@ -55,8 +55,8 @@ profile: "{{ item }}" loop: - "{{ controller_profile }}" - - "{{ slave1_profile }}" - - "{{ slave2_profile }}" + - "{{ port1_profile }}" + - "{{ port2_profile }}" - command: grep 'Polling Interval' /proc/net/bonding/{{ controller_device }} name: "** TEST check polling interval" @@ -80,10 +80,10 @@ name: linux-system-roles.network vars: network_connections: - - name: "{{ slave2_profile }}" + - name: "{{ port2_profile }}" persistent_state: absent state: down - - name: "{{ slave1_profile }}" + - name: "{{ port1_profile }}" persistent_state: absent state: down - name: "{{ controller_profile }}"