This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/roles/kms/tasks/main.yml

15 lines
361 B
YAML
Raw Normal View History

2023-01-03 18:12:40 +00:00
- name: Create app directory
file:
2023-01-07 19:32:42 +00:00
path: "{{ service_dir }}"
2023-01-03 18:12:40 +00:00
state: directory
- name: Copy Docker Compose script
copy:
src: "{{ role_path }}/files/docker-compose.yml"
2023-01-07 19:32:42 +00:00
dest: "{{ service_dir }}/docker-compose.yml"
2023-01-03 18:12:40 +00:00
- name: Start the Docker Compose
2023-01-07 18:08:49 +00:00
docker_compose:
2023-01-07 19:32:42 +00:00
project_src: "{{ service_dir }}"
2023-01-03 18:12:40 +00:00
pull: true
remove_orphans: true