This commit is contained in:
2022-10-22 22:32:11 -04:00
parent f68f57d0cf
commit 79e1cdd5bc
4 changed files with 56 additions and 0 deletions

16
roles/kutt/tasks/main.yml Normal file
View File

@@ -0,0 +1,16 @@
- name: Create Kutt directory
file:
path: "{{ kutt_root }}"
state: directory
- name: Install Kutt's docker-compose file
template:
src: docker-compose.yml.j2
dest: "{{ kutt_root }}/docker-compose.yml"
notify: restart_kutt
- name: Install Kutt's docker-compose variables
template:
src: compose-env.j2
dest: "{{ kutt_root }}/.env"
notify: restart_kutt