An ansible role that customizes Ubuntu for Quantum Mobile.
ansible-galaxy install marvel-nccr.quantum_mobile_customizations
See defaults/main.yml
- hosts: servers
roles:
- role: marvel-nccr.quantum_mobile_customizationsThis role uses Molecule and Docker for tests.
After installing Docker:
Clone the repository into a package named marvel-nccr.quantum_mobile_customizations (the folder must be named the same as the Ansible Galaxy name)
git clone https://github.com/marvel-nccr/ansible-role-quantum-mobile-customizations marvel-nccr.quantum_mobile_customizations
cd marvel-nccr.quantum_mobile_customizationsThen run:
pip install -r requirements.txt # Installs molecule
molecule test # runs testsor use tox (see tox.ini):
pip install tox
toxCode style is formatted and linted with pre-commit.
pip install pre-commit
pre-commit run -allDeployment 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.