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:
parent
c16d258a27
commit
07acc579db
1 changed files with 2 additions and 3 deletions
|
@ -385,9 +385,8 @@ class GalaxyCLI(CLI):
|
||||||
(role.name, role.install_info['version'], role.version or "unspecified"))
|
(role.name, role.install_info['version'], role.version or "unspecified"))
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
if not force:
|
display.display('- %s is already installed, skipping.' % str(role))
|
||||||
display.display('- %s is already installed, skipping.' % str(role))
|
continue
|
||||||
continue
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
installed = role.install()
|
installed = role.install()
|
||||||
|
|
Loading…
Add table
Reference in a new issue