diff options
-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: |