mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
14 lines
426 B
YAML
14 lines
426 B
YAML
- name: create nginx letsencrypt config file
|
|
template: src=letsencrypt.conf.j2 dest={{nginx_servers_directory}}letsencrypt.conf
|
|
notify: restart nginx
|
|
when: run_once_letsencrypt is not defined
|
|
|
|
- name: flush nginx service
|
|
meta: flush_handlers
|
|
when: run_once_letsencrypt is not defined
|
|
|
|
- name: run the letsencrypt logic just once
|
|
set_fact:
|
|
run_once_letsencrypt: true
|
|
when: run_once_letsencrypt is not defined
|