Skip to content

Commit

Permalink
test contained ag in the win_availability_group test module
Browse files Browse the repository at this point in the history
  • Loading branch information
DorBreger committed Jul 8, 2024
1 parent 44e6e48 commit 8583ef9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 67 deletions.
17 changes: 17 additions & 0 deletions tests/integration/targets/win_availability_group/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,23 @@
that:
- result is changed

- name: Create Contained availability group
lowlydba.sqlserver.availability_group:
contained_availability_group: true
ag_name: "{{ ag_name}}-contained"

- name: create Listenr on contained
lowlydba.sqlserver.ag_listener:
ag_name: "{{ ag_name }}-contained"
sql_instance: "{{ sqlserver_instance }}"
listener_name: "{{ ag_name }}-lis-contained"

- name: Create login on contained availability group
lowlydba.sqlserver.login:
sql_instance: "{{ ag_name }}-lis-contained"
login: TheIntern
password: ReallyComplexStuff12345!

always:
- name: Drop availability group
lowlydba.sqlserver.availability_group:
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 8583ef9

Please sign in to comment.