blob: a3bd3ffce1ba26515268599b655e9be71f21d390 [file] [log] [blame]
Hung-Wei Chiu6a075af2021-09-09 22:33:06 +00001---
2# keycloak tasks/Debian.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: Install Prerequisites Packages
8 apt:
9 name:
10 - "openjdk-{{ keycloak_java_version }}-jdk"
11 state: "present"
12 update_cache: true
13
14- name: Create systemd service unit files for keycloak services
15 template:
16 src: "{{ item }}.j2"
17 dest: "/etc/systemd/system/{{ item }}"
18 owner: "root"
19 group: "root"
20 mode: "0644"
21 with_items:
22 - keycloak.service