kdc: Move KDC to run in container
This commit is contained in:
parent
0c00037cf2
commit
9c083ebb81
10 changed files with 71 additions and 119 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue