blob: d1c3a6602ba3be2c9a864424bdf71e2aab8efdfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
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.
```yaml
- 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**
```yaml
- include_role:
name: etcd_common
tasks_from: etcdctl
```
**Get access to common variables**
```yaml
# meta.yml of etcd
...
dependencies:
- { role: etcd_common }
```
License
-------
Apache License Version 2.0
Author Information
------------------
Jason DeTiberus (jdetiber@redhat.com)
|