style 💎: Fix indentation in tasks/main.yml for notify section #1
@@ -6,7 +6,7 @@
|
||||
ansible.builtin.apt:
|
||||
name: ethtool
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
# ============================================================
|
||||
# Normalize and validate configuration
|
||||
@@ -103,6 +103,7 @@
|
||||
label: "{{ item }}"
|
||||
|
||||
- name: Check for bond0 backing
|
||||
when: bond_info.rc == 0
|
||||
block:
|
||||
- name: Detect if any bridge is backed by bond0
|
||||
ansible.builtin.set_fact:
|
||||
@@ -115,7 +116,6 @@
|
||||
(bond_info.stdout | regex_findall('Slave Interface: ([a-zA-Z0-9]+)')) | list
|
||||
}}
|
||||
when: wol_has_bond0 | default(false)
|
||||
when: bond_info.rc == 0
|
||||
|
||||
# ============================================================
|
||||
# Validate configuration and resolve to physical NICs
|
||||
|
||||
Reference in New Issue
Block a user