summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-09 13:55:25 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-05-09 15:50:41 +0200
commitf696358767f1d8af996d7ad218dea3770c3fa0c6 (patch)
treeeab719ad5819e1d96c5c76f5c8032afc7fe4b3e6 /roles/etcd_common
parentf7993afb2fec58b7bd13a70d812bf60deb5b1402 (diff)
downloadopenshift-f696358767f1d8af996d7ad218dea3770c3fa0c6.tar.gz
openshift-f696358767f1d8af996d7ad218dea3770c3fa0c6.tar.bz2
openshift-f696358767f1d8af996d7ad218dea3770c3fa0c6.tar.xz
openshift-f696358767f1d8af996d7ad218dea3770c3fa0c6.zip
polish etcd_common role
Diffstat (limited to 'roles/etcd_common')
-rw-r--r--roles/etcd_common/README.md37
1 files changed, 28 insertions, 9 deletions
diff --git a/roles/etcd_common/README.md b/roles/etcd_common/README.md
index 131a01490..d1c3a6602 100644
--- a/roles/etcd_common/README.md
+++ b/roles/etcd_common/README.md
@@ -1,17 +1,21 @@
etcd_common
========================
-TODO
+Common resources for dependent etcd roles. E.g. default variables for:
+* config directories
+* certificates
+* ports
+* other settings
-Requirements
-------------
-
-TODO
+Or `delegated_serial_command` ansible module for executing a command on a remote node. E.g.
-Role Variables
---------------
+```yaml
+- delegated_serial_command:
+ command: /usr/bin/make_database.sh arg1 arg2
+ creates: /path/to/database
+```
-TODO
+Or etcdctl.yml playbook for installation of `etcdctl` aliases on a node (see example).
Dependencies
------------
@@ -21,7 +25,22 @@ openshift-repos
Example Playbook
----------------
-TODO
+**Drop etcdctl aliases**
+
+```yaml
+- include_role:
+ name: etcd_common
+ tasks_from: etcdctl
+```
+
+**Get access to common variables**
+
+```yaml
+# meta.yml of etcd
+...
+dependencies:
+- { role: etcd_common }
+```
License
-------