standardize http/https ports in nginx config
This commit is contained in:
@@ -12,7 +12,12 @@
|
||||
name:
|
||||
- certbot
|
||||
state: present
|
||||
- name: Get certs for all domains
|
||||
ansible.builtin.shell: /usr/bin/certbot certonly --dns-route53 -d '{{ item.1 }}' -n
|
||||
- name: Get certs for all internal domains
|
||||
ansible.builtin.shell: /usr/bin/certbot certonly --dns-route53 -d '{{ item.external.domain }}{{ internal_tld }}' -n
|
||||
# Loops over every external.domains sub list
|
||||
loop: "{{ http | subelements('external.domains') }}"
|
||||
loop: "{{ http }}"
|
||||
- name: Get certs for all external domains
|
||||
ansible.builtin.shell: /usr/bin/certbot certonly --dns-route53 -d '{{ item.external.domain }}{{ expose_tld }}' -n
|
||||
# Loops over every external.domains sub list
|
||||
loop: "{{ http }}"
|
||||
when: item.external.expose
|
||||
|
||||
Reference in New Issue
Block a user