-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (32 loc) · 892 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[project]
name = "envmgr"
version = "0.1.0"
description = "Quick deployment to install and configure packages with ansible."
dependencies = [
"ansible>=9.6.0",
"kubernetes>=31.0.0",
]
readme = "README.md"
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"ansible-lint>=25.1.2",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["scripts"]
[project.scripts]
install = "scripts:install"
create = "scripts:create"
[tool.rye.scripts]
ping = "ansible -m ping all"
setup = { chain = ["setup:sync-rye", "setup:init-logs", "setup:install-ansible-roles"] }
"setup:sync-rye" = "rye sync"
"setup:init-logs" = "mkdir -p log/"
"setup:install-ansible-roles" = "ansible-galaxy install -r requirements.yaml"
lint = "ansible-lint ./roles"