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