Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstmps <stmps@users.noreply.github.com>2022-11-08 18:17:53 +0300
committerGitHub <noreply@github.com>2022-11-08 18:17:53 +0300
commit4759590467faa23776f527e049a1686505339d4f (patch)
treea27a5ba534cdcd1ca0f844812794c5e257d1b69a
parente0118d9d0361516d8e57fd880f69534e7aef0528 (diff)
Move collection playbook output from "warning" to "-v" (#79320)
* lib/ansible/executor/playbook_executor.py: fix minor typo in comment * lib/ansible/executor/playbook_executor.py: move 'running playbook inside collection' from warning to -v debugging output
-rw-r--r--lib/ansible/executor/playbook_executor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/executor/playbook_executor.py b/lib/ansible/executor/playbook_executor.py
index e8b2a3dc257..94e163c69a9 100644
--- a/lib/ansible/executor/playbook_executor.py
+++ b/lib/ansible/executor/playbook_executor.py
@@ -99,11 +99,11 @@ class PlaybookExecutor:
playbook_collection = resource[2]
else:
playbook_path = playbook
- # not fqcn, but might still be colleciotn playbook
+ # not fqcn, but might still be collection playbook
playbook_collection = _get_collection_name_from_path(playbook)
if playbook_collection:
- display.warning("running playbook inside collection {0}".format(playbook_collection))
+ display.v("running playbook inside collection {0}".format(playbook_collection))
AnsibleCollectionConfig.default_collection = playbook_collection
else:
AnsibleCollectionConfig.default_collection = None