Skip to content

Commit

Permalink
disable test case as per review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
l3ender committed Mar 10, 2022
1 parent 998438d commit 3e9fd56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration/targets/azure_rm_sqlserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set_fact:
random_postfix: "{{ 1000 | random }}{{ resource_group | hash('md5') | truncate(7, True, '') }}"
tenant_id: "{{ azure_tenant }}"
create_sql_admin_group: false # disabled by default as special permission is needed to manage Azure AD resources
run_once: yes

- name: Create instance of SQL Server -- check mode
Expand Down Expand Up @@ -105,6 +106,7 @@
display_name: "SqlAdminGroup{{ random_postfix }}"
mail_nickname: "SqlAdminGroup{{ random_postfix }}"
register: admin_group_output
when: create_sql_admin_group | bool

- name: Create instance of SQL Server with Azure AD admin
azure_rm_sqlserver:
Expand Down Expand Up @@ -751,3 +753,4 @@
tenant: "{{ tenant_id }}"
object_id: "{{ admin_group_output.object_id }}"
state: "absent"
when: create_sql_admin_group | bool

0 comments on commit 3e9fd56

Please sign in to comment.