removed cobald_facts module

This commit is contained in:
2021-06-21 21:34:24 +02:00
parent e78e184375
commit f83801cb62
3 changed files with 11 additions and 7 deletions

View File

@@ -59,17 +59,21 @@
vars: vars:
container_privileged: True container_privileged: True
slurm_num_nodes: 10 slurm_num_nodes: 10
roles: tasks:
- name: "setup docker" - name: "setup docker"
role: docker import_role: name=docker
tags: docker tags: docker
- name: "get facts from existing cobald instance (i.e. hostname)" - name: "get facts from existing cobald instance (i.e. hostname)"
role: cobald_facts import_role:
name: cobald
tasks_from: facts
vars: vars:
container_name: cobald container_name: cobald
tags: [ slurm, cobald ] tags: [ slurm, cobald ]
- name: "setup slurm test environment in docker containers" - name: "setup slurm test environment in docker containers"
role: slurm import_role: name=slurm
vars: vars:
slurm_user: slurm # or root slurm_user: slurm # or root
num_nodes: "{{slurm_num_nodes}}" num_nodes: "{{slurm_num_nodes}}"
@@ -78,8 +82,9 @@
docker_network: slurm docker_network: slurm
when: '"slurm" in group_names' when: '"slurm" in group_names'
tags: slurm tags: slurm
- name: "install cobald" - name: "install cobald"
role: cobald import_role: name=cobald
vars: vars:
cobald_slurm: True cobald_slurm: True
container_name: cobald container_name: cobald

View File

@@ -111,8 +111,7 @@
- import_tasks: telegraf.yml - import_tasks: telegraf.yml
- name: get cobald hostname - name: get cobald hostname
include_role: include_tasks: facts.yml
name: cobald_facts
when: cobald_container_hostname is not defined when: cobald_container_hostname is not defined
- name: run cobald container - name: run cobald container