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:
|
||||
watchtower: false
|
||||
image: "{{ (container_registry.public, 'library/grav') | path_join }}"
|
||||
image: getgrav/grav
|
||||
volumes:
|
||||
- data:/var/www/html/
|
||||
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 }}"
|
||||
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
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue