commit
d3bc79aac4
@ -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`.
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,11 @@
|
||||
---
|
||||
- name: Ensure package dependencies are installed
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
loop: "{{ vbmcd_packages }}"
|
||||
become: true
|
||||
|
||||
- name: Ensure Python requirements are installed
|
||||
pip:
|
||||
requirements: "{{ '/'.join([role_path, 'files', 'requirements.txt']) }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user