diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-08-20 18:07:25 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-08-20 18:24:29 +0200 |
| commit | 5e80f0bc555ffbe7203d0ab7dac0e759e0f3a217 (patch) | |
| tree | bf4d1c529cfac9ed9cfe267267d065b0a6506512 /roles/python/meta | |
| parent | dd32fd1b254dedd48b983da9803d1f1dde3278f0 (diff) | |
Add python role
Diffstat (limited to 'roles/python/meta')
| -rw-r--r-- | roles/python/meta/argument_specs.yml | 13 | ||||
| -rw-r--r-- | roles/python/meta/main.yml | 19 |
2 files changed, 32 insertions, 0 deletions
diff --git a/roles/python/meta/argument_specs.yml b/roles/python/meta/argument_specs.yml new file mode 100644 index 00000000..ef13b7c8 --- /dev/null +++ b/roles/python/meta/argument_specs.yml @@ -0,0 +1,13 @@ +--- +argument_specs: + main: + options: + python_global_version: + type: "str" + description: "The pyenv python global version to use, default: system" + default: "system" + python_versions: + type: "list" + description: "The python versions to install" + elements: "str" + default: [] diff --git a/roles/python/meta/main.yml b/roles/python/meta/main.yml new file mode 100644 index 00000000..bf7913e2 --- /dev/null +++ b/roles/python/meta/main.yml @@ -0,0 +1,19 @@ +--- +dependencies: + - role: "homebrew" +galaxy_info: + author: "a14m" + description: "Install pyenv, pipx and python (versions) on Linux distributions" + company: "kartoffeln.work GmbH." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" |
