add check mode for acs delete (#32063)
This commit is contained in:
parent
42655f737a
commit
d7c8fdbd79
1 changed files with 2 additions and 0 deletions
|
@ -619,6 +619,8 @@ class AzureRMContainerService(AzureRMModuleBase):
|
||||||
|
|
||||||
self.log("Creation / Update done")
|
self.log("Creation / Update done")
|
||||||
elif self.state == 'absent':
|
elif self.state == 'absent':
|
||||||
|
if self.check_mode:
|
||||||
|
return self.results
|
||||||
self.delete_acs()
|
self.delete_acs()
|
||||||
self.log("ACS instance deleted")
|
self.log("ACS instance deleted")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue