authcheck: Initial version of role

This commit is contained in:
Timo Makinen 2023-01-29 17:15:34 +00:00
parent ed7535dd1a
commit 43c234d8cf
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
- name: Rebuild authcheck-container
ansible.builtin.command:
argv:
- podman
- build
- -t
- authcheck
- /usr/local/src/docker-authcheck
become: true
become_user: authcheck
notify: Restart authcheck-container
- name: Restart authcheck-container
ansible.builtin.service:
name: authcheck-container
state: restarted