Run service_setup only once

Currently we're executing os_keystone_role against all horizon hosts,
while we need to execute it just once. Thist patch fixes this behaviour.

Change-Id: Ie93cb1b805c67ae382ac722378b526bbd1779ed5
This commit is contained in:
Dmitriy Rabotyagov 2020-04-13 15:16:25 +03:00
parent dfce587e72
commit 5f1c6eb018

View File

@ -77,6 +77,9 @@
- horizon-ssl - horizon-ssl
- import_tasks: horizon_service_setup.yml - import_tasks: horizon_service_setup.yml
when:
- ('horizon_all' in group_names)
- inventory_hostname == groups['horizon_all'][0]
tags: tags:
- horizon-config - horizon-config