Patrick de Ruiter 22d78bf85c
All checks were successful
Code Quality & Security Scan / TFLint (push) Successful in 24s
Code Quality & Security Scan / Tfsec Security Scan (push) Successful in 30s
Code Quality & Security Scan / Checkov Security Scan (push) Successful in 44s
Code Quality & Security Scan / Terraform Validate (push) Successful in 43s
Code Quality & Security Scan / SonarQube Trigger (push) Successful in 47s
Add ansible directory with vault_agent role and playbooks
- Remove ansible/ from .gitignore
- Add vault_agent role (copied from terraform-vsphere-infra)
- Add vault_agent-playbook.yml for deployment
- Include ansible collections (cloud.terraform, ansible.posix, etc.)
- Archive consul_template role as consul_template-legacy

The ansible directory contains the vault-agent deployment automation
that replaces the legacy consul-template approach.
2025-11-10 12:33:38 +01:00

38 lines
892 B
TOML

[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312"]
include = "\\.pyi?$"
workers = 4
[tool.isort]
profile = "black"
line_length = 120
[tool.mypy]
strict = true
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
warn_unused_configs = true
color_output = true
namespace_packages = true
explicit_package_bases = true
# ignores for dependencies without type information
[[tool.mypy.overrides]]
module = [
"ansible.*",
]
ignore_missing_imports = true
# this module parses JSON and would need casts and asserts all over the place
# because parsing fails anyway, we ignore these two errors, as
# we assume that the JSON structure Terraform returns is consistent
[[tool.mypy.overrides]]
module = [
"ansible_collections.cloud.terraform.plugins.module_utils.models",
]
disable_error_code = ["arg-type", "union-attr"]