working nginx stream proxy
This commit is contained in:
17
nginx/certbot.yaml
Normal file
17
nginx/certbot.yaml
Normal 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 }}"
|
||||
Reference in New Issue
Block a user