2020-04-27 13:27:59 -07:00

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