ci: add poe pb to run playbook

This commit is contained in:
Nathaniel Landau
2023-02-12 14:40:47 -05:00
parent 5fed6dae76
commit 049267cec7

View File

@@ -27,11 +27,18 @@
version_files = ["pyproject.toml:version"] version_files = ["pyproject.toml:version"]
[tool.poe.tasks] [tool.poe.tasks]
pb = """
ansible-playbook
--vault-password-file .password_file
main.yml
-i inventory.yml
"""
[tool.poe.tasks.lint] [tool.poe.tasks.lint]
help = "Run linters" help = "Run linters"
[[tool.poe.tasks.lint.sequence]] [[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]] [[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"