authcheck: Initial version of role
This commit is contained in:
parent
ed7535dd1a
commit
43c234d8cf
4 changed files with 84 additions and 0 deletions
17
roles/authcheck/handlers/main.yml
Normal file
17
roles/authcheck/handlers/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue