working nginx stream proxy

This commit is contained in:
2024-01-31 01:05:47 -05:00
parent 41f4e5c12a
commit fd0699170f
19 changed files with 408 additions and 130 deletions

17
nginx/certbot.yaml Normal file
View File

@@ -0,0 +1,17 @@
- name: Update certbot certs
hosts: yellow
become: true
become_user: root
become_method: sudo
vars_files:
- vars.yaml
tasks:
- name: Ensure nginx, certbot, and nginx-mod-stream are installed
ansible.builtin.dnf:
name:
- certbot
state: present
- name: Get certs for all terminate domains
ansible.builtin.shell: /usr/bin/certbot certonly --standalone -d '{{ item.external_domain }}' -n
loop: "{{ terminate_ssl }}"