--- - hosts: web name: web tasks: - name: verifying apache installation apt : name: apache2 state: present - name: verifying php installation apt : name: php state: present - name: verifying php-mbstring installation apt : name: php-mbstring state: present - name: overwriting index.html... copy: src: index.html dest: /var/www/html/index.html