blob: d473b3d4dfd761674af92993037efb59c4cac889 [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
87Configure Projects
88^^^^^^^^^^^^^^^^^^
89
90Projects can be configured with a set of nodes which are available to run jobs
91within them. Rundeck uses `rundeck:server:ssh` credentials to access nodes.
92Jobs can be configured from a separate GIT repository using the SCM Import
93plugin.
94
95
96.. code-block:: yaml
97
98 rundeck:
99 client:
100 enabled: true
101 project:
102 project0:
103 description: project
104 node:
105 node01:
106 nodename: node01
107 hostname: node01.cluster.local
108 username: runbook
109 tags: [ubuntu, docker]
110 node02:
111 nodename: node02
112 hostname: node02.cluster.local
113 username: runbook
114 tags: [centos, docker]
115 plugin:
116 import:
117 address: http://gerrit.cluster.local/jobs/rundeck-jobs.git
118 branch: master
119
120
121Documentation and Bugs
122======================
123
124To learn how to install and update salt-formulas, consult the documentation
125available online at:
126
127 http://salt-formulas.readthedocs.io/
128
129For feature requests, bug reports or blueprints affecting entire ecosystem,
130use Launchpad salt-formulas project:
131
132 https://launchpad.net/salt-formulas
133
134You can also join salt-formulas-users team and subscribe to mailing list:
135
136 https://launchpad.net/~salt-formulas-users
137
138Developers wishing to work on the salt-formulas projects should always base
139their work on master branch and submit change request against specific formula.
140
141 https://gerrit.mcp.mirantis.net/#/admin/projects/salt-formulas/rundeck
142
143Any questions or feedback is always welcome so feel free to join our IRC
144channel:
145
146 #salt-formulas @ irc.freenode.net