- include_tasks: apache2.yml when: with_apache2 tags: - 'web' - 'apache2' - include_tasks: nginx.yml when: with_nginx tags: - 'web' - 'nginx' - include_tasks: php.yml when: with_php tags: - 'web' - 'php' # vim: ft=yaml.ansible