An ansible role that installs & configures Ubuntu desktop on plain Ubuntu.
ansible-galaxy install marvel-nccr.ubuntu_desktop
See defaults/main.yml
- hosts: servers
roles:
- role: marvel-nccr.ubuntu_desktop
vars:
ubuntu_desktop_vm_user: "{{ vm_user }}"
ubuntu_desktop_browser: "{{ vm_browser }}"
ubuntu_desktop_wm_package: "{{ vm_wm_package }}" # e.g. lxde, ubuntu-desktop, ubuntu-desktop-minimal
This role uses Molecule and Docker for tests.
After installing Docker:
Clone the repository into a package named marvel-nccr.ubuntu_desktop
(the folder must be named the same as the Ansible Galaxy name)
git clone https://github.com/marvel-nccr/ansible-role-ubuntu-desktop marvel-nccr.ubuntu_desktop
cd marvel-nccr.ubuntu_desktop
Then run:
pip install -r requirements.txt # Installs molecule
molecule test # runs tests
or use tox (see tox.ini
):
pip install tox
tox
Code style is formatted and linted with pre-commit.
pip install pre-commit
pre-commit run -all
Deployment to Ansible Galaxy is automated via GitHub Actions.
Simply tag a release vX.Y.Z
to initiate the CI and release workflow.
Note, the release will only complete if the CI tests pass.
MIT
Please direct inquiries regarding Quantum Mobile and associated ansible roles to the AiiDA mailinglist.