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

ICPC images doesn't have IPv6 #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
18 changes: 18 additions & 0 deletions provision-contest/ansible/roles/domserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@
command: "{{ DJ_DIR }}/bin/dj_setup_database -s -u root bare-install"
when: "'failed' in db_status.stdout"

- name: Install the NGINX directories before nginx exists for the next step
file:
state: directory
path: "{{ item }}"
owner: root
group: root
mode: 0644
loop:
- '/etc/nginx'
- '/etc/nginx/sites-enabled'

- name: Drop the default nginx site before installation as we don't have IPv6
copy:
content: "#empty"
owner: root
group: root
dest: /etc/nginx/sites-enabled/default

- name: Install required packages
apt:
state: present
Expand Down
Loading