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

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,26 @@
---
- name: Converge
hosts: all
#become: true
vars:
certbot_install_method: 'source'
certbot_auto_renew_user: root
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
- name: Install cron (RedHat).
yum: name=cronie state=present
when: ansible_os_family == 'RedHat'
- name: Install cron (Debian).
apt: name=cron state=present
when: ansible_os_family == 'Debian'
roles:
- geerlingguy.git
- geerlingguy.certbot