FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 4cd11676 authored by msb's avatar msb
Browse files

Merge branch 'master' into docker-login

parents 75e730d5 f8e3fed4
No related branches found
No related tags found
1 merge request!15Implemented the docker-login common role
Pipeline #1009 passed
......@@ -22,5 +22,5 @@
dest: "/install-config/{{ inventory_hostname }}/{{ item.dst }}"
delegate_to: bes.csi.cam.ac.uk
with_items:
- { src: "{{ preseed_file_name }}", dst: "preseed.cfg" }
- { src: "{{ bes_preseed_file_name }}", dst: "preseed.cfg" }
- { src: ipxe.cfg, dst: ipxe.cfg }
......@@ -84,4 +84,5 @@
ufw:
state: enabled
policy: deny
direction: incoming
when: ansible_os_family == "Debian"
# Role: traefik
This role installs the traefik service to a docker swarm cluster. Traefik is a modern HTTP reverse
proxy and load balancer. Traefik integrates with docker swarm cluster and configures itself
automatically and dynamically.
## Dependencies
- `docker-swarm`
- `zookeeper`
## Role Variables
The following 2 variable should be configured if you wish to configure the traefik dashboard proxy
service for the purposes of authentication.
- `traefik_dashboard_lookup_group_id`
- `traefik_dashboard_proxy_cookie_key`
It is recommended that you configure this proxy.
## Running
Any special settings or constraints needed to run this role
eg
```yaml
- hosts: <some hosts>
become: true
roles:
- role: traefik
vars:
traefik_dashboard_host: "traefik.infra.<some project>.gcloud.automation.uis.cam.ac.uk"
```
# Role: zookeeper
This role installs the apache zookeeper service to a docker swarm cluster. Provides data synchronisation services to other
services distributed on the swarm cluster (eg. traefik).
## Dependencies
* `docker-swarm`
## Required vars
- `zookeeper_root`
A path to the root where zookeeper stores it's data.
## Running
Any special settings or constraints needed to run this role
eg
```yaml
- hosts: <some hosts>
become: true
roles:
- role: zookeeper
vars:
zookeeper_root: "/var/zookeeper"
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment