add check mode for acs delete (#32063)

This commit is contained in:
Yawei Wang 2017-11-01 14:01:59 +08:00 committed by ansibot
parent 42655f737a
commit d7c8fdbd79

View file

@ -619,6 +619,8 @@ class AzureRMContainerService(AzureRMModuleBase):
self.log("Creation / Update done")
elif self.state == 'absent':
if self.check_mode:
return self.results
self.delete_acs()
self.log("ACS instance deleted")