diff --git a/.github/workflows/ansible-test-plugins.yml b/.github/workflows/ansible-test-plugins.yml index eb0db1b..11efeae 100644 --- a/.github/workflows/ansible-test-plugins.yml +++ b/.github/workflows/ansible-test-plugins.yml @@ -94,7 +94,7 @@ jobs: - 3307:3306 # We write our own health-cmd because the mariadb container does not # provide a healthcheck - options: &healthcheck > + options: > --health-cmd mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1 @@ -104,14 +104,20 @@ jobs: MARIADB_ROOT_PASSWORD: msandbox ports: - 3308:3306 - options: *healthcheck + options: > + --health-cmd mysqladmin ping -P 3306 -pmsandbox + | grep alive + || exit 1 db_replica2: image: mariadb:10.5 env: MARIADB_ROOT_PASSWORD: msandbox ports: - 3309:3306 - options: *healthcheck + options: > + --health-cmd mysqladmin ping -P 3306 -pmsandbox + | grep alive + || exit 1 steps: - name: >-