Skip to content

Commit

Permalink
Add RedHat-9 vars
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronH88 committed Apr 3, 2024
1 parent dd41062 commit e8ab2f2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
10 changes: 5 additions & 5 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ platforms:
privileged: true
command: "/usr/sbin/init"
tmpfs:
- /run
- /tmp
"/run": "rw,mode=1777"
"/tmp": "rw,mode=1777"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro

- name: molecule-debian
image: debian:11
image: debian:12
dockerfile: Containerfile.j2
pre_build_image: false
systemd: true
privileged: true
command: "/lib/systemd/systemd"
tmpfs:
- /run
- /tmp
"/run": "rw,mode=1777"
"/tmp": "rw,mode=1777"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro

Expand Down
2 changes: 1 addition & 1 deletion roles/setup/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ system_pip_package: python3-pip
pip_executable: pip3
python_executable: python3

minimum_python_version: 3.11
minimum_python_version: 3.9

receptor_packages: []
6 changes: 3 additions & 3 deletions roles/setup/vars/RedHat-8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
system_pip_package: python311-pip
python_executable: python3.11
pip_executable: pip3.11
system_pip_package: python39-pip
python_executable: python3.9
pip_executable: pip3.9
receptor_packages:
- receptor
- receptorctl
Expand Down
7 changes: 7 additions & 0 deletions roles/setup/vars/RedHat-9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
system_pip_package: python3.11-pip
python_executable: python3.11
pip_executable: pip3.11
receptor_packages:
- receptor
- receptorctl
systemd_folder: "/usr/lib/systemd/system"

0 comments on commit e8ab2f2

Please sign in to comment.