mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
now file mode diff shows octal values
This commit is contained in:
parent
7ed4ad23a5
commit
477d632118
1 changed files with 2 additions and 2 deletions
|
@ -881,10 +881,10 @@ class AnsibleModule(object):
|
|||
if diff is not None:
|
||||
if 'before' not in diff:
|
||||
diff['before'] = {}
|
||||
diff['before']['mode'] = prev_mode
|
||||
diff['before']['mode'] = oct(prev_mode)
|
||||
if 'after' not in diff:
|
||||
diff['after'] = {}
|
||||
diff['after']['mode'] = mode
|
||||
diff['after']['mode'] = oct(mode)
|
||||
|
||||
if self.check_mode:
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue