Skip to content

Commit

Permalink
fixed error of collection install
Browse files Browse the repository at this point in the history
Signed-off-by: Ruriko Kudo <[email protected]>
  • Loading branch information
rurikudo committed Oct 11, 2023
1 parent 9e5ef3d commit 1732988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_risk_insight/dependency_dir_preparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def install_galaxy_collection_from_reqfile(self, requirements, output_dir):
logger.debug("install collection from {}".format(requirements))
src_dir = requirements.replace(requirements_yml, "")
proc = subprocess.run(
"cd {} && ansible-galaxy collection install -r {} -p {} --force".format(src_dir, requirements, output_dir),
"cd {} && ansible-galaxy collection install -r {} -p {} --force".format(src_dir, requirements_yml, output_dir),
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
Expand Down

0 comments on commit 1732988

Please sign in to comment.