Allow memcached role to pull images
Change-Id: I860af348b126979fa756f89c6fac769c750be85a Partially-Implements: blueprint pre-pull-images
This commit is contained in:
parent
bdc0f531e7
commit
b6ac0b2eef
4
ansible/roles/memcached/tasks/deploy.yml
Normal file
4
ansible/roles/memcached/tasks/deploy.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
- include: config.yml
|
||||||
|
|
||||||
|
- include: start.yml
|
@ -1,4 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: config.yml
|
- include: "{{ action }}.yml"
|
||||||
|
|
||||||
- include: start.yml
|
|
||||||
|
7
ansible/roles/memcached/tasks/pull.yml
Normal file
7
ansible/roles/memcached/tasks/pull.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: Pulling memcached image
|
||||||
|
kolla_docker:
|
||||||
|
action: "pull_image"
|
||||||
|
common_options: "{{ docker_common_options }}"
|
||||||
|
image: "{{ memcached_image_full }}"
|
||||||
|
when: inventory_hostname in groups['memcached']
|
Loading…
Reference in New Issue
Block a user