From 07acc579db839170122fc66505a886ef023d5f4f Mon Sep 17 00:00:00 2001 From: Brock R Date: Thu, 31 Aug 2017 02:48:42 -0600 Subject: [PATCH] Removed a force conditional (#28851) This `if not force:` conditional will never be false. So there is no need for it. --- lib/ansible/cli/galaxy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/cli/galaxy.py b/lib/ansible/cli/galaxy.py index 768433b7f8..fc42e90fd1 100644 --- a/lib/ansible/cli/galaxy.py +++ b/lib/ansible/cli/galaxy.py @@ -385,9 +385,8 @@ class GalaxyCLI(CLI): (role.name, role.install_info['version'], role.version or "unspecified")) continue else: - if not force: - display.display('- %s is already installed, skipping.' % str(role)) - continue + display.display('- %s is already installed, skipping.' % str(role)) + continue try: installed = role.install()