1
0
Fork 0

First commit

This commit is contained in:
Chl 2020-01-17 23:35:15 +01:00
commit e54b5a5663
24 changed files with 3047 additions and 0 deletions

View file

@ -0,0 +1,18 @@
---
# We need Jenkins to reboot if new plugins were installed.
- meta: flush_handlers
- name: Get the list of jobs that already exist
shell: "{{ jenkins_cli_command }} list-jobs"
changed_when: False
check_mode: no
register: current_jobs_list
# Loop on every job we maintain
- name: Manage each job
include_tasks:
file: include_jobinstall.yml
loop: "{{ lookup('dict', jobs ) }}"
loop_control:
loop_var: job