Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from alan-turing-institute/add_packages
Browse files Browse the repository at this point in the history
Add packages
  • Loading branch information
JimMadge authored Nov 29, 2021
2 parents 1f2829e + 520d8f0 commit bdb540d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
20 changes: 19 additions & 1 deletion ansible/host_vars/dsvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ apt_packages_development:
- cmake
- ninja-build
- gfortran
- gcc
- g++

apt_packages_shells:
- bash
Expand All @@ -55,14 +57,30 @@ apt_packages_editors:
- vim-gtk3
- emacs

apt_packages_databases:
- postgresql-client
- mariadb-client

apt_packages_latex:
- texlive-full
- texstudio

apt_packages_office:
- libreoffice

apt_packages: "{{ apt_packages_development | union(apt_packages_shells) | union(apt_packages_editors) | union(apt_packages_latex) | union(apt_packages_office) | union(apt_packages_extra) }}"
apt_packages_browsers:
- firefox

apt_packages: "{{ apt_packages_development | union(apt_packages_shells) | union(apt_packages_editors) | union(apt_packages_databases) | union(apt_packages_latex) | union(apt_packages_office) | union(apt_packages_browsers) | union(apt_packages_extra) }}"

apt_packages_xfce:
- xubuntu-desktop
- xubuntu-core

apt_packages_xrdp:
- xrdp

apt_packages_desktop: "{{ apt_packages_xfce | union(apt_packages_xrdp) }}"

snap_packages_default:
- name: codium
Expand Down
6 changes: 2 additions & 4 deletions ansible/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
- name: Install xrdp
become: yes
ansible.builtin.apt:
name: xrdp
name: "{{ apt_packages_xrdp }}"
state: present

- name: Set xrdp encryption level to high
Expand Down Expand Up @@ -411,9 +411,7 @@
- name: Install xfce desktop
become: yes
ansible.builtin.apt:
name:
- xubuntu-desktop
- xubuntu-core
name: "{{ apt_packages_xfce }}"
state: present
async: 600
poll: 5
Expand Down

0 comments on commit bdb540d

Please sign in to comment.