Skip to content

Commit

Permalink
Replicas are removed in configure_ag.j2, removing redundant copies
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi committed Jun 17, 2022
1 parent c3e3f67 commit f543452
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -802,14 +802,6 @@
- mssql_ha_configure | bool
- mssql_ha_replica_type != 'witness'

- name: Remove replicas from an availability group
when:
- mssql_ha_configure | bool
- mssql_ha_replica_type == 'absent'
vars:
__mssql_input_sql_file: remove_from_ag.j2
include_tasks: input_sql_file.yml

- name: Ensure the ansible_managed header in /var/opt/mssql/mssql.conf
vars:
__lsr_ansible_managed: "{{ lookup('template', 'get_ansible_managed.j2') }}"
Expand Down
16 changes: 0 additions & 16 deletions templates/remove_from_ag.j2

This file was deleted.

0 comments on commit f543452

Please sign in to comment.