Install software on lab's computers

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

  1. Adjust the content of the playbook install-software.yml to 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 }}"
    
  2. Run the playbook to install the software:

    ansible-playbook -i hosts install-software.yml
    

Documentation

The playbook install-software.yml uses the following roles:

Details

The main steps done automatically by the Ansible roles are detailed in a “manual” way: