11443325051f8ebf8d5bdcba4d184e4c95d1f887
---
# ansible/deploy.yml
# Publishes the nginx vhost (two-phase around the ACME certificate)
#
# ansible-playbook -i inventory/hosts.yml deploy.yml --ask-become-pass
- name: Configure nginx
hosts: vps
become: yes
become_method: doas
# Reload even if an earlier task failed, so a late failure cannot leave the
# vhost changed but nginx still serving the old config
force_handlers: true
vars_files:
- vars/vhosts.yml
roles:
- nginx