Eri Bastos 2 weeks ago committed by GitHub
commit 91cca3d672
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -518,6 +518,9 @@ def execute_diff_peek(path):
def ensure_absent(path):
if path == '/':
raise AnsibleModuleError(results={'msg': "Refusing to delete /"})
b_path = to_bytes(path, errors='surrogate_or_strict')
prev_state = get_state(b_path)
result = {}

Loading…
Cancel
Save