Jan Chaloupka 2c8d16c36b consolidate etcd_upgrade role 7 år sedan
..
defaults 2c8d16c36b consolidate etcd_upgrade role 7 år sedan
library cef42e2541 update tests and flake8/pylint fixes 8 år sedan
meta 94c195bb55 Removing dependencies for openshift_repos and setting them up early in the cluster build. 7 år sedan
tasks 399a45ccee fix etcd back message error 7 år sedan
templates 1dcf43f235 move etcdctl.yml from etcd to etcd_common role 8 år sedan
vars 4fcbe72aea move etcd upgrade related code into etcd_upgrade role 8 år sedan
README.md f696358767 polish etcd_common role 8 år sedan

README.md

etcd_common

Common resources for dependent etcd roles. E.g. default variables for:

  • config directories
  • certificates
  • ports
  • other settings

Or delegated_serial_command ansible module for executing a command on a remote node. E.g.

- delegated_serial_command:
    command: /usr/bin/make_database.sh arg1 arg2
    creates: /path/to/database

Or etcdctl.yml playbook for installation of etcdctl aliases on a node (see example).

Dependencies

openshift-repos

Example Playbook

Drop etcdctl aliases

- include_role:
    name: etcd_common
    tasks_from: etcdctl

Get access to common variables

# meta.yml of etcd
...
dependencies:
- { role: etcd_common }

License

Apache License Version 2.0

Author Information

Jason DeTiberus (jdetiber@redhat.com)