Skip to content

Commit

Permalink
Add fixes for nginx and IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Aug 6, 2024
1 parent 1f630ff commit b8ec5c3
Showing 1 changed file with 21 additions and 0 deletions.
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
Expand Up @@ -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: ""

0 comments on commit b8ec5c3

Please sign in to comment.