Skip to content

Commit

Permalink
Make galaxy installation verbose (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Nov 17, 2022
1 parent 6e0ba24 commit 0f4de2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansible_compat/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def exec(
)
if result.returncode == 0:
break
_logger.debug("Environment: %s", env or self.environ)
_logger.warning(
"Retrying execution failure %s of: %s",
result.returncode,
Expand Down Expand Up @@ -211,7 +212,7 @@ def install_collection(
"ansible-galaxy",
"collection",
"install",
"-v",
"-vvv", # this is needed to make ansible display important info in case of failures
]

# ansible-galaxy before 2.11 fails to upgrade collection unless --force
Expand Down

0 comments on commit 0f4de2e

Please sign in to comment.