Jan Chaloupka cd578ccdb6 Merge pull request #4680 from ingvagabund/set-label-of-var-lib-etcd před 7 roky
..
defaults a2c62c0855 use master etcd certificates when delegating oadm migrate etcd-ttl před 7 roky
library cef42e2541 update tests and flake8/pylint fixes před 8 roky
meta 02a6d99350 Fix etcd cert generation when etcd_interface is defined před 9 roky
tasks 9a2352c645 set the proper label of /var/lib/etcd directory před 7 roky
templates 1dcf43f235 move etcdctl.yml from etcd to etcd_common role před 8 roky
vars 4fcbe72aea move etcd upgrade related code into etcd_upgrade role před 8 roky
README.md f696358767 polish etcd_common role před 8 roky

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)