Fix deploy-containers command for mariadb

The MariaDB handlers require master_host to be set.

TrivialFix

Change-Id: I162efbd9e615b86dcdc6e8a4af081cda2f8b0b2b
This commit is contained in:
Mark Goddard 2019-10-25 17:19:57 +00:00
parent ade4f4eeb4
commit a6372a66f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
---
- set_fact:
- name: Set a fact about the master host
set_fact:
master_host: "{{ groups['mariadb'][0] }}"
- include_tasks: lookup_cluster.yml

View File

@ -1,2 +1,6 @@
---
- name: Set a fact about the master host
set_fact:
master_host: "{{ groups['mariadb'][0] }}"
- import_tasks: check-containers.yml