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

build: changes to support ubuntu 14 for PPC BE #382

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions setup/ansible-inventory
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ test-softlayer-ubuntu14-x86-1
test-digitalocean-ubuntu14-x86-1
test-digitalocean-ubuntu14-x64-1
release-osuosl-ubuntu14-ppc64_le-1
test-osuosl-ubuntu14-ppc64_be-1
test-osuosl-ubuntu14-ppc64_be-2
release-osuosl-ubuntu14-ppc64_be-1

[iojs-build-ubuntu1204]
test-digitalocean-ubuntu12-x64-1
Expand Down
6 changes: 6 additions & 0 deletions setup/ubuntu14.04/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Host test-digitalocean-ubuntu14-x64-1
HostName 45.55.252.223
Host release-osuosl-ubuntu14-ppc64_le-1
HostName 140.211.168.188
Host test-osuosl-ubuntu14-ppc64_be-1
HostName 140.211.168.3
Host test-osuosl-ubuntu14-ppc64_be-2
HostName 140.211.168.4
Host release-osuosl-ubuntu14-ppc64_be-1
HostName 140.211.168.5
```

Note that these hostnames are also used in the *ansible-inventory* file. The IP addresses will need to be updated each time the servers are reprovisioned.
Expand Down
6 changes: 6 additions & 0 deletions setup/ubuntu14.04/ansible-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
with_items: packages
tags: general

- name: General | Install additional packages for PPC be
apt: name={{ item }} update_cache=yes state=latest
with_items: additional_ppc_be_packages
when: (ansible_architecture == "ppc64" and ansible_nodename.find('ppc64-be') != -1)
tags: general

- name: NTP | Run initial NTP
command: ntpdate -u pool.ntp.org
tags: ntp
Expand Down
2 changes: 2 additions & 0 deletions setup/ubuntu14.04/ansible-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ packages:
- ntp
- ccache
- subversion
additional_ppc_be_packages:
- g++-4.8-multilib