This will only works on Debian and Ubuntu
- should be root user or have root privilege
- ssh should be installed on your server
The list of domain names should be provide as a text in this form:
- www.hei.school
- back.hei.school
- front.hei.school
- api.hei.school
The "domains" variable should only be changed in the playbook
---
- name: Installation de serveurs Web
hosts: web
remote_user: root
vars:
domains:
- www.hei.school
- back.hei.school
- front.hei.school
- api.hei.school
roles:
- apache2
...