Updated for 0.7.0 breaking change
This commit is contained in:
parent
6620fe6a86
commit
951531df0c
@ -4,6 +4,7 @@
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/glance
|
||||
- /opt/stacks/glance/config
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
@ -15,7 +16,7 @@
|
||||
- name: Template out the config file
|
||||
ansible.builtin.template:
|
||||
src: glance.yml.j2
|
||||
dest: /opt/stacks/glance/glance.yml
|
||||
dest: /opt/stacks/glance/config/glance.yml
|
||||
owner: root
|
||||
mode: '0644'
|
||||
notify: restart glance
|
||||
|
@ -2,7 +2,7 @@ services:
|
||||
glance:
|
||||
image: glanceapp/glance
|
||||
volumes:
|
||||
- ./glance.yml:/app/glance.yml
|
||||
- ./config:/app/config
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
|
Loading…
x
Reference in New Issue
Block a user