automation/ansible/roles/deploy/tasks/main.yml
2020-04-28 11:59:52 +02:00

13 lines
No EOL
267 B
YAML

---
- name: Deploy Wordpress sites
include_tasks: wordpress.yml
loop: "{{ sites }}"
when: item.type == "wordpress"
tags: wordpress
- name: Deploy Drupal sites
include_tasks: drupal.yml
loop: "{{ sites }}"
when: item.type == "drupal"
tags: drupal