diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index 801c4a53f99..30476973bd2 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -769,7 +769,7 @@ def execute_install(args, options, parser): tmp_file = fetch_role(role_src, role["version"], role_data, options) installed = False if tmp_file: - installed = install_role(role.get("name"), role.get("version"), tmp_file, options): + installed = install_role(role.get("name"), role.get("version"), tmp_file, options) # we're done with the temp file, clean it up os.unlink(tmp_file) # install dependencies, if we want them