forked from seanmcconkey/azimuth-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from RSE-Cambridge/feat/add-broadcom-driver-to-…
…linux-common Feat/add broadcom driver to linux common
- Loading branch information
Showing
16 changed files
with
62 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- jupyter-repo2docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-rdp-gateway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-rstudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- hosts: all | ||
become: yes | ||
roles: | ||
- linux-common | ||
- linux-webconsole |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
- name: Install pre-requisites | ||
ansible.builtin.apt: | ||
pkg: | ||
- dctrl-tools | ||
- gcc-12 | ||
- cpp-12 | ||
- libgcc-12-dev | ||
- libasan8 | ||
- libtsan2 | ||
- dkms | ||
state: latest | ||
|
||
- name: Install the broadcom driver for NetXtreme-E Ethernet | ||
ansible.builtin.apt: | ||
deb: https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_7ac3c0a502cd46c783b2128116165566/bcom-nxe-drivers/netxtreme-peer-mem-dkms_229.2.49.0_all.deb | ||
state: present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
|
||
- name: Update apt cache | ||
apt: | ||
update_cache: true | ||
when: ansible_os_family == "Debian" | ||
|
||
- name: Ensure up-to-date CA certificates | ||
package: | ||
name: ca-certificates | ||
state: latest | ||
|
||
# Required for become to an unprivileged user to work | ||
# Using the apt module seems to work more reliably than package :-/ | ||
- name: Install ACL package | ||
apt: | ||
update_cache: true | ||
name: acl | ||
state: present | ||
when: ansible_os_family == "Debian" | ||
|
||
# Enables the ansible-init system, but does not install any default playbooks | ||
- include_role: | ||
name: azimuth_cloud.image_utils.linux_ansible_init | ||
|
||
# Enables volumes to be referred to by tag for setting up mounts in cloud-config | ||
- include_role: | ||
name: linux-volumes-by-tag | ||
|
||
# Install the Broadcom network driver for NetXtreme-E Ethernet | ||
- include_role: | ||
name: linux-broadcom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"network": "97ed78b5-156c-441c-9fcb-5a26c8a4ed26", | ||
"flavor": "vm.azimuth.ci.ec1.medium", | ||
"network": "5e8d514a-1943-42e4-a757-6c533c343ece", | ||
"flavor": "vm.v1.small", | ||
"volume_type": "arcus-ceph01-rbd" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"security_groups": ["default", "ssh-anywhere"] | ||
"security_groups": ["default", "external"] | ||
} |