Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

vmware-archive/ansible-etcd-ca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMware has ended active development of this project, this repository will no longer be updated.

etcd-ca

A role to create/use an etcd-ca instance to generate certificates for hosts

Role Variables

  • etcd_ca: etcd-ca binary location
  • etcd_ca_url: url to download (compressed) etcd-ca from, if need be
  • etcd_ca_depot: etcd-ca depot location
  • etcd_ca_crt_group: group of hosts to generate certificates from
  • etcd_ca_passphrase: passphrase for CA certificate
  • etcd_ca_host_passphrase: passphrase for host certificate (read from hostvars)
  • etcd_ca_host_ip: ip to generate certificate for (read from hostvars)

Example Playbook

Example for bootstraping a SSL-protected etcd cluster with CoreOS

- name: bootstrap coreos hosts
  hosts: core
  gather_facts: False
  roles:
    - role: "sigma.coreos-bootstrap"
- name: ca
  hosts: localhost
  roles:
    - role: "sigma.etcd-ca"
      etcd_ca_crt_group: "core"
      etcd_ca_depot: "/tmp/etcd-ca-depot"
- name: bootstrap etcd cluster
  hosts: core
  roles:
    - role: "sigma.etcd-cluster"
      etcd_ca_host: "localhost"
      etcd_ca_depot: "/tmp/etcd-ca-depot"

License

Copyright 2015 VMware, Inc. All rights reserved.

SPDX-License-Identifier: MIT OR GPL-3.0-only

This code is Dual Licensed MIT or GPLv3

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published