Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See NDS Labs Deploy Tools

Ansible configuration is held in FILES.deploy-tools/etc/ansible/ansible.cfg

/root contains most of the interesting bits:

  • Playbooks - declare order and assignment of tasks / roles, defined elsewhere in /usr/local/lib/ndslabs/ansible/roles
    • Tasks / Roles - declare the commands executed by each task / role
  • Inventories - declarative file containing desired configuration
    • Servers - names and quantity of each node type
      • etcd: kubernetes / ndslabs key-value store dedicated node
      • glfs: glusterfs storage nodes
      • master: kubernetes master node
      • k8compute: compute / worker nodes
      • loadbal: load balancer node (requires public ip)
    • Groups
      • cluster1 - groups nodes and quantites
      • openstack - groups all openstack targets together (all nodes for now)
      • coreos - groups all coreos instances together (all nodes for now)
      • publicip - groups together all machines requiring a public ip (only load balancer for now)
    • Configuration
      • GlusterFS bricks / OpenStack volumes
      • OpenStack instance SSH key / image / flavor
  • Group Vars - configuration options for each group
    • openstack
    • coreos
    • publicip

Configuration

...

Running Ansible

OpenRC File

...