From 0c80c768330529943d54ab6f749f2911153f9edb Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 12 Mar 2013 21:57:38 -0400 Subject: [PATCH] Fixes #2380 - argument checking in file accepts chained arguments from copy --- lib/ansible/module_common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py index 68fd692c64f..59b2f61fd15 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():