]> git.immae.eu Git - github/fretlink/ansible-rundeck-jobs.git/blame - README.md
Merge pull request #4 from paulrbr-fl/fix-bad-syntax
[github/fretlink/ansible-rundeck-jobs.git] / README.md
CommitLineData
030dd5c5
GD
1Rundeck jobs
2=========
3
4This role synchronize a directory containing yaml definition of jobs with a rundeck project
5
6Requirements
7------------
8
93ed8f13 9* `jmespath` python module
030dd5c5
GD
10
11Role Variables
12--------------
13
14* `rundeck_jobs_path` path of the directory containing the job definition (mandatory).
15* `rundeck_project` name of the rundeck project (mandatory).
16* `rundeck_api_url` base url of api (mandatory).
17* `rundeck_api_token` the authentification token (mandatory).
18* `rundeck_api_version` api version supported by rundeck server. Default to 26.
19* `rundeck_remove_missing` Whether to delete jobs present in rundeck and not in file. Defaults to true.
c3e54982 20* `rundeck_jobs_group` the group of job to check for removal
030dd5c5
GD
21
22Dependencies
23------------
24
25None
26
27Example Playbook
28----------------
29
30Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
31
32 - hosts: servers
73fc6fec
GD
33 vars:
34 rundeck_api_url: rundeck.example.com
35 rundeck_project: test
36 rundeck_jobs_path: /tmp/rundeck-jobs
030dd5c5 37 roles:
73fc6fec 38 - rundeck-jobs
030dd5c5
GD
39
40License
41-------
42
43TBD
44
45Author Information
46------------------
47
48FretLink, Love and Truck