diff options
Diffstat (limited to 'lib/ansible/cli/pull.py')
-rwxr-xr-x | lib/ansible/cli/pull.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ansible/cli/pull.py b/lib/ansible/cli/pull.py index 212d63872e..ee24c9ff9a 100755 --- a/lib/ansible/cli/pull.py +++ b/lib/ansible/cli/pull.py @@ -298,6 +298,9 @@ class PullCLI(CLI): if context.CLIARGS['diff']: cmd += ' -D' + if context.CLIARGS['flush_cache']: + cmd += ' --flush-cache' + os.chdir(context.CLIARGS['dest']) # redo inventory options as new files might exist now |