feat: re-add certbot confs
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
pkg:
|
||||
- ca-certificates
|
||||
- curl
|
||||
- make
|
||||
force: true
|
||||
|
||||
- name: Add Docker GPG key and Repository
|
||||
|
||||
@@ -41,6 +41,16 @@
|
||||
state: present
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Download recommended NGINX conf
|
||||
ansible.builtin.get_url:
|
||||
url: https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf
|
||||
dest: "{{ dest_dir }}/srcs/nginx/certbot/conf/options-ssl-nginx.conf"
|
||||
|
||||
- name: Download recommended TLS parameters
|
||||
ansible.builtin.get_url:
|
||||
url: https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbot/ssl-dhparams.pem
|
||||
dest: "{{ dest_dir }}/srcs/nginx/certbot/conf/ssl-dhparams.pem"
|
||||
|
||||
|
||||
- name: Run the app
|
||||
ansible.builtin.command: "make -C {{ dest_dir }}"
|
||||
|
||||
Reference in New Issue
Block a user