Run service_setup only once
There's no reason to run service_setup for each magnum container as it's enough to be done once. So we're including role only when it's first host in the play. Change-Id: I8f282d4a284e0de395081251f6622df0c1daeeb3
This commit is contained in:
parent
2604f534a8
commit
407e3d74b2
|
@ -68,5 +68,7 @@
|
|||
- name: "{{ magnum_service_name }}"
|
||||
type: "{{ magnum_service_type }}"
|
||||
description: "{{ magnum_service_description }}"
|
||||
when:
|
||||
- "_magnum_is_first_play_host"
|
||||
tags:
|
||||
- always
|
||||
|
|
Loading…
Reference in New Issue