Russell Teague 5f6f5146ec Fix issue with etcd_common when using pre_upgrade tag 7 tahun lalu
..
defaults 4b5d8d2dc2 Switch to migrating one host and forming a new cluster 7 tahun lalu
library cef42e2541 update tests and flake8/pylint fixes 8 tahun lalu
meta 94c195bb55 Removing dependencies for openshift_repos and setting them up early in the cluster build. 7 tahun lalu
tasks 5f6f5146ec Fix issue with etcd_common when using pre_upgrade tag 7 tahun lalu
templates 1dcf43f235 move etcdctl.yml from etcd to etcd_common role 8 tahun lalu
vars 4fcbe72aea move etcd upgrade related code into etcd_upgrade role 8 tahun lalu
README.md f696358767 polish etcd_common role 8 tahun lalu

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)