orchestrator-lso 1.0.2__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lso/__init__.py +1 -1
- {orchestrator_lso-1.0.2.dist-info → orchestrator_lso-1.0.3.dist-info}/METADATA +21 -18
- {orchestrator_lso-1.0.2.dist-info → orchestrator_lso-1.0.3.dist-info}/RECORD +5 -5
- {orchestrator_lso-1.0.2.dist-info → orchestrator_lso-1.0.3.dist-info}/LICENSE +0 -0
- {orchestrator_lso-1.0.2.dist-info → orchestrator_lso-1.0.3.dist-info}/WHEEL +0 -0
lso/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: orchestrator-lso
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: LSO, an API for remotely running Ansible playbooks.
|
|
5
5
|
Author-email: GÉANT Orchestration and Automation Team <goat@geant.org>
|
|
6
6
|
Requires-Python: >=3.11,<3.13
|
|
@@ -25,12 +25,12 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
25
25
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.11
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.12
|
|
28
|
-
Requires-Dist: ansible-runner~=2.
|
|
29
|
-
Requires-Dist: ansible~=
|
|
30
|
-
Requires-Dist: fastapi~=0.
|
|
28
|
+
Requires-Dist: ansible-runner~=2.4.0
|
|
29
|
+
Requires-Dist: ansible~=10.1.0
|
|
30
|
+
Requires-Dist: fastapi~=0.112.1
|
|
31
31
|
Requires-Dist: httpx~=0.27.0
|
|
32
32
|
Requires-Dist: jsonschema~=4.21.1
|
|
33
|
-
Requires-Dist: uvicorn[standard]~=0.
|
|
33
|
+
Requires-Dist: uvicorn[standard]~=0.30.6
|
|
34
34
|
Requires-Dist: requests~=2.31.0
|
|
35
35
|
Requires-Dist: types-setuptools ; extra == "dev"
|
|
36
36
|
Requires-Dist: types-requests ; extra == "dev"
|
|
@@ -42,6 +42,7 @@ Requires-Dist: sphinx ; extra == "doc"
|
|
|
42
42
|
Requires-Dist: sphinx-rtd-theme ; extra == "doc"
|
|
43
43
|
Requires-Dist: docutils ; extra == "doc"
|
|
44
44
|
Requires-Dist: pytest ; extra == "test"
|
|
45
|
+
Requires-Dist: pytest-cov ; extra == "test"
|
|
45
46
|
Requires-Dist: Faker ; extra == "test"
|
|
46
47
|
Requires-Dist: responses ; extra == "test"
|
|
47
48
|
Requires-Dist: mypy ; extra == "test"
|
|
@@ -54,7 +55,10 @@ Provides-Extra: dev
|
|
|
54
55
|
Provides-Extra: doc
|
|
55
56
|
Provides-Extra: test
|
|
56
57
|
|
|
57
|
-
|
|
58
|
+

|
|
59
|
+
[](https://pypi.org/project/orchestrator-lso)
|
|
60
|
+
[](https://pepy.tech/project/orchestrator-lso)
|
|
61
|
+
[](https://codecov.io/github/workfloworchestrator/lso)
|
|
58
62
|
|
|
59
63
|
LSO: an API that allows for remotely executing Ansible playbooks.
|
|
60
64
|
|
|
@@ -75,18 +79,17 @@ To run LSO as a Docker container, build an image using the `Dockerfile.example`
|
|
|
75
79
|
Use the Docker image to then spin up an environment. An example Docker compose file is presented below:
|
|
76
80
|
|
|
77
81
|
```yaml
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
- "~/.ssh/id_ed25519:/root/.ssh/id_ed25519:ro"
|
|
82
|
+
services:
|
|
83
|
+
lso:
|
|
84
|
+
image: my-lso:latest
|
|
85
|
+
environment:
|
|
86
|
+
SETTINGS_FILENAME: /app/config.json
|
|
87
|
+
ANSIBLE_ROLES_PATH: /app/lso/ansible_roles
|
|
88
|
+
volumes:
|
|
89
|
+
- "/home/user/config.json:/app/config.json:ro"
|
|
90
|
+
- "/home/user/ansible_inventory:/opt/ansible_inventory:ro"
|
|
91
|
+
- "~/.ssh/id_ed25519.pub:/root/.ssh/id_ed25519.pub:ro"
|
|
92
|
+
- "~/.ssh/id_ed25519:/root/.ssh/id_ed25519:ro"
|
|
90
93
|
```
|
|
91
94
|
|
|
92
95
|
This will expose the API on port 8000. The container requires some more files to be mounted:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lso/__init__.py,sha256=
|
|
1
|
+
lso/__init__.py,sha256=vveEyutM6Gbg73OAo_oeAw418HED2t8du9PkXvRy4XI,1564
|
|
2
2
|
lso/app.py,sha256=WDtlmjELIeFA437j-WPfqBQf6QT_l35LEABbEosHlqY,775
|
|
3
3
|
lso/config.py,sha256=CB4Ydc8LxGaM24YrLMh59LxYFMOHGK03y4X9R-r_cAM,2436
|
|
4
4
|
lso/environment.py,sha256=iZ3DmsSKAC5a7VNL-HfJOJZ0sQwUMf7ZzNGC34B2CG0,1771
|
|
@@ -6,7 +6,7 @@ lso/playbook.py,sha256=EuMdKtXjkcD-D-q5ytrKB0fXTT5IhOjnyEXiln0bdk0,4925
|
|
|
6
6
|
lso/routes/__init__.py,sha256=1kRrth9zkFgmj6LChujieYJq5cjIETeTGXa1G70pduk,639
|
|
7
7
|
lso/routes/default.py,sha256=a7STN1BJyFVizXUzmqKuADO0fpE1SHun-PzaZ-jx1wU,1438
|
|
8
8
|
lso/routes/playbook.py,sha256=VwxCNRvIg-MTAXyHDHcFhAAY2vQQG77VVMJf_GjZsr4,3837
|
|
9
|
-
orchestrator_lso-1.0.
|
|
10
|
-
orchestrator_lso-1.0.
|
|
11
|
-
orchestrator_lso-1.0.
|
|
12
|
-
orchestrator_lso-1.0.
|
|
9
|
+
orchestrator_lso-1.0.3.dist-info/LICENSE,sha256=CgFXf7XbZXJADozQIw2uUmmvU-zwAwXo4u7cgDfx3rE,10744
|
|
10
|
+
orchestrator_lso-1.0.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
11
|
+
orchestrator_lso-1.0.3.dist-info/METADATA,sha256=2GebmTzglr0F-H-k5lJnYqBkUy0nYMCax-pUjctCVb0,5521
|
|
12
|
+
orchestrator_lso-1.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|