From 049267cec7bf1273158ac0d7488879f8b726223f Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Sun, 12 Feb 2023 14:40:47 -0500 Subject: [PATCH] ci: add `poe pb` to run playbook --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8511e07..d34d55f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,11 +27,18 @@ version_files = ["pyproject.toml:version"] [tool.poe.tasks] + pb = """ +ansible-playbook + --vault-password-file .password_file + main.yml + -i inventory.yml + """ + [tool.poe.tasks.lint] help = "Run linters" [[tool.poe.tasks.lint.sequence]] - shell = "yamllint --strict --config-file .yamllint.yml tasks/ handlers/ main.yml inventory.yml default_variables.yml" + cmd = "yamllint --strict --config-file .yamllint.yml tasks/ handlers/ main.yml inventory.yml default_variables.yml" [[tool.poe.tasks.lint.sequence]] - shell = "ansible-lint --force-color --config-file .ansible-lint.yml" + cmd = "ansible-lint --force-color --config-file .ansible-lint.yml"