--- - name: Install Nginx apt: name: nginx-full - name: install Certbot Nginx plugin apt: name: python3-certbot-nginx when: installCertbot == True