Run kolla-ansible configuration in host configure
This ensures that kolla-ansible is properly configured to run the bootstrap-servers command.
This commit is contained in:
parent
fe6c6a3ac6
commit
664dcf5d5a
@ -289,6 +289,8 @@ class SeedHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
|
|||||||
"dev-tools", "disable-selinux", "network", "ip-routing", "snat",
|
"dev-tools", "disable-selinux", "network", "ip-routing", "snat",
|
||||||
"disable-glean", "ntp", "lvm")
|
"disable-glean", "ntp", "lvm")
|
||||||
self.run_kayobe_playbooks(parsed_args, playbooks, limit="seed")
|
self.run_kayobe_playbooks(parsed_args, playbooks, limit="seed")
|
||||||
|
playbooks = _build_playbook_list("kolla-ansible")
|
||||||
|
self.run_kayobe_playbooks(parsed_args, playbooks, tags="config")
|
||||||
self.run_kolla_ansible_seed(parsed_args, "bootstrap-servers",
|
self.run_kolla_ansible_seed(parsed_args, "bootstrap-servers",
|
||||||
extra_vars={"ansible_user": ansible_user})
|
extra_vars={"ansible_user": ansible_user})
|
||||||
playbooks = _build_playbook_list("kolla-host", "docker")
|
playbooks = _build_playbook_list("kolla-host", "docker")
|
||||||
@ -424,6 +426,8 @@ class OvercloudHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
|
|||||||
"dev-tools", "disable-selinux", "network", "disable-glean", "ntp",
|
"dev-tools", "disable-selinux", "network", "disable-glean", "ntp",
|
||||||
"lvm")
|
"lvm")
|
||||||
self.run_kayobe_playbooks(parsed_args, playbooks, limit="overcloud")
|
self.run_kayobe_playbooks(parsed_args, playbooks, limit="overcloud")
|
||||||
|
playbooks = _build_playbook_list("kolla-ansible")
|
||||||
|
self.run_kayobe_playbooks(parsed_args, playbooks, tags="config")
|
||||||
extra_vars = {"ansible_user": ansible_user}
|
extra_vars = {"ansible_user": ansible_user}
|
||||||
self.run_kolla_ansible_overcloud(parsed_args, "bootstrap-servers",
|
self.run_kolla_ansible_overcloud(parsed_args, "bootstrap-servers",
|
||||||
extra_vars=extra_vars)
|
extra_vars=extra_vars)
|
||||||
|
Loading…
Reference in New Issue
Block a user