ansible/roles/install_keycloak/tasks/main.yml

19 lines
358 B
YAML
Raw Normal View History

2021-01-24 22:42:56 +01:00
---
2021-01-24 22:51:16 +01:00
- name: Ensure the directory exist
file:
path: /var/local/keycloak
state: directory
2021-01-24 22:42:56 +01:00
- name: Copy docker-compose.yml
template:
src: docker-compose.yml.j2
dest: /var/local/keycloak/docker-compose.yml
mode: 0644
owner: root
group: staff
2021-01-24 23:18:59 +01:00
- name: Start the container
docker_compose:
project_src: /var/local/keycloak