commands.py: Added yum role to host configure.

This commit is contained in:
Jonathan Davies 2017-11-01 10:42:27 +00:00
parent 0b8bd70a5b
commit 1a73fca04c

View File

@ -559,6 +559,7 @@ class OvercloudHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
* Configure the host's network interfaces. * Configure the host's network interfaces.
* Set sysctl parameters. * Set sysctl parameters.
* Disable bootstrap interface configuration. * Disable bootstrap interface configuration.
* Configure YUM repos.
* Configure NTP. * Configure NTP.
* Configure LVM volumes. * Configure LVM volumes.
* Configure a user account for kolla-ansible. * Configure a user account for kolla-ansible.
@ -589,7 +590,7 @@ class OvercloudHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
playbooks += _build_playbook_list("wipe-disks") playbooks += _build_playbook_list("wipe-disks")
playbooks += _build_playbook_list( playbooks += _build_playbook_list(
"users", "dev-tools", "disable-selinux", "network", "sysctl", "users", "dev-tools", "disable-selinux", "network", "sysctl",
"disable-glean", "ntp", "lvm") "disable-glean", "yum", "ntp", "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") playbooks = _build_playbook_list("kolla-ansible")
self.run_kayobe_playbooks(parsed_args, playbooks, tags="config") self.run_kayobe_playbooks(parsed_args, playbooks, tags="config")