php4dvd: Initial version of role
This commit is contained in:
parent
946c7d0772
commit
f664e0271b
5 changed files with 101 additions and 0 deletions
17
roles/php4dvd/handlers/main.yml
Normal file
17
roles/php4dvd/handlers/main.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- name: Rebuild php4dvd-container
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- podman
|
||||
- build
|
||||
- -t
|
||||
- php4dvd
|
||||
- /usr/local/src/docker-php4dvd
|
||||
become: true
|
||||
become_user: php4dvd
|
||||
notify: Restart php4dvd-container
|
||||
|
||||
- name: Restart php4dvd-container
|
||||
ansible.builtin.service:
|
||||
name: php4dvd-container
|
||||
state: restarted
|
Loading…
Add table
Add a link
Reference in a new issue