Skip to content

Commit

Permalink
Replace module should not trigger rule violation (#1024)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aston-r and Yevhen Lodovyi authored Sep 1, 2020
1 parent 6e90429 commit 0d4142c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/ansiblelint/rules/MissingFilePermissionsRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class MissingFilePermissionsRule(AnsibleLintRule):
'archive',
'copy',
'file',
'replace',
'template',
'unarchive',
)
Expand Down

0 comments on commit 0d4142c

Please sign in to comment.