eletrotupi / tcc/ ansible/deploy.yml0e72d1f6b4b7e0e42b7922b3db5fb7da683e8c6d
300 B | 15 lines Raw
1
---
2
# ansible/deploy.yml
3
# Publishes the nginx vhost (two-phase around the ACME certificate)
4
#
5
#   ansible-playbook -i inventory/hosts.yml deploy.yml --ask-become-pass
6

7
- name: Configure nginx
8
  hosts: vps
9
  become: yes
10
  become_method: doas
11
  vars_files:
12
    - vars/vhosts.yml
13

14
  roles:
15
    - nginx