1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Removed a force conditional (#28851)

This `if not force:` conditional will never be false.  So there is no need for it.
This commit is contained in:
Brock R 2017-08-31 02:48:42 -06:00 committed by ansibot
parent c16d258a27
commit 07acc579db

View file

@ -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()