Skip to content

Commit b175c14

Browse files
author
George Adams
committed
add release-macstadium-macos10.11-x64-1
1 parent 054bb4e commit b175c14

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

ansible/inventory.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ hosts:
6363
- packetnet:
6464
centos7-arm64-1: {ip: 147.75.104.218}
6565

66+
- macstadium:
67+
macos10.11-x64-1: {ip: 207.254.58.162, port: 10013, user: administrator}
68+
6669
- marist:
6770
zos13-s390x-1: {ip: 148.100.36.135, user: Unix1}
6871

ansible/roles/baselayout/tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
and not os|startswith("macos")
2121
hostname: name="{{ safe_hostname }}"
2222

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+
2331
- name: disable joyent smartconnect
2432
when: os|startswith("smartos")
2533
notify: restart sshd

ansible/roles/java-base/tasks/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,14 @@
5555
ignore_errors: yes
5656

5757
- 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")
5966
package: name="{{ java_package_name }}" state=present
6067

6168
- name: install webupd8 oracle java 8 extras

ansible/roles/package-upgrade/tasks/partials/brew.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ignore_errors: yes
1111

1212
- name: Install xcode-tools
13-
script: files/partials/install-xcode.sh
13+
script: files/install-xcode.sh
1414
when: xcode.rc > 1
1515

1616
- name: Check if Homebrew is already installed
@@ -20,7 +20,7 @@
2020

2121
- name: Install Homebrew
2222
become_user: administrator
23-
script: files/partials/install-homebrew.sh
23+
script: files/install-homebrew.sh
2424
when: not brew.stat.exists
2525

2626
- name: Upgrade installed packages

0 commit comments

Comments
 (0)