Skip to content

Commit 0d4142c

Browse files
aston-rYevhen Lodovyi
andauthored
Replace module should not trigger rule violation (#1024)
Only copy and template modules support preserve mode permissions: ansible/ansible#56839 (comment) Documentation was fixed in the above MR: ansible/ansible#71486 Also replace module uses atomic_move function that preserves permissions, so we can safely remove this module from a check list. Co-authored-by: Yevhen Lodovyi <Yevhen.Lodovyi@syncplicity.com>
1 parent 6e90429 commit 0d4142c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/ansiblelint/rules/MissingFilePermissionsRule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class MissingFilePermissionsRule(AnsibleLintRule):
3939
'archive',
4040
'copy',
4141
'file',
42-
'replace',
4342
'template',
4443
'unarchive',
4544
)

0 commit comments

Comments
 (0)