This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #533 from deNBI/staging
Staging
- Loading branch information
Showing
9 changed files
with
109 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
- name: Wait for automatic system updates 1 | ||
shell: while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; done; | ||
|
||
- name: Wait for automatic system updates 2 | ||
shell: while sudo fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do sleep 1; done; | ||
|
||
- name: Update apt cache | ||
apt: | ||
update_cache: true | ||
become: yes | ||
|
||
- name: Install docker.io package | ||
apt: | ||
name: docker.io | ||
become: yes | ||
|
||
- name: Add ubuntu user to docker group | ||
user: | ||
name: ubuntu | ||
groups: docker | ||
append: yes | ||
become: yes | ||
|
||
- name: Install docker python dev package | ||
apt: | ||
name: python3-docker | ||
become: yes | ||
|
||
- name: Launch cwlab container | ||
community.general.docker_container: | ||
name: cwlab | ||
image: compepigen/cwlab:dev | ||
ports: | ||
- "{{ cwlab_vars.exposed_port }}:5000" | ||
volumes: | ||
- "{{ cwlab_vars.data_volume_path }}:/data" | ||
restart_policy: always | ||
user: 1000:1000 | ||
recreate: yes | ||
container_default_behavior: no_defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cwlab_vars: | ||
exposed_port: 80 | ||
data_volume_path: /home/ubuntu/cwlab-data/ | ||
template_version: | ||
create_only_backend: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ ruamel.yaml<0.17.0 | |
paramiko==2.7.2 | ||
pyvim==3.0.2 | ||
redis==3.5.3 | ||
requests==2.24.0 | ||
requests==2.25.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters