copy docker-compose.yml

This commit is contained in:
Jean-Marie Mineau 2021-01-24 22:42:56 +01:00
parent 4563cc51c4
commit e9701f527c
3 changed files with 19 additions and 0 deletions

View file

@ -4,3 +4,4 @@
- hosts: test
roles:
- install_docker
- install_keycloak

View file

@ -0,0 +1,8 @@
---
- name: Copy docker-compose.yml
template:
src: docker-compose.yml.j2
dest: /var/local/keycloak/docker-compose.yml
mode: 0644
owner: root
group: staff

View file

@ -0,0 +1,10 @@
# {{ ansible_managed }}
version: "3.8"
services:
server:
image: jboss/keycloak
container_name: keycloak
restart: always
ports:
- "80:8080"