Skip to content

Commit

Permalink
Tests: Use more conscious language
Browse files Browse the repository at this point in the history
Signed-off-by: Till Maas <[email protected]>
  • Loading branch information
tyll committed Mar 10, 2021
1 parent fb5d621 commit 0f5a882
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/playbooks/tests_bond_deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand All @@ -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 }}"
Expand All @@ -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"
Expand All @@ -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 }}"
Expand Down

0 comments on commit 0f5a882

Please sign in to comment.