- name: 'Default configs Apache2 & PHP'
template: 'src={{item.src}} dest={{item.dest}} backup=yes'
with_items:
- { src: 'templates/apache2/000-default.conf.j2', dest: '/etc/apache2/sites-available/000-default.conf' }
- { src: 'templates/php/7.0/cli/php.ini.j2', dest: '/etc/php/7.0/cli/php.ini' }
- { src: 'templates/php/7.0/apache2/php.ini.j2', dest: '/etc/php/7.0/apache2/php.ini' }
notify:
- 'apache2 reload'