File tree 4 files changed +9
-1
lines changed
cinch/roles/jenkins_master
4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
v 0.8.0 (6 Sep 2017)
2
2
- Added support for upgrading to Jenkins 2 from Jenkins 1
3
3
- Added support for installing pinned plugins from multiple update centers
4
+ - Significant improvements to Groovy script error reporting
4
5
- Added ability to configure multiple admin users (jenkins_admin_sids), and to
5
6
configure users with CLI access independently of them being admins
6
7
(jenkins_cli_users)
Original file line number Diff line number Diff line change 11
11
name : jenkins
12
12
state : restarted
13
13
14
+ - name : restart Jenkins during upgrade
15
+ service :
16
+ name : jenkins
17
+ state : restarted
18
+ when : jenkins_upgrade
19
+
14
20
# Reload firewalld by running command, since the firewalld module doesn't
15
21
# support the functionality to reload rules.
16
22
- name : reload firewalld
Original file line number Diff line number Diff line change 19
19
- openssl-devel
20
20
- libffi-devel
21
21
- ansible
22
+ notify : restart Jenkins during upgrade
22
23
23
24
- name : install additional packages
24
25
package :
Original file line number Diff line number Diff line change 6
6
user : " {{ jenkins_admin.nickname }}"
7
7
password : " {{ admin_api_key | default('') }}"
8
8
register : script_output
9
- changed_when : " script_output.output.find('CHANGED') != -1"
9
+ changed_when : " ( script_output.output|default('')) .find('CHANGED') != -1"
10
10
# Since the jenkins_script module doesn't support check_mode, we disable it
11
11
# here so that we can handle check mode inside of the Groovy scripts.
12
12
check_mode : false
You can’t perform that action at this time.
0 commit comments