Skip to content

Commit

Permalink
Merge pull request #343 from deNBI/feat/python3.9
Browse files Browse the repository at this point in the history
Feat/python3.9
  • Loading branch information
dweinholz authored Oct 6, 2023
2 parents 56ff1ac + 94c5544 commit c1bbbd9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 7 additions & 7 deletions cluster/roles/common/tasks/001-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@
update_cache: "yes"
upgrade: "yes"

- name: Import deadsnake PPA for python3.8
- name: Import deadsnake PPA for python3.9
ansible.builtin.apt_repository:
repo: ppa:deadsnakes/ppa
update_cache: true
tags: always

- name: Install python3.8
- name: Install python3.9
ansible.builtin.apt:
state: present
name: python3.8
name: python3.9

- name: Install Python 3.8 and reset selection to auto
- name: Install Python 3.9 and reset selection to auto
community.general.alternatives:
name: python
path: /usr/bin/python3.8
path: /usr/bin/python3.9
link: /usr/bin/python
state: auto

Expand All @@ -84,8 +84,8 @@
- libffi-dev
- libssl-dev
- software-properties-common
- python3.8-dev
- python3.8-venv
- python3.9-dev
- python3.9-venv
- python3-pip
- python3-setuptools
state: present
Expand Down
1 change: 1 addition & 0 deletions packer/cleanup_base_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-f json
register: ubuntu_images_command


- name: Set image fact
ansible.builtin.set_fact:
ubuntu_images: "{{ ubuntu_images_command.stdout }}"
Expand Down
5 changes: 3 additions & 2 deletions packer/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"bielefeld_staging": "053f75d5-e7ea-4ccc-8519-3c896c27a2c2",
"bielefeld_production": "70c155a3-d2df-4373-bc7a-81b9cbf4cd49",
"giessen_staging": "2a365100-62e9-4d0e-8be0-911a3d8f18c5",
"giessen_production": "a9ba0f7a-2ef8-42ff-8197-096dbfb6171f"
}
"giessen_production": "a9ba0f7a-2ef8-42ff-8197-096dbfb6171f",
"dsi_production": "c174e49a-3434-410e-9e83-6175f51658b0"
}

0 comments on commit c1bbbd9

Please sign in to comment.