--- - name: Install the letsencrypt package dependencies apt: name={{ item }} state=present with_items: '{{ letsencrypt_prerequisites }}' when: letsencrypt_install tags: letsencrypt - name: Get the letsencrypt client git: repo={{ letsencrypt_git_repo }} dest={{ letsencrypt_dest_dir }}/letsencrypt update={{ letsencrypt_update_repo }} with_items: '{{ letsencrypt_prerequisites }}' when: letsencrypt_install tags: letsencrypt