Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIfR-BDG
edd_provisioning
Commits
6bf21d0f
Commit
6bf21d0f
authored
Nov 13, 2020
by
Tobias Winchen
Browse files
Split basic configuration into generic and site pecific parts
parent
c48379c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
basic_configuration.yml
View file @
6bf21d0f
---
# Playbook to apply the basic configuration to the system to connect to docker
# registry.
# basic configuration / role out of the EDD to a site.
# The configuration in here should be generic, site specific settings should go
# into a dedicated configuration file. This file should thus be imported
########################################################################
-
name
:
Additional bare metal configuration -- all nodes
-
name
:
Ensure docker registry is available
hosts
:
registry
roles
:
-
docker_registry
-
name
:
Ensure access of all nodes to docker registry
hosts
:
all
vars
:
ansible_ssh_user
:
root
...
...
@@ -17,20 +24,16 @@
copy
:
src
:
data/registry.crt
dest
:
"
/etc/docker/certs.d/{{
docker_registry
}}:{{
docker_registry_port
}}/registry.crt"
tags
:
-
baremetal
-
never
-
name
:
Additional bare metal configuration -- GPU Nodes
hosts
:
gpu_server
vars
:
ansible_ssh_user
:
root
roles
:
-
gpu_node
tags
:
-
baremetal
-
never
#- name: Additional bare metal configuration -- GPU Nodes
# hosts: gpu_server
# vars:
# ansible_ssh_user: root
# roles:
# - gpu_node
# tags:
# - baremetal
# - never
########################################################################
-
name
:
Generate local security relevant data
...
...
@@ -46,7 +49,7 @@
-
never
########################################################################
-
name
:
Build base image
hosts
:
gpu_server[0]
gather_facts
:
no
...
...
@@ -60,38 +63,25 @@
-
buildbase
-
never
########################################################################
-
name
:
setup control server basic services
hosts
:
dev_server
hosts
:
redis
gather_facts
:
no
roles
:
-
docker_registry
-
redis_storage
-
dhcp
-
logspout
-
name
:
setup control server
hosts
:
dev_server
gather_facts
:
no
roles
:
-
edd_master_controller
-
effelsberg_status_server
########################################################################
-
name
:
setup worker nodes
hosts
:
gpu_server
gather_facts
:
no
roles
:
-
ansible_interface
-
logspout
########################################################################
-
name
:
launch monitoring
hosts
:
dev_server
gather_facts
:
yes
-
name
:
launch influx
hosts
:
influx
roles
:
-
influxdb_storage
-
name
:
launch grafana
hosts
:
grafana
roles
:
-
grafana_monitoring
effelsberg/hosts
View file @
6bf21d0f
...
...
@@ -13,3 +13,19 @@ all:
interface:
hosts:
edd00
redis:
hosts:
registry
redis:
hosts:
edd01
grafana:
hosts:
edd01
influx:
hosts:
edd01
effelsberg_config.yml
0 → 100644
View file @
6bf21d0f
---
-
name
:
setup control server
hosts
:
interface
gather_facts
:
no
roles
:
-
edd_master_controller
-
effelsberg_status_server
-
name
:
use logspout to centralize logging
hosts
:
all
roles
:
-
logspout
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment