--- - hosts: webservers become: true pre_tasks: - name: install commons apt: name: - python3-pip update_cache: yes roles: - {role: nginx, tags: nginx} - {role: wwwuser, tags: wwwuser} - {role: certbot, tags: certbot} - {role: php, tags: php} - {role: mariadb, tags: mariadb} - {role: firewall, tags: firewall}