--- - name: installation apache2 php php-gd php-mbstring apt: pkg: - apache2 - php - php-gd - php-xml - php-mbstring state: present