Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 1.84 KB

README.md

File metadata and controls

75 lines (48 loc) · 1.84 KB

CI Ansible Role Release

Ansible Role: marvel-nccr.bigdft

An Ansible role that installs BigDFT on Ubuntu.

Installation

ansible-galaxy install marvel-nccr.bigdft

Role Variables

See defaults/main.yml

Example Playbook

- hosts: servers
  roles:
  - role: marvel-nccr.bigdft

Development and testing

This role uses Molecule and Docker for tests.

After installing Docker:

Clone the repository into a package named marvel-nccr.bigdft (the folder must be named the same as the Ansible Galaxy name)

git clone https://github.com/marvel-nccr/ansible-role-bigdft marvel-nccr.bigdft
cd marvel-nccr.bigdft

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

Code style is formatted and linted with pre-commit.

pip install pre-commit
pre-commit run -all

Deployment

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.

License

MIT

BigDFT code is licensed under GNU GPL v2

Contact

Please direct inquiries regarding Quantum Mobile and associated ansible roles to the AiiDA mailinglist.