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

Fixes for WF deployment #158

Merged
merged 5 commits into from
Aug 6, 2024
Merged
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
8 changes: 7 additions & 1 deletion provision-contest/ansible/roles/base_packages/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
- sources.list
- sources.list.d/mono.list
- sources.list.d/vscode.list
- sources.list.d/pypy-ubuntu-ppa-buster.list
- sources.list.d/pypy-ubuntu-ppa-jammy.list
notify: Run apt update

- name: Add packages to hosts file
@@ -40,6 +40,12 @@
notify: Run apt update
when: dpkg_architectures.stdout.find('i386') != -1

- name: Update cache if this is our first run
apt:
upgrade: true
update_cache: true
cache_valid_time: 3600

- name: Flush handlers
meta: flush_handlers

2 changes: 1 addition & 1 deletion provision-contest/ansible/roles/grafana/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@
- name: Install grafana
when: not WF_RESTRICTED_NETWORK
apt:
deb: https://dl.grafana.com/oss/release/grafana_10.4.1_amd64.deb
deb: https://dl.grafana.com/oss/release/grafana_11.1.3_amd64.deb
state: present
notify: Restart grafana

21 changes: 21 additions & 0 deletions provision-contest/ansible/roles/icpc_fixes/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -12,3 +12,24 @@
- name: Re-order PXEboot
command: efibootmgr -o {{ EFI_ORDER }}
when: EFI_ORDER is defined

- name: IPv6 nginx fixes
block:
- name: Create nginx directory before installation
file:
path: /etc/{{ item }}
state: directory
mode: '0755'
group: root
owner: root
loop:
- nginx
- nginx/sites-enabled

- name: Create nginx default without IPv6 listener
copy:
dest: /etc/nginx/sites-enabled/default
mode: '0644'
group: root
owner: root
content: ""

This file was deleted.