File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 - " {{ packages[os|stripversion]|default('[]') }}"
9696 - " {{ common_packages|default('[]') }}"
9797
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)
9999 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
101101 register : ccache_mac
102102 check_mode : no
103103 ignore_errors : yes
107107 when : os|startswith("macos") and ccache_mac.rc == 1
108108 lineinfile : dest=/etc/paths
109109 insertbefore=BOF
110- line='/usr/localopt /ccache/libexec'
110+ line='/usr/local/opt /ccache/libexec'
111111
112112- name : ubuntu1404 | update package alternatives
113113 when : os == "ubuntu1404"
Original file line number Diff line number Diff line change @@ -72,18 +72,15 @@ packages: {
7272 ],
7373
7474 ' macos10.10 ' : [
75- ' python@2' ,
76- ' python'
75+ ' python@2,python,ccache'
7776 ],
7877
7978 ' macos10.11 ' : [
80- ' python@2' ,
81- ' python'
79+ ' python@2,python,ccache'
8280 ],
8381
8482 ' macos10.12 ' : [
85- ' python@2' ,
86- ' python'
83+ ' python@2,python,ccache'
8784 ],
8885
8986 rhel72 : [
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ export OSTYPE=osx
77export ARCH=x64
88export DESTCPU=x64
99
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' ) }} \
1111 -jar {{ home }}/{{ server_user }}/slave.jar -secret {{ secret }} \
1212 -jnlpUrl {{ jenkins_url }}/computer/{{ inventory_hostname }}/slave-agent.jnlp
You can’t perform that action at this time.
0 commit comments