--- - hosts: web tasks: - name: installation de apache2 apt: name: apache2 state: present - name: installation de php apt: name: php state: present - name: installation de php-mbstring apt: name: php-mbstring state: present - name: inserer un fichier index.html dans /var/www/html template: src: index.html dest: /var/www/html/