Mark Meijerman 82de005fdf
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.
```
2019-06-11 08:08:37 +02:00

20 lines
481 B
YAML

---
- import_tasks: include-vars.yml
- import_tasks: install-with-package.yml
when: not certbot_install_from_source | bool
- import_tasks: install-from-source.yml
when: certbot_install_from_source | bool
- include_tasks: create-cert-standalone.yml
with_items: "{{ certbot_certs }}"
when:
- certbot_create_if_missing
- certbot_create_method == 'standalone'
loop_control:
loop_var: cert_item
- import_tasks: renew-cron.yml
when: certbot_auto_renew | bool