diff --git a/plugins/modules/ag_listener.py b/plugins/modules/ag_listener.py index c5ee852d..e835678a 100644 --- a/plugins/modules/ag_listener.py +++ b/plugins/modules/ag_listener.py @@ -74,9 +74,13 @@ sql_instance_primary: sql-01.myco.io ag_name: AG_MyDatabase listener_name: aglMyDatabase - ip_address: 10.0.20.20,10.1.77.77 - subnet_ip: 255.255.252.0 - subnet_mask: 255.255.255.0 + ip_address: + - 10.0.20.20 + - 10.1.77.77 + subnet_ip: + - 255.255.252.0 + subnet_mask: + - 255.255.255.0 ''' RETURN = r''' diff --git a/plugins/modules/spn.py b/plugins/modules/spn.py index 0fabb934..d08d825b 100644 --- a/plugins/modules/spn.py +++ b/plugins/modules/spn.py @@ -52,9 +52,13 @@ sql_instance_primary: sql-01.myco.io ag_name: AG_MyDatabase listener_name: aglMyDatabase - ip_address: 10.0.20.20,10.1.77.77 - subnet_ip: 255.255.252.0 - subnet_mask: 255.255.255.0 + ip_address: + - 10.0.20.20 + - 10.1.77.77 + subnet_ip: + - 255.255.252.0 + subnet_mask: + - 255.255.255.0 - name: Add SPN for new AG listener on port 1433 lowlydba.sqlserver.spn: