Switch reitanlage to offical grav image
This commit is contained in:
parent
28f2e9a33a
commit
48e88cbc9a
3 changed files with 3 additions and 18 deletions
|
|
@ -12,7 +12,7 @@ reitanlage_oranienburg_svc:
|
||||||
|
|
||||||
reitanlage_oranienburg_compose:
|
reitanlage_oranienburg_compose:
|
||||||
watchtower: false
|
watchtower: false
|
||||||
image: "{{ (container_registry.public, 'library/grav') | path_join }}"
|
image: getgrav/grav
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/www/html/
|
- data:/var/www/html/
|
||||||
file:
|
file:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
- name: Restart service {{ role_name }}
|
|
||||||
ansible.builtin.include_tasks: tasks/restart-service.yml
|
|
||||||
- name: Rebuild service {{ role_name }}
|
|
||||||
ansible.builtin.include_tasks: tasks/rebuild-service.yml
|
|
||||||
|
|
@ -7,15 +7,5 @@
|
||||||
svc: "{{ reitanlage_oranienburg_svc }}"
|
svc: "{{ reitanlage_oranienburg_svc }}"
|
||||||
compose: "{{ reitanlage_oranienburg_compose }}"
|
compose: "{{ reitanlage_oranienburg_compose }}"
|
||||||
block:
|
block:
|
||||||
- name: Import prepare tasks for common service
|
- name: Import tasks to deploy common service
|
||||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
ansible.builtin.import_tasks: tasks/deploy-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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue