Merge remote-tracking branch 'origin/master' into ironic-enrolment

Conflicts:
	ansible/deploy.yml
This commit is contained in:
Will Miller 2018-09-06 08:38:08 +00:00
commit 666f294c20
7 changed files with 22 additions and 9 deletions

View File

@ -15,4 +15,4 @@ installed inside it, Tenks' role dependencies can be installed by
Currently, Tenks does not have a CLI or wrapper. A virtual cluster can be
deployed by configuring the variables defined in `group_vars/*` as necessary,
then calling `ansible-playbook --inventory ansible/inventory deploy.yml`.
then calling `ansible-playbook --inventory ansible/inventory ansible/deploy.yml`.

View File

@ -5,7 +5,8 @@
- hosts: libvirt
tasks:
- include_role:
- name: Configure host for Libvirt
include_role:
name: stackhpc.libvirt-host
vars:
libvirt_host_pools:

View File

@ -28,10 +28,10 @@
state: running
enabled: true
become: true
# Return code 127 means the command does not exist. Do this check to avoid
# installing Open vSwitch system-wide if the command already exists as a link
# to a containerised version of OVS.
when: ovs_vsctl_check.rc == 127
# Assume a non-zero return code means the command does not exist. Do this
# check to avoid installing Open vSwitch system-wide if the command already
# exists as a link to a containerised version of OVS.
when: ovs_vsctl_check.rc != 0
- name: Configure physical networks
include_tasks: physical_network.yml

View File

@ -40,6 +40,7 @@
- name: Ensure Open vSwitch bridge exists
openvswitch_bridge:
bridge: "{{ tenks_bridge }}"
become: true
- name: Connect to existing Linux bridge
when: source_type == 'linux_bridge'

View File

@ -1,4 +1,9 @@
---
# List of package dependencies to install.
# TODO: Make platform-independent.
vbmcd_packages:
- gcc
- libvirt-devel
# The path to the virtualenv in which to install Virtual BMC.
vbmcd_virtualenv_path:
# The URL of the upper constraints file to pass to pip when installing Python

View File

@ -1,7 +1,10 @@
---
- name: Set service name
set_fact:
service: vbmcd
- name: Ensure package dependencies are installed
package:
name: "{{ item }}"
state: installed
loop: "{{ vbmcd_packages }}"
become: true
- name: Ensure Python requirements are installed
pip:

View File

@ -0,0 +1,3 @@
---
# The name of the Virtual BMC daemon systemd service.
service: vbmcd