Skip to content

Commit

Permalink
Several renames: (#10)
Browse files Browse the repository at this point in the history
- AiiDA lab to AiiDAlab
- `marvel-nccr.` to `aiidalab.`
  • Loading branch information
yakutovicha authored Aug 30, 2022
1 parent 76bec8c commit 52a2c03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[![Build Status](https://travis-ci.org/aiidalab/ansible-playbook-aiidalab-server.svg?branch=master)](https://travis-ci.org/aiidalab/ansible-playbook-aiidalab-server)
[![Release](https://img.shields.io/github/tag/aiidalab/ansible-playbook-aiidalab-server.svg)](https://github.com/aiidalab/ansible-playbook-aiidalab-server/releases)

# Ansible playbook for AiiDA Lab Server
# Ansible playbook for AiiDAlab Server

This is an [ansible](https://www.ansible.com/overview/how-ansible-works) playbook for setting up a multi-user [AiiDA lab](https://aiidalab.materialscloud.org)
This is an [ansible](https://www.ansible.com/overview/how-ansible-works) playbook for setting up a multi-user [AiiDAlab](https://aiidalab.materialscloud.org)
either on a physical server or on a virtual machine (e.g. on Amazon Web Services or OpenStack).

### Prerequisites
Expand Down Expand Up @@ -42,11 +41,11 @@ In order to disable the creation of new users, set `aiidalab_server_create_users

## Modifying the user environment

By default, the playbook will simply pull the docker image for the AiiDA lab accounts from the [DockerHub registry](https://hub.docker.com/r/aiidalab/aiidalab-docker-stack).
By default, the playbook will simply pull the docker image for the AiiDAlab accounts from the [DockerHub registry](https://hub.docker.com/r/aiidalab/aiidalab-docker-stack).

If you would like to modify the user environment (e.g. to install additional packages), uncomment the `aiidalab_server_build_locally: true` line in the playbook and run the ansible playbook again.

This will cause the `marvel-nccr.aiidalab_server` role to clone the git repository containing the `Dockerfile` and build the docker image locally from it. You can then update the image by modifying the `Dockerfile` on the server:
This will cause the `aiidalab.aiidalab_server` role to clone the git repository containing the `Dockerfile` and build the docker image locally from it. You can then update the image by modifying the `Dockerfile` on the server:

```
ssh aiidalab # ssh into your aiida lab server
Expand Down
9 changes: 2 additions & 7 deletions playbook.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
---
# - name: Install ansible prerequisites
# hosts: openstack
# gather_facts: no
# roles:
# - role: marvel-nccr.ansible_prerequisites

- name: Set up AiiDA lab server
- name: Set up AiiDAlab server
hosts: all
roles:
- role: marvel-nccr.aiidalab_server
- role: aiidalab.aiidalab_server
tags: aiidalab_server
vars:
# Change to "False" in order to prevent creation of new accounts
Expand Down

0 comments on commit 52a2c03

Please sign in to comment.