Skip to content

zerovm/chef-rax-public

Repository files navigation

Description

This is a playbook to install swift with the zerocloud middleware and ui enabled.

Notes

Pending ansible pull request ansible/ansible#3930

The rax module will need to be patched in the interim to support disk_config.

You'll need a version of ansible with the rax module and the pyrax libraryinstalled.

Constantine:
As I get no love from Ansible team for some reason, for now it's better to use our Ansible fork at https://github.com/zerovm/ansible.git
It has both parted and parted_facts modules and all the rax fixes

How to setup

  1. Create/choose ssh key for the new servers, let's denote its location by PRV_KEY and its name by KEY_NAME

  2. Create/choose PyRax credentials file for your account, it usually looks like this:

    [rackspace_cloud]
     username = my_username
     api_key = 11111111111111111111111
     identity_type = rackspace
  3. Copy rackspace_vars.yaml.example to rackspace_vars.yaml

  4. Edit rackspace_vars.yaml file and change first variables to the credentials file location (full path only), KEY_NAME and region name, respectively. Example:

    credentials: /home/zerovm/.rax-cred
     key_name: zerovm
     region: IAD
  5. Set up environment variables:

    export RAX_REGION=IAD
     export RAX_CREDS_FILE=/home/zerovm/.rax-cred
  6. Copy rackspace-server-list.yaml.example to rackspace-server-list.yaml and edit it to your needs. The example file creates a big 10-node cluster, beware.

  7. Now run ./rax-deploy.sh with the PRV_KEY filename as argument.

About

Scripts for Zwift installtion on Rax Public Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published