Once the computers are configured and customized using the playbook setup-computers.yml, required user software can be installed. This is done using the playbook install-software.yml.
Quick way
Adjust the content of the playbook
install-software.ymlto your need:--- - name: Install software hosts: computers gather_facts: no collections: - ufrmath.computer_labs roles: - role: wol - role: install_apt - role: install_lutes_rdp - role: install_pip packages: - jupyterlab==3.6.1 - jupyterlab-lsp==3.10.2 - python-lsp-server[all]==1.7.1 - relife upgrade: yes - role: install_veyon remove_configurator: "{{ 'debug' not in group_names }}" show_all_hosts: "{{ 'debug' in group_names }}" install_private_key: "{{ 'master' in group_names }}"Run the playbook to install the software:
ansible-playbook -i hosts install-software.yml
Documentation
The playbook install-software.yml uses the following roles:
ufrmath.computer_labs.install_aptto install apt software;ufrmath.computer_labs.install_lutes_rdpto configure the RDP server provided by Sorbonne University;ufrmath.computer_labs.install_pipto install additional Python packages;ufrmath.computer_labs.install_veyonto install and configure Veyon.
Details
The main steps done automatically by the Ansible roles are detailed in a “manual” way: