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

15 lines
327 B
YAML

- name: Create working directory
file:
path: /srv/shephard
state: directory
- name: Copy Docker stack file
copy:
src: "{{ role_path }}/docker-stack.yml"
dest: /srv/shephard/docker-stack.yml
- name: Deploy Docker stack
docker_stack:
name: shephard
compose:
- /srv/shephard/docker-stack.yml