This commit is contained in:
2021-06-24 14:17:16 +02:00
parent e979ea4d6e
commit 9237d736d8
2 changed files with 16 additions and 8 deletions

View File

@@ -65,15 +65,20 @@
tags: docker
- name: "get facts from existing cobald instance (i.e. hostname)"
import_role:
include_role:
name: cobald
tasks_from: facts
apply:
tags: slurm, cobald, slurm-config
tags: slurm, cobald, slurm-config
vars:
container_name: cobald
tags: [ slurm, cobald ]
- name: "setup slurm test environment in docker containers"
import_role: name=slurm
include_role:
name: slurm
apply:
tags: slurm
vars:
slurm_user: slurm # or root
slurm_user_accounts:
@@ -95,13 +100,16 @@
# the network name in host environment. We should run our own dns...
docker_network: slurm
when: '"slurm" in group_names'
tags: slurm
tags: slurm, slurm-config
- name: "install cobald"
import_role: name=cobald
include_role:
name: cobald
apply:
tags: cobald
vars:
cobald_slurm: True
container_name: cobald
# docker_network: slurm # overriden by vars/slurm.yml
when: '"cobald" in group_names'
tags: cobald
tags: cobald, influxdb