ansible-generator/vars/main.yml

206 lines
3.4 KiB
YAML

---
# Setting to generate files.
# 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/repository/docker/{{ docker_namespace }}/alpine/general"
amazon: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/amazonlinux/general"
archlinux: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/archlinux/general"
debian: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/debian/general"
el: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/enterpriselinux/general"
fedora: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/fedora/general"
opensuse: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/opensuse/general"
ubuntu: "https://hub.docker.com/repository/docker/{{ docker_namespace }}/ubuntu/general"
# 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:
- 1
- latest
"2018.03":
- 1
Candidate:
- latest
Archlinux:
all:
- latest
Debian:
all:
- latest
- bookworm
bullseye:
- latest
bookworm:
- bookworm
EL:
all:
- 7
- 8
- latest
"7":
- 7
"8":
- 8
"9":
- latest
Fedora:
all:
- 37
- latest
# - rawhide # Disabled; RawHide has a [problem](https://github.com/ansible/ansible/issues/81199#event-9773321055)
"36":
- 36
"37":
- 37
"38":
- latest
# "39":
# - rawhide
opensuse:
all:
- latest
Ubuntu:
all:
- latest
- focal
- bionic
jammy:
- latest
focal:
- focal
bionic:
- bionic
# 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