Convert memcache to kolla_docker

Change-Id: Id5935d4d47999f05aa13b6284f11ae78564b60cc
Partially-Implements: blueprint kolla-docker-module
This commit is contained in:
SamYaple 2015-12-25 22:37:07 +00:00
parent a6eba02256
commit a84030d66e

View File

@ -1,19 +1,9 @@
--- ---
- name: Starting memcached container - name: Starting memcached container
docker: kolla_docker:
tty: True action: "start_container"
net: host common_options: "{{ docker_common_options }}"
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: memcached
image: "{{ memcached_image_full }}" image: "{{ memcached_image_full }}"
name: "memcached"
volumes: "{{ node_config_directory }}/memcached/:{{ container_config_directory }}/:ro" volumes: "{{ node_config_directory }}/memcached/:{{ container_config_directory }}/:ro"
env:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
when: inventory_hostname in groups['memcached'] when: inventory_hostname in groups['memcached']