blob: a3bd3ffce1ba26515268599b655e9be71f21d390 [file] [log] [blame]
---
# keycloak tasks/Debian.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
- name: Install Prerequisites Packages
apt:
name:
- "openjdk-{{ keycloak_java_version }}-jdk"
state: "present"
update_cache: true
- name: Create systemd service unit files for keycloak services
template:
src: "{{ item }}.j2"
dest: "/etc/systemd/system/{{ item }}"
owner: "root"
group: "root"
mode: "0644"
with_items:
- keycloak.service