mirror of
https://github.com/nikdoof/ansible-certbot.git
synced 2025-12-13 07:32:15 +00:00
Fix plugin deriving functions
This commit is contained in:
@@ -6,7 +6,11 @@
|
|||||||
|
|
||||||
- name: Certbot - Build plugin list
|
- name: Certbot - Build plugin list
|
||||||
set_fact:
|
set_fact:
|
||||||
_certbot_plugins_used: "{{ certbot_certs | map(attribute='plugin') | list | unique | map('format', certbot_plugins_package_prefix + '%s') | list }}"
|
_certbot_plugins_used: "{{ certbot_certs | map(attribute='plugin') | list | unique }}"
|
||||||
|
|
||||||
|
- name: Certbot - Map plugin names to package names
|
||||||
|
set_fact:
|
||||||
|
_certbot_plugins_used: "{{ [certbot_plugins_package_prefix] | product(_certbot_plugins_used) | map('join') | list }}"
|
||||||
|
|
||||||
- name: Certbot - Install extension packages
|
- name: Certbot - Install extension packages
|
||||||
when:
|
when:
|
||||||
@@ -31,4 +35,4 @@
|
|||||||
name: "{{ certbot_timer_service }}"
|
name: "{{ certbot_timer_service }}"
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
when: certbot_timer_service
|
when: certbot_timer_service is defined
|
||||||
|
|||||||
Reference in New Issue
Block a user