tags
This commit is contained in:
20
play.yml
20
play.yml
@@ -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
|
||||
|
@@ -71,7 +71,7 @@
|
||||
- name: "{{slurm_prefix+'-submit1'}}"
|
||||
alloc_nodes: "{{ slurm_alloc_nodes_default + extra_nodes | default([])}}"
|
||||
notify: reconfigure slurm
|
||||
tags: [ slurm-config ]
|
||||
tags: slurm-config
|
||||
|
||||
- name: "create docker network to make service discovery work"
|
||||
docker_network:
|
||||
@@ -110,7 +110,7 @@
|
||||
loop: "{{ slurm_nodes_all }}"
|
||||
loop_control:
|
||||
label: "{{slurm_prefix}}-{{ item.machine }}"
|
||||
tags: [ slurm-config ]
|
||||
tags: slurm-config
|
||||
|
||||
- name: export facts about slurm cluster to be used by other modules
|
||||
set_fact:
|
||||
|
Reference in New Issue
Block a user