mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Resolve ansible deprecation warnings
Ansible version 2.8.0 yields these type of deprecation warnings: ``` TASK [HanXHX.mysql : APT_KEY | Install Percona key] **************************** [DEPRECATION WARNING]: evaluating mariadb_use_percona_apt as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ```
This commit is contained in:
parent
7efc6a50f5
commit
82de005fdf
@ -2,10 +2,10 @@
|
|||||||
- import_tasks: include-vars.yml
|
- import_tasks: include-vars.yml
|
||||||
|
|
||||||
- import_tasks: install-with-package.yml
|
- import_tasks: install-with-package.yml
|
||||||
when: not certbot_install_from_source
|
when: not certbot_install_from_source | bool
|
||||||
|
|
||||||
- import_tasks: install-from-source.yml
|
- import_tasks: install-from-source.yml
|
||||||
when: certbot_install_from_source
|
when: certbot_install_from_source | bool
|
||||||
|
|
||||||
- include_tasks: create-cert-standalone.yml
|
- include_tasks: create-cert-standalone.yml
|
||||||
with_items: "{{ certbot_certs }}"
|
with_items: "{{ certbot_certs }}"
|
||||||
@ -16,4 +16,4 @@
|
|||||||
loop_var: cert_item
|
loop_var: cert_item
|
||||||
|
|
||||||
- import_tasks: renew-cron.yml
|
- import_tasks: renew-cron.yml
|
||||||
when: certbot_auto_renew
|
when: certbot_auto_renew | bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user