blob: b8f0ae5d718f046d102190c8e4a3484480ebd394 [file] [log] [blame]
Ilya Kharin981d02c2017-04-19 10:27:56 +04001===============
2Rundeck Formula
3===============
4
5Rundeck is open source software that helps you automate routine operational
6procedures in data center or cloud environments.
Ilya Kharin63bfc492017-06-14 16:53:43 +04007
8Sample pillars
9==============
10
11Configure Server
12~~~~~~~~~~~~~~~~
13
14Rundeck is suppose to be configure for running in Docker Swarm and the server
15state prepares only configuration files, including binding parameters, system
16user, Rundeck users and API tokens:
17
18.. code-block:: yaml
19
20 rundeck:
21 server:
22 enabled: true
23 user:
24 uid: 550
25 gid: 550
26 api:
27 host: 10.20.0.2
28 port: 4440
29 https: false
30 ssh:
31 user: runbook
32 private_key: <private>
33 public_key: <public>
34
35 users:
36 admin:
37 name: admin
38 password: password
39 roles:
40 - user
41 - admin
42 - architect
43 - deploy
44 - build
45 john:
46 name: John
47 password: johnspassword
48 roles:
49 - user
50 - admin
51 - architect
52 - deploy
53 - build
54 kate:
55 name: Kate
56 password: katespassword
57 roles:
58 - user
59 - admin
60 - architect
61 - deploy
62 - build
63
64 tokens:
65 admin: EcK8zhQw
66
67
68To configure Rundeck to use PostgreSQL instead of H2:
69
70
71.. code-block:: yaml
72
73 rundeck:
74 server:
75 datasource:
76 engine: postgresql
77 host: 10.20.0.2
78 port: 5432
79 username: ${_param:rundeck_postgresql_username}
80 password: ${_param:rundeck_postgresql_password}
81 database: ${_param:rundeck_postgresql_database}
82
83
84Configure Client
85~~~~~~~~~~~~~~~~
86
Ilya Kharin28ffe0c2017-06-08 03:29:42 +040087Configure Secret Keys
88^^^^^^^^^^^^^^^^^^^^^
89
90It is possible to configure secret items in Key Storage in Rundeck:
91
92.. code-block:: yaml
93
94 rundeck:
95 client:
96 enabled: true
97 secret:
98 openstack/username:
99 type: password
100 content: admin
101 openstack/password:
102 type: password
103 content: password
104 openstack/keypair/private:
105 type: private
106 content: <private>
107 openstack/keypair/public:
108 type: public
109 content: <public>
110
111It is possible to disable keys to be sure that they are not present in Rundeck:
112
113.. code-block:: yaml
114
115 rundeck:
116 client:
117 secret:
118 openstack/username:
119 enabled: false
120
Ilya Kharin63bfc492017-06-14 16:53:43 +0400121Configure Projects
122^^^^^^^^^^^^^^^^^^
123
124Projects can be configured with a set of nodes which are available to run jobs
125within them. Rundeck uses `rundeck:server:ssh` credentials to access nodes.
126Jobs can be configured from a separate GIT repository using the SCM Import
127plugin.
128
129
130.. code-block:: yaml
131
132 rundeck:
133 client:
134 enabled: true
135 project:
136 project0:
137 description: project
138 node:
139 node01:
140 nodename: node01
141 hostname: node01.cluster.local
142 username: runbook
143 tags: [ubuntu, docker]
144 node02:
145 nodename: node02
146 hostname: node02.cluster.local
147 username: runbook
148 tags: [centos, docker]
149 plugin:
150 import:
Pavel Cizinsky555d6672018-12-12 12:03:14 +0100151 address: https://gerrit.cluster.local/jobs/rundeck-jobs.git
Ilya Kharin63bfc492017-06-14 16:53:43 +0400152 branch: master