mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-18 09:53:41 -05:00
ci: add poe pb to run playbook
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user