Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
#186: Replace obsolte "include" statements by "include_tasks" and "im…
Browse files Browse the repository at this point in the history
…port_tasks" (#217)
  • Loading branch information
BR0kEN- authored and jdauphant committed Apr 11, 2018
1 parent cf49e31 commit bafaf81
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
when: nginx_load_default_vars
tags: [always]

- import_tasks: selinux.yml
- include_tasks: selinux.yml
when: ansible_selinux and ansible_selinux.status == "enabled"
tags: [packages, selinux, nginx]

- import_tasks: nginx-official-repo.yml
- include_tasks: nginx-official-repo.yml
when: nginx_official_repo == True
tags: [packages, nginx]

- import_tasks: installation.packages.yml
- include_tasks: installation.packages.yml
when: nginx_installation_type == "packages"
tags: [packages, nginx]

- import_tasks: ensure-dirs.yml
tags: [configuration, nginx]

- import_tasks: remove-defaults.yml
- include_tasks: remove-defaults.yml
when: not nginx_keep_only_specified
tags: [configuration, nginx]

- import_tasks: remove-extras.yml
- include_tasks: remove-extras.yml
when: nginx_keep_only_specified
tags: [configuration, nginx]

Expand All @@ -36,7 +36,7 @@
- import_tasks: configuration.yml
tags: [configuration, nginx]

- include: cloudflare_configuration.yml
- include_tasks: cloudflare_configuration.yml
when: nginx_set_real_ip_from_cloudflare == True
tags: [configuration, nginx]

Expand Down

0 comments on commit bafaf81

Please sign in to comment.