Merge pull request #133 from amritsingh/master

Changed 'include' to 'import_tasks' and 'include_tasks'
pull/155/head
Jeff Geerling 5 years ago committed by GitHub
commit 212c68800c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      tasks/main.yml

@ -9,26 +9,26 @@
when: nginx_user is not defined
# Setup/install tasks.
- include: setup-RedHat.yml
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- include: setup-Ubuntu.yml
- include_tasks: setup-Ubuntu.yml
when: ansible_distribution == 'Ubuntu'
- include: setup-Debian.yml
- include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- include: setup-FreeBSD.yml
- include_tasks: setup-FreeBSD.yml
when: ansible_os_family == 'FreeBSD'
- include: setup-OpenBSD.yml
- include_tasks: setup-OpenBSD.yml
when: ansible_os_family == 'OpenBSD'
- include: setup-Archlinux.yml
- include_tasks: setup-Archlinux.yml
when: ansible_os_family == 'Archlinux'
# Vhost configuration.
- include: vhosts.yml
- import_tasks: vhosts.yml
# Nginx setup.
- name: Copy nginx configuration in place.