Jan Chaloupka f696358767 polish etcd_common role 8 년 전
..
defaults c9688b8571 Refactor etcd roles 8 년 전
library cef42e2541 update tests and flake8/pylint fixes 8 년 전
meta 02a6d99350 Fix etcd cert generation when etcd_interface is defined 9 년 전
tasks 1dcf43f235 move etcdctl.yml from etcd to etcd_common role 8 년 전
templates 1dcf43f235 move etcdctl.yml from etcd to etcd_common role 8 년 전
README.md f696358767 polish etcd_common role 8 년 전

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)