File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
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 @@ -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