diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py index 68fd692c64..59b2f61fd1 100644 --- a/lib/ansible/module_common.py +++ b/lib/ansible/module_common.py @@ -107,7 +107,10 @@ FILE_COMMON_ARGUMENTS=dict( serole = dict(), selevel = dict(), setype = dict(), + # not taken by the file module, but other modules call file so it must ignore them. content = dict(), + backup = dict(), + force = dict(), ) def get_platform():