Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ansible/roles/baselayout/tasks/partials/repo/rhel8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@
ansible.builtin.dnf:
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
state: present

- name: install Python 3.9
ansible.builtin.dnf:
name: ['python39']
state: present
notify: package updated

- name: update python3 package alternatives
community.general.alternatives:
link: /usr/bin/python3
name: python3
path: /usr/bin/python3.9
9 changes: 1 addition & 8 deletions ansible/roles/build-test-v8/tasks/partials/rhel8-ppc64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
#

# V8 builds still require Python 2.
# Newer V8 builds require Python 3.8, or later.
- name: install packages required to build V8
ansible.builtin.dnf:
name: ['glib2-devel', 'python2', 'python2-pip', 'python39']
name: ['glib2-devel', 'python2', 'python2-pip']
state: present
notify: package updated

Expand All @@ -18,12 +17,6 @@
name: python
path: /usr/bin/python2

- name: update python3 package alternatives
community.general.alternatives:
link: /usr/bin/python3
name: python3
path: /usr/bin/python3.9

- name: install dependencies for V8 build tools (Python 2)
ansible.builtin.pip:
executable: pip2
Expand Down
9 changes: 1 addition & 8 deletions ansible/roles/build-test-v8/tasks/partials/rhel8-s390x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
#

# Older V8 builds still require Python 2.
# Newer V8 builds require Python 3.8, or later.
- name: install packages required to build V8
ansible.builtin.dnf:
name: ['GConf2-devel', 'python2', 'python2-pip', 'python39', 'patch']
name: ['GConf2-devel', 'python2', 'python2-pip', 'patch']
state: present
notify: package updated

Expand All @@ -18,12 +17,6 @@
name: python
path: /usr/bin/python2

- name: update python3 package alternatives
community.general.alternatives:
link: /usr/bin/python3
name: python3
path: /usr/bin/python3.9

- name: install dependencies for V8 build tools (Python 2)
ansible.builtin.pip:
executable: pip2
Expand Down
9 changes: 1 addition & 8 deletions ansible/roles/build-test-v8/tasks/partials/rhel8-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
state: enabled

# V8 builds still require Python 2.
# Newer V8 builds require Python 3.8, or later.
- name: install packages required to build V8
ansible.builtin.dnf:
name: ['ninja-build', 'python2', 'python2-pip', 'python39']
name: ['ninja-build', 'python2', 'python2-pip']
state: present
notify: package updated

Expand All @@ -24,12 +23,6 @@
name: python
path: /usr/bin/python2

- name: update python3 package alternatives
community.general.alternatives:
link: /usr/bin/python3
name: python3
path: /usr/bin/python3.9

- name: install dependencies for V8 build tools (Python 2)
ansible.builtin.pip:
executable: pip2
Expand Down