make pip version configurabel
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-05-22 23:34:25 +02:00
parent a05f19240e
commit 39ee3f55b7
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
certbot_packages_extra: []
certbot_user: root
certbot_pip: "pip{{ ansible_python.version.major }}"
certbot_work_dir: /var/lib/letsencrypt
certbot_config_dir: /etc/letsencrypt

View File

@ -11,6 +11,7 @@
pip:
name: "{{ item }}"
extra_args: --user
executable: "{{ certbot_pip }}"
state: present
loop: "{{ certbot_packages_extra }}"
@ -18,6 +19,7 @@
pip:
name: "{{ item }}"
extra_args: --user
executable: "{{ certbot_pip }}"
state: present
loop: "{{ __certbot_packages }}"