ansible-generator/vars/main.yml

202 lines
3.2 KiB
YAML

---
# Setting to generate files.
# A list of python version to test.
default_python_version:
- "python:3.9"
- "python:3.10"
# - "python:3:13"
# A map that relates the `meta/main.yml` - `galaxy_info.platforms.name` to a name of a container.
platform_image_mapping:
Alpine: alpine
Amazon: amazonlinux
Archlinux: archlinux
Debian: debian
EL: enterpriselinux
Fedora: fedora
opensuse: opensuse
Ubuntu: ubuntu
# A map that relates a container name to the URL of that container on Docker Hub.
image_docker_hub_url_mapping:
alpine: "https://hub.docker.com/r/{{ docker_namespace }}/alpine"
amazon: "https://hub.docker.com/r/{{ docker_namespace }}/amazonlinux"
archlinux: "https://hub.docker.com/r/{{ docker_namespace }}/archlinux"
debian: "https://hub.docker.com/r/{{ docker_namespace }}/debian"
el: "https://hub.docker.com/r/{{ docker_namespace }}/enterpriselinux"
fedora: "https://hub.docker.com/r/{{ docker_namespace }}/fedora"
opensuse: "https://hub.docker.com/r/{{ docker_namespace }}/opensuse"
ubuntu: "https://hub.docker.com/r/{{ docker_namespace }}/ubuntu"
# This maps the Galaxy distribution and version to Docker images.
# A map that relates the `meta/main.yml` - `galaxy_info.platforms.versions` to the tag of the Docker container.
distribution_version_mapping:
Alpine:
all:
- latest
Amazon:
all:
- latest
Candidate:
- latest
Archlinux:
all:
- latest
Debian:
all:
- latest # 12
- bullseye # 11
bullseye:
- bullseye
bookworm:
- latest
buster:
- buster
EL:
all:
- latest
"9":
- latest
Fedora:
all:
- 39
- latest
- rawhide
"38":
- 38
"39":
- 39
"40":
- latest
"41":
- rawhide
Ubuntu:
all:
- latest # 24
- jammy # 22
- focal # 20
noble:
- latest
jammy:
- jammy
focal:
- focal
# To schedule CI on different days of the month, this is a map that relates a letter to a day of the month.
letter_day_mapping:
a: 1
b: 2
c: 3
d: 4
e: 5
f: 6
g: 7
h: 8
i: 9
j: 10
k: 11
l: 12
m: 13
n: 14
o: 15
p: 16
q: 17
r: 18
s: 19
t: 20
u: 21
v: 22
w: 23
x: 24
y: 25
z: 26
"0": 27
"1": 27
"2": 27
"3": 27
"4": 27
"5": 27
"6": 27
"7": 27
"8": 27
"9": 27
# To schedule CI on different hours of the day, this is a map that relates a letter to an hour of the day.
letter_hour_mapping:
a: 1
b: 2
c: 3
d: 4
e: 5
f: 6
g: 7
h: 8
i: 9
j: 10
k: 11
l: 12
m: 13
n: 14
o: 15
p: 16
q: 17
r: 18
s: 19
t: 20
u: 21
v: 22
w: 22
x: 22
y: 22
z: 22
"0": 23
"1": 23
"2": 23
"3": 23
"4": 23
"5": 23
"6": 23
"7": 23
"8": 23
"9": 23
# To schedule CI on different days of the month, this is a map that relates a letter to a minute of the hour.
letter_minute_mapping:
a: 1
b: 3
c: 5
d: 7
e: 9
f: 11
g: 13
h: 15
i: 17
j: 19
k: 21
l: 23
m: 25
n: 27
o: 29
p: 31
q: 33
r: 35
s: 37
t: 39
u: 41
v: 43
w: 45
x: 47
y: 49
z: 51
"0": 53
"1": 55
"2": 57
"3": 59
"4": 59
"5": 59
"6": 59
"7": 59
"8": 59
"9": 59