diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-04 07:59:54 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-04 07:59:54 -0400 |
commit | fa0b0b68caa89bc4db5b6af5c31ebd4d4337ca85 (patch) | |
tree | ec6ada8c081eea1e8bae9cf76a2a1c41ba34006e /ansible | |
parent | bca62cbf0fa3aab4301a0a417e16e7dcbe9a7567 (diff) | |
parent | c51c5b3c445fb2457b37c60c0736be3fdecbc15b (diff) |
Merge branch 'master' of https://github.com/lemmynet/lemmy
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/lemmy.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/lemmy.yml b/ansible/lemmy.yml index a73f7293..3520c404 100644 --- a/ansible/lemmy.yml +++ b/ansible/lemmy.yml @@ -33,13 +33,13 @@ apt: pkg: - 'python-certbot-nginx' - when: ansible_distribution == 'Ubuntu' and ansible_distribution_version|version_compare('20.04', '<') + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '<') - name: install certbot-nginx on ubuntu > 20 apt: pkg: - 'python3-certbot-nginx' - when: ansible_distribution == 'Ubuntu' and ansible_distribution_version|version_compare('20.04', '>=') + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=') - name: request initial letsencrypt certificate command: certbot certonly --nginx --agree-tos -d '{{ domain }}' -m '{{ letsencrypt_contact_email }}' |