21 lines
751 B
YAML
21 lines
751 B
YAML
---
|
|
- name: Set common facts
|
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
|
|
|
- name: Deploy {{ role_name }}
|
|
vars:
|
|
svc: "{{ reitanlage_oranienburg_svc }}"
|
|
compose: "{{ reitanlage_oranienburg_compose }}"
|
|
block:
|
|
- name: Import prepare tasks for common service
|
|
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
|
|
|
- name: Get the Dockerfile
|
|
ansible.builtin.get_url:
|
|
url: https://raw.githubusercontent.com/getgrav/docker-grav/master/Dockerfile
|
|
dest: "{{ (service_path, 'Dockerfile') | path_join }}"
|
|
mode: "0644"
|
|
notify: Rebuild service {{ role_name }}
|
|
|
|
- name: Import start tasks for common service
|
|
ansible.builtin.import_tasks: tasks/start-common-service.yml
|