Переписал всё, сейчас вроде как отрабатывает без ошибок

This commit is contained in:
B4D_US3R 2025-08-02 09:57:37 +05:00
parent 436adfbc4f
commit 26f2ea374d
49 changed files with 1404 additions and 169 deletions

View file

@ -0,0 +1,17 @@
---
- name: Clone Certbot into configured directory.
git:
repo: "{{ certbot_repo }}"
dest: "{{ certbot_dir }}"
version: "{{ certbot_version }}"
update: "{{ certbot_keep_updated }}"
force: true
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_dir }}/certbot-auto"
- name: Ensure certbot-auto is executable.
file:
path: "{{ certbot_script }}"
mode: 0755