add dnsmasq pi server
This commit is contained in:
@@ -12,6 +12,14 @@
|
||||
name:
|
||||
- certbot
|
||||
state: present
|
||||
- name: Stop nginx service so we can get certs
|
||||
ansible.builtin.systemd_service:
|
||||
state: stopped
|
||||
name: nginx
|
||||
- name: Get certs for all terminate domains
|
||||
ansible.builtin.shell: /usr/bin/certbot certonly --standalone -d '{{ item.external_domain }}' -n
|
||||
loop: "{{ terminate_ssl }}"
|
||||
- name: Start nginx service
|
||||
ansible.builtin.systemd_service:
|
||||
state: started
|
||||
name: nginx
|
||||
|
||||
Reference in New Issue
Block a user