Skip to content
Snippets Groups Projects
check-containers.yml 587 B
Newer Older
- name: Check opensearch containers
  kolla_container:
    action: "compare_container"
    common_options: "{{ docker_common_options }}"
    dimensions: "{{ item.value.dimensions }}"
    environment: "{{ item.value.environment | default(omit) }}"
    healthcheck: "{{ item.value.healthcheck | default(omit) }}"
    name: "{{ item.value.container_name }}"
    image: "{{ item.value.image }}"
    volumes: "{{ item.value.volumes }}"
  with_dict: "{{ opensearch_services | select_services_enabled_and_mapped_to_host }}"
  notify:
    - "Restart {{ item.key }} container"