Skip to content

Commit

Permalink
Fix role name
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Jul 25, 2022
1 parent cc746ef commit d137fd6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
galaxy-name: "marvel-nccr.aiida-cws"
galaxy-name: "marvel-nccr.aiida_cws"

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'v*'

env:
galaxy-name: "marvel-nccr.aiida-cws"
galaxy-name: "marvel-nccr.aiida_cws"

jobs:

Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Release](https://img.shields.io/github/tag/marvel-nccr/ansible-role-aiida-cws.svg)](https://github.com/marvel-nccr/ansible-role-aiida-cws/releases)
<!-- [![Ansible Role](https://img.shields.io/ansible/role/25521.svg)](https://galaxy.ansible.com/marvel-nccr/aiida-cws) -->

# Ansible Role: marvel-nccr.aiida-cws
# Ansible Role: marvel-nccr.aiida_cws

An Ansible role that installs and configures an environment for running the [AiiDA common-workflows](https://github.com/aiidateam/aiida-common-workflows) on Linux Ubuntu (with a bash shell).

Expand All @@ -28,7 +28,7 @@ The of the conda package and environment manager allows for fast installation of

## Installation

`ansible-galaxy install marvel-nccr.aiida-cws`
`ansible-galaxy install marvel-nccr.aiida_cws`

## Role Variables

Expand All @@ -39,7 +39,7 @@ See `defaults/main.yml`
```yaml
- hosts: servers
roles:
- role: marvel-nccr.aiida-cws
- role: marvel-nccr.aiida_cws
vars:
aiida_timezone_name: Europe/Zurich # to set a certain timezone for AiiDA
aiida_create_swapfile: true # create a swapfile for RAM overflow, non-containers only
Expand All @@ -52,7 +52,7 @@ If you want to install SLURM and use it as the scheduler, you can use e.g.:
- hosts: servers
roles:
- role: marvel-nccr.slurm
- role: marvel-nccr.aiida-cws
- role: marvel-nccr.aiida_cws
vars:
aiida_timezone_name: Europe/Zurich
aiida_create_swapfile: true
Expand Down Expand Up @@ -198,11 +198,11 @@ This role uses [Molecule](https://molecule.readthedocs.io/en/latest/#) and [Dock

After installing [Docker](https://www.docker.com/):

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

```bash
git clone https://github.com/marvel-nccr/ansible-role-aiida-cws marvel-nccr.aiida-cws
cd marvel-nccr.aiida-cws
git clone https://github.com/marvel-nccr/ansible-role-aiida-cws marvel-nccr.aiida_cws
cd marvel-nccr.aiida_cws
```

Then run:
Expand Down Expand Up @@ -255,6 +255,7 @@ Please direct inquiries regarding Quantum Mobile and associated ansible roles to
- Get <https://github.com/quanshengwu/wannier_tools> on Conda, to replace `marvel-nccr.wannier_tools`
- allow for source install of aiida-core (as previous)
- output "raw" pseudo-potential files to aiida_data_folder_user
- running `apt: upgrade: true` does actually allow for timezone to be set

- run code tests (how to check success <https://github.com/aiidateam/aiida-common-workflows/issues/289>?):
- `aiida-common-workflows launch relax abinit -S Si -X abinit.main -n 2`
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
allow_duplicates: false

galaxy_info:
role_name: aiida-cws
role_name: aiida_cws
author: "MARVEL NCCR"
# yamllint disable-line rule:line-length
description: "An Ansible role that installs and configures an environment for running the AiiDA common-workflows"
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
aiida_allow_mpi_on_root: true

roles:
- role: "marvel-nccr.aiida-cws"
- role: "marvel-nccr.aiida_cws"

0 comments on commit d137fd6

Please sign in to comment.