mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-13 17:11:18 +02:00
updated to include more OSs and pip install
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
- name: certbot | PyPI | Upgrade pip, setuptools, and pyopenssl as required
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
executable: "{{ certbot_pip_executable }}"
|
||||
loop:
|
||||
- pip
|
||||
- setuptools
|
||||
- pyopenssl
|
||||
|
||||
- name: certbot | PyPI | Install certbot {{ certbot_pip_version }}
|
||||
pip:
|
||||
name: certbot=={{ certbot_pip_version }}
|
||||
executable: "{{ certbot_pip_executable }}"
|
||||
|
||||
- name: certbot | PyPI | Install certbot plugins
|
||||
pip:
|
||||
name: "certbot-{{ item }}=={{ certbot_pip_version }}"
|
||||
executable: "{{ certbot_pip_executable }}"
|
||||
loop: "{{ certbot_plugins }}"
|
||||
when: certbot_plugins is defined
|
||||
Reference in New Issue
Block a user