kdc: Move KDC to run in container

This commit is contained in:
Timo Makinen 2022-02-24 21:44:48 +00:00
parent 0c00037cf2
commit 9c083ebb81
10 changed files with 71 additions and 119 deletions

View file

@ -1,5 +1,17 @@
---
- name: restart kdc
service:
name: krb5kdc
- name: rebuild kdc-container
ansible.builtin.command:
argv:
- podman
- build
- -t
- kdc
- /usr/local/src/docker-kdc
become: true
become_user: kdc
notify: restart kdc-container
- name: restart kdc-container
ansible.builtin.service:
name: kdc-container
state: restarted