Skip to content
Snippets Groups Projects
Commit 5127c935 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Allow mariadb role to pull images"

parents 38188c6b bdc0f531
No related branches found
No related tags found
No related merge requests found
---
- include: config.yml
- include: bootstrap.yml
- include: start.yml
# We use register as a test to see whether the database is active and ready to
# communicate. This run on all hosts that have a database and attempts to talk
# to the local database rather than the vip,
- include: register.yml
# This will restart the container we initially used to bootstrap the cluster to
# make it match the other containers environment-wise. This also prevents a
# change from showing up when rerunning the playbooks
- include: start.yml
# Since the last start.yml may have recreated some containers we must wait and
# check the health again to ensure the hosts are active.
- include: register.yml
---
- include: config.yml
- include: bootstrap.yml
- include: start.yml
# We use register as a test to see whether the database is active and ready to
# communicate. This run on all hosts that have a database and attempts to talk
# to the local database rather than the vip,
- include: register.yml
# This will restart the container we initially used to bootstrap the cluster to
# make it match the other containers environment-wise. This also prevents a
# change from showing up when rerunning the playbooks
- include: start.yml
# Since the last start.yml may have recreated some containers we must wait and
# check the health again to ensure the hosts are active.
- include: register.yml
- include: "{{ action }}.yml"
---
- name: Pulling mariadb image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mariadb_image_full }}"
when: inventory_hostname in groups['mariadb']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment