dns_zone: do not relativize zone file

This commit is contained in:
jeltz 2022-08-19 21:50:15 +02:00
parent 8d92035a81
commit 4446c2c47e
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -379,7 +379,7 @@ def main() -> int:
changed = current is None or not zones_eq(zone, current) changed = current is None or not zones_eq(zone, current)
if changed: if changed:
zone.to_file(module.params["path"], relativize=True, sorted=True) zone.to_file(module.params["path"], relativize=False, sorted=True)
changed = module.set_fs_attributes_if_different(file_args, changed) changed = module.set_fs_attributes_if_different(file_args, changed)