Mark Goddard e0ff12eaef Fix kayobe overcloud provision without seed in limit
If you run 'kayobe overcloud provision' for the first time on a system,
and do not include the seed in the limit (e.g. --limit overcloud), then
the following error is seen:

    Destination directory /etc/kolla/bifrost/inventory/host_vars does
    not exist

This is because the first play in ansible/kolla-bifrost-hostvars.yml
executes against the seed. This is not ideal, as the --limit argment is
useful with this command, as a way to provision specific nodes.

This change fixes the issue by moving the initialisation tasks to the
second play which is targeted at the overcloud group. The run_once
parameter ensures it happens once.

Change-Id: I7dff72a50f0592a3564c9d84d684db562c30626a
Story: 2006757
Task: 37247
2019-11-11 09:47:20 +00:00
..
2018-06-06 12:45:51 +01:00
2019-08-15 11:01:49 +00:00
2017-05-29 16:52:17 +01:00
2019-02-01 12:22:19 +00:00