mirror of
https://github.com/clearlinux/clear-config-management.git
synced 2026-09-06 05:32:00 +00:00
mgmt_net and compute_net use to be a scalar value. They are now a list of networks Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
ciao-controller
Ansible role to install the controller node for a CIAO cluster
This role configures the following components
- ciao scheduler
- ciao controller
Requirements
- A previously setup of the OpenStack Identity service. You can setup one with os-keystone role
Role Variables
The available variables for this roles are the variables from os-common and ciao-common plus the following:
Note: Mandatory variables are shown in bold
| Variable | Default Value | Description |
|---|---|---|
| ciao_controller_ip | {{ ansible_default_ipv4['address'] }} |
IP Address for CIAO controller node |
| ciao_mgmt_subnet | {{ ansible_default_ipv4['network'] }} |
CIAO management subnet |
| ciao_compute_subnet | {{ ciao_mgmt_subnet }} |
CIAO compute subnet |
| ciao_service_user | csr | OpenStack user for CIAO services |
| ciao_service_password | Password for ciao_service_user |
|
| ciao_admin_email | admin@example.com | CIAO administrator email address |
| ciao_cert_organization | Example Inc. | Name of the organization running the CIAO cluster |
| ciao_guest_user | demouser | CIAO virtual machines can be accessed with this username and it's public key |
| ciao_guest_key | ~/.ssh/id_rsa.pub | A path to an SSH public authentication key for ciao_guest_user |
WARNING: ciao_guest_user and ciao_guest_key are a temporary development feature. They give the developer running a dev/test ciao cluster superuser ssh access to all compute workload instances and also all cnci instances. In the future this will be removed when cloud-init and user specified workloads are enabled in the webui and cli.
Dependencies
Example Playbook
file ciao_controller.yml
- hosts: ciao_controller
roles:
- ciao-controller
file group_vars/all
keystone_fqdn: identity.example.com
keystone_admin_password: secret
ciao_service_user: csr
ciao_service_password: secret
ciao_guest_user: demouser
ciao_guest_key: ~/.ssh/id_rsa.pub
License
Apache-2.0
Author Information
This role was created by Alberto Murillo