Implemented certbot for cloudflare\hetzner, optimized documentation and solved bugs

This commit is contained in:
2025-04-28 00:33:55 +02:00
parent 3e816130d3
commit 0fc9c3e495
31 changed files with 497 additions and 85 deletions

View File

@@ -1,17 +1,16 @@
- name: "pkgmgr installation tasks"
become: "{{ pkgmgr_become }}"
block:
- name: update pkgmgr
command:
cmd: "pkgmgr update pkgmgr"
when: run_once_pkgmgr_update is not defined
- name: update pkgmgr
shell: |
source ~/.venvs/pkgmgr/bin/activate
pkgmgr update pkgmgr
when: run_once_pkgmgr_update is not defined
- name: update {{ package_name }}
command:
cmd: "pkgmgr update {{ package_name }} --dependencies --clone-mode https"
notify: "{{ package_notify | default(omit) }}"
- name: mark pkgmgr update as done
set_fact:
run_once_pkgmgr_update: true
when: run_once_pkgmgr_update is not defined
- name: update {{ package_name }}
shell: |
source ~/.venvs/pkgmgr/bin/activate
pkgmgr update {{ package_name }} --dependencies --clone-mode https
notify: "{{ package_notify | default(omit) }}"
- name: mark pkgmgr update as done
set_fact:
run_once_pkgmgr_update: true
when: run_once_pkgmgr_update is not defined