mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
8 lines
215 B
YAML
8 lines
215 B
YAML
---
|
|
- name: Set the certbot_python to python3 (Certbot in RHEL 7 uses Python3)
|
|
set_fact:
|
|
certbot_python: python2
|
|
when:
|
|
- ansible_os_family == 'RedHat'
|
|
- ansible_distribution_major_version | int <= 7
|