Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible: add 10.15 macs #2189

Merged
merged 5 commits into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ ansible_connection = winrm
ansible_winrm_server_cert_validation = ignore

[hosts:macos]
home = /User
home = /Users
29 changes: 18 additions & 11 deletions ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,30 @@ hosts:
smartos18-x64-2: {ip: 165.225.148.12}
ubuntu1604_arm_cross-x64-1: {ip: 165.225.151.28, user: ubuntu}

- requireio:
rvagg-debian10-armv6l_pi1p-1: {ip: 192.168.2.40, user: pi, alias: iojs-ns-pi1p-1 }
andineck-debian10-armv6l_pi1p-1: {ip: 192.168.2.41, user: pi, alias: iojs-ns-pi1p-2 }
osx1010-x64-1: {ip: 192.168.2.211, user: iojs}
- macstadium:
macos10.11-x64-1: {ip: 207.254.58.162, port: 10013, user: administrator}
macos10.10-x64-1: {ip: 207.254.58.162, port: 10014, user: administrator}

- marist:
zos13-s390x-1: {ip: 148.100.36.135, user: Unix1}

- nearform:
macos10.15-x64-1: {ip: 83.147.191.69, user: administrator}

- osuosl:
aix61-ppc64_be-1: {ip: 140.211.9.99}
ubuntu1404-ppc64_be-1: {ip: 140.211.168.76}
ubuntu1404-ppc64_le-1: {ip: 140.211.168.66}
centos7-ppc64_le-1: {ip: 140.211.168.61, user: centos}

- packetnet:
centos7-arm64-1: {ip: 147.75.104.218}

- requireio:
rvagg-debian10-armv6l_pi1p-1: {ip: 192.168.2.40, user: pi, alias: iojs-ns-pi1p-1 }
andineck-debian10-armv6l_pi1p-1: {ip: 192.168.2.41, user: pi, alias: iojs-ns-pi1p-2 }
osx1010-x64-1: {ip: 192.168.2.211, user: iojs}

- scaleway:
ubuntu1604-armv7l-1: {ip: 212.47.245.242}
ubuntu1604-armv7l-2: {ip: 212.47.234.107}
Expand All @@ -63,15 +76,9 @@ hosts:
centos6-x64-1: {ip: 169.62.77.228}


- packetnet:
centos7-arm64-1: {ip: 147.75.104.218}

- macstadium:
macos10.11-x64-1: {ip: 207.254.58.162, port: 10013, user: administrator}
macos10.10-x64-1: {ip: 207.254.58.162, port: 10014, user: administrator}

- marist:
zos13-s390x-1: {ip: 148.100.36.135, user: Unix1}


- test:

Expand Down
20 changes: 17 additions & 3 deletions ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,29 @@ packages: {
],

'macos10.10': [
'python@2,python,ccache'
'python,ccache'
],

'macos10.11': [
'python@2,python,ccache'
'python,ccache'
],

'macos10.12': [
'python@2,python,ccache'
'python,ccache'
],

'macos10.13': [
'python,ccache'
],


'macos10.14': [
'python,ccache'
],


'macos10.15': [
'python,ccache'
],

rhel7: [
Expand Down
5 changes: 4 additions & 1 deletion ansible/roles/java-base/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@
- name: install java (macOS)
become_user: administrator
when: java.rc > 0 and os|startswith("macos")
package: name="{{ java_package_name }}" state=present
homebrew_cask:
name: "{{ java_package_name }}"
state: present
#package: name="{{ java_package_name }}" state=present
AshCripps marked this conversation as resolved.
Show resolved Hide resolved

- name: check if java is installed AIX
stat:
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/java-base/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages: {
'debian10': 'openjdk-8-jre-headless',
'fedora': 'java-1.8.0-openjdk-headless',
'freebsd': 'openjdk8-jre',
'macos': 'adoptopenjdk-openjdk8',
'macos': 'adoptopenjdk',
'rhel7': 'java-1.8.0-openjdk',
'smartos': 'openjdk8',
'ubuntu': 'openjdk-8-jre-headless',
Expand Down
3 changes: 3 additions & 0 deletions ansible/roles/jenkins-worker/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ java_path: {
'macos10.10': 'java',
'macos10.11': 'java',
'macos10.12': 'java',
'macos10.13': 'java',
'macos10.14': 'java',
'macos10.15': 'java',
'smartos15': '/opt/local/java/openjdk8/bin/java',
'smartos16': '/opt/local/java/openjdk8/bin/java',
'smartos17': '/opt/local/java/openjdk8/bin/java',
Expand Down