Skip to content

Commit 8ac6948

Browse files
authored
Merge pull request #8 from NetApp/release-2.0.1
release-2.0.1
2 parents 11244f8 + 607bc29 commit 8ac6948

3 files changed

Lines changed: 24 additions & 7 deletions

File tree

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Netapp E-Series Host Collection Release Notes
55
.. contents:: Topics
66

77

8+
v2.0.1
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- Check for ifupdown in supported network management tools.
15+
16+
817
v2.0.0
918
======
1019

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace: "netapp_eseries"
22
description: "Configure your host storage connection for iSCSI, InfiniBand, and NVMe; Discover mapped E-Series volumes, format them to your specifications, and assign persistent mount points to them."
33
name: "host"
4-
version: "2.0.0"
4+
version: "2.0.1"
55
readme: "README.md"
66
authors:
77
- "Vu Tran (@VuTran007)"

roles/ip/tasks/get_manager.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@
4949
{{- managers -}}
5050
when: eseries_ip_manager_tools is not defined
5151

52-
- name: Determine if Netplan or ifupdown or nmcli are installed.
52+
# smcli is a configuration tool used with NetworkManager (network_manager).
53+
# ifupdown is a configuration tool used with the ifupdown networking system.
54+
# netplan is a configuration tool that can be used with either NetworkManager or networkd.
55+
- name: Determine which network configuration tool (Netplan or ifupdown or nmcli) is installed.
5356
ansible.builtin.fail:
5457
msg: "Only one compatible network management tool should be installed.
5558
Detected: {{ current_ip_tools }}.
@@ -58,11 +61,16 @@
5861
vars:
5962
current_ip_tools: "{{ eseries_ip_manager_tools | select('in', ['netplan', 'ifupdown', 'nmcli']) | list }}"
6063

61-
- name: Determine if NetworkManager or systemd-networkd are installed.
64+
- name: Determine which network manager is installed.
6265
ansible.builtin.fail:
63-
msg: "Either both NetworkManager and systemd-networkd are installed, or neither is installed!
64-
Detected: {{ current_ip_tools }}.
65-
Remove the unused tools or explicitly set eseries_ip_manager_tools in your inventory to the desired tool."
66+
msg: >
67+
Exactly one compatible network management tool should be installed.
68+
Detected: {{ current_ip_tools }}.
69+
Remove unused tools or explicitly set eseries_ip_manager_tools in your inventory to the desired tool.
6670
when: current_ip_tools | length != 1
6771
vars:
68-
current_ip_tools: "{{ eseries_ip_manager_tools | select('in', ['network_manager', 'networkd']) | list }}"
72+
supported_tools:
73+
- network_manager
74+
- networkd
75+
- ifupdown
76+
current_ip_tools: "{{ eseries_ip_manager_tools | select('in', supported_tools) | list }}"

0 commit comments

Comments
 (0)