diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-01-22 22:24:57 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-01-22 22:24:57 +0000 |
commit | 9f7857e88e28d888a324af485a4cf6fa0799ef24 (patch) | |
tree | 92435a261614df84f1149c38785c3428d11a5620 | |
parent | eb2f85ca6bb700973c530f21ff5092025f04885f (diff) |
Python 3.9 support
Issue-ID: DCAEGEN2-2494
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I5db9bd47db63f76b2c7a5865bf3bdba943aa65df
-rw-r--r-- | packer/provision/local-builder.yaml | 9 | ||||
-rw-r--r-- | packer/provision/local-docker.yaml | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 077c52f65..932c01fcd 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -61,6 +61,15 @@ become: true when: ansible_distribution == 'Ubuntu' + - name: Install Python 3.9 + apt: + name: + - python3.9 + - python3.9-dev + - python3.9-tk + become: true + when: ansible_distribution == 'Ubuntu' + - name: Install libssl1.0-dev dep apt: name: libssl1.0-dev diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index 9f590ea48..ca9db4139 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -115,6 +115,15 @@ become: true when: ansible_distribution == 'Ubuntu' + - name: Install Python 3.9 + apt: + name: + - python3.9 + - python3.9-dev + - python3.9-tk + become: true + when: ansible_distribution == 'Ubuntu' + - name: Install nodejs-dev libssl1.0-dev dep apt: name: |