eletrotupi / tcc/ ansible/cert.ymlff12ba99add07246bdaf39737d2c64072be1cfbf
445 B | 19 lines Raw
1
---
2
# ansible/cert.yml
3
# Installs uacme and manages certificates as the unprivileged `acme` user
4
#
5
# Registration is interactive and must be done by hand once: see the debug
6
# message this playbook prints
7
#
8
#   ansible-playbook -i inventory/hosts.yml cert.yml --ask-become-pass
9

10
- name: Provision ACME certificates
11
  hosts: vps
12
  become: yes
13
  become_method: doas
14
  force_handlers: true
15
  vars_files:
16
    - vars/vhosts.yml
17

18
  roles:
19
    - uacme