mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-15 13:39:10 -07:00
This reverts commit 07acc579db
.
On closer examination of this code, the conditional that had force in it
was not a parent of this one. So handling of force is needed i both
branches.
See the recent comments on #23391
This commit is contained in:
parent
c4a7297222
commit
2e12a5f8c2
1 changed files with 3 additions and 2 deletions
|
@ -385,6 +385,7 @@ 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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue