Skip to content

Commit

Permalink
updated code examples to show passing in lists instead of single or c…
Browse files Browse the repository at this point in the history
…omma separated strings
  • Loading branch information
daarrn committed Jun 3, 2024
1 parent 8ade933 commit ead4087
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions plugins/modules/ag_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'''
Expand Down
10 changes: 7 additions & 3 deletions plugins/modules/spn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ead4087

Please sign in to comment.