File tree 3 files changed +7
-10
lines changed
3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 95
95
- " {{ packages[os|stripversion]|default('[]') }}"
96
96
- " {{ common_packages|default('[]') }}"
97
97
98
- - name : Check whether /etc/paths contains "/usr/localopt /ccache/libexec" (macos)
98
+ - name : Check whether /etc/paths contains "/usr/local/opt /ccache/libexec" (macos)
99
99
when : os|startswith("macos")
100
- command : grep -Fxq "/usr/localopt /ccache/libexec" /etc/paths
100
+ command : grep -Fxq "/usr/local/opt /ccache/libexec" /etc/paths
101
101
register : ccache_mac
102
102
check_mode : no
103
103
ignore_errors : yes
107
107
when : os|startswith("macos") and ccache_mac.rc == 1
108
108
lineinfile : dest=/etc/paths
109
109
insertbefore=BOF
110
- line='/usr/localopt /ccache/libexec'
110
+ line='/usr/local/opt /ccache/libexec'
111
111
112
112
- name : ubuntu1404 | update package alternatives
113
113
when : os == "ubuntu1404"
Original file line number Diff line number Diff line change @@ -72,18 +72,15 @@ packages: {
72
72
],
73
73
74
74
' macos10.10 ' : [
75
- ' python@2' ,
76
- ' python'
75
+ ' python@2,python,ccache'
77
76
],
78
77
79
78
' macos10.11 ' : [
80
- ' python@2' ,
81
- ' python'
79
+ ' python@2,python,ccache'
82
80
],
83
81
84
82
' macos10.12 ' : [
85
- ' python@2' ,
86
- ' python'
83
+ ' python@2,python,ccache'
87
84
],
88
85
89
86
rhel72 : [
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ export OSTYPE=osx
7
7
export ARCH=x64
8
8
export DESTCPU=x64
9
9
10
- PATH=" /usr/localopt /ccache/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" {{ java_path[os] }} -Xmx{{ server_ram| default(' 128m' ) }} \
10
+ PATH=" /usr/local/opt /ccache/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" {{ java_path[os] }} -Xmx{{ server_ram| default(' 128m' ) }} \
11
11
-jar {{ home }}/{{ server_user }}/slave.jar -secret {{ secret }} \
12
12
-jnlpUrl {{ jenkins_url }}/computer/{{ inventory_hostname }}/slave-agent.jnlp
You can’t perform that action at this time.
0 commit comments