diff --git a/tasks/install.yml b/tasks/install.yml index a643350..74e6dd6 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -7,13 +7,20 @@ when: not certbot_user == 'root' - block: + - name: Install dependencies + pip: + name: "{{ item }}" + extra-args: --user + state: latest + loop: "{{ certbot_packages_extra }}" + - name: Install certbot with pip pip: name: "{{ item }}" executable: pip3 extra_args: --user state: present - loop: "{{ certbot_packages_extra + __certbot_packages }}" + loop: "{{ __certbot_packages }}" - name: Create certbot environment file: