Scott Dodson 4b5d8d2dc2 Switch to migrating one host and forming a new cluster 7 rokov pred
..
defaults 4b5d8d2dc2 Switch to migrating one host and forming a new cluster 7 rokov pred
library cef42e2541 update tests and flake8/pylint fixes 8 rokov pred
meta 94c195bb55 Removing dependencies for openshift_repos and setting them up early in the cluster build. 7 rokov pred
tasks 1f38d72448 Merge pull request #4547 from mtnbikenc/etcd-pre_upgrade-fix 7 rokov pred
templates 1dcf43f235 move etcdctl.yml from etcd to etcd_common role 8 rokov pred
vars 4fcbe72aea move etcd upgrade related code into etcd_upgrade role 8 rokov pred
README.md f696358767 polish etcd_common role 8 rokov pred

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)