tasks.md 547 B

1. Add nginx installation to trojan role

  • 1.1 Add task to install nginx package in roles/trojan/tasks/main.yml
  • 1.2 Create nginx fallback config template roles/trojan/templates/nginx-fallback.conf.j2
  • 1.3 Add task to deploy the nginx config and enable/start nginx

2. Open fallback port in firewall

  • 2.1 Add trojan_fallback_port to allowed_ports in group_vars/landing.yml.example

3. Verify

  • 3.1 Run ansible-playbook site.yml --check --limit landing-server to verify playbook parses without errors