File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
package-upgrade/tasks/partials Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 63
63
- packetnet :
64
64
centos7-arm64-1 : {ip: 147.75.104.218}
65
65
66
+ - macstadium :
67
+ macos10.11-x64-1 : {ip: 207.254.58.162, port: 10013, user: administrator}
68
+
66
69
- marist :
67
70
zos13-s390x-1 : {ip: 148.100.36.135, user: Unix1}
68
71
Original file line number Diff line number Diff line change 20
20
and not os|startswith("macos")
21
21
hostname : name="{{ safe_hostname }}"
22
22
23
+ - name : Set hostname to inventory_hostname macOS
24
+ command : " {{ item }}"
25
+ with_items :
26
+ - " sudo scutil --set HostName {{ inventory_hostname }}.nodejs.org"
27
+ - " sudo scutil --set ComputerName {{ inventory_hostname }}.nodejs.org"
28
+ - " dscacheutil -flushcache"
29
+ when : os|startswith("macos")
30
+
23
31
- name : disable joyent smartconnect
24
32
when : os|startswith("smartos")
25
33
notify : restart sshd
Original file line number Diff line number Diff line change 55
55
ignore_errors : yes
56
56
57
57
- name : install java
58
- when : java.rc > 0 and not os|startswith("zos") and arch != "ppc64" and not inventory_hostname|regex_search('-arm(v6l|v7l|64)_pi')
58
+ when :
59
+ - java.rc > 0 and not os|startswith("zos") and arch != "ppc64" and not inventory_hostname|regex_search('-arm(v6l|v7l|64)_pi')
60
+ - java.rc > 0 and not os|startswith("macos")
61
+ package : name="{{ java_package_name }}" state=present
62
+
63
+ - name : install java (macOS)
64
+ become_user : administrator
65
+ when : java.rc > 0 and os|startswith("macos")
59
66
package : name="{{ java_package_name }}" state=present
60
67
61
68
- name : install webupd8 oracle java 8 extras
Original file line number Diff line number Diff line change 10
10
ignore_errors : yes
11
11
12
12
- name : Install xcode-tools
13
- script : files/partials/ install-xcode.sh
13
+ script : files/install-xcode.sh
14
14
when : xcode.rc > 1
15
15
16
16
- name : Check if Homebrew is already installed
20
20
21
21
- name : Install Homebrew
22
22
become_user : administrator
23
- script : files/partials/ install-homebrew.sh
23
+ script : files/install-homebrew.sh
24
24
when : not brew.stat.exists
25
25
26
26
- name : Upgrade installed packages
You can’t perform that action at this time.
0 commit comments