Merge pull request #582 from rjeffman/dnszone_add_check_mode_support

ipadnszone: add check mode support
This commit is contained in:
Thomas Woerner
2021-09-03 13:12:05 +02:00
committed by GitHub
3 changed files with 32 additions and 0 deletions

View File

@@ -962,6 +962,10 @@ else:
def _run_ipa_commands(self):
"""Execute commands in self.ipa_commands."""
if self.check_mode:
self.changed = len(self.ipa_commands) > 0
return
result = None
for name, command, args in self.ipa_commands: