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

Commit bafaf81

Browse files
BR0kEN-jdauphant
authored andcommitted
#186: Replace obsolte "include" statements by "include_tasks" and "import_tasks" (#217)
1 parent cf49e31 commit bafaf81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tasks/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@
77
when: nginx_load_default_vars
88
tags: [always]
99

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

14-
- import_tasks: nginx-official-repo.yml
14+
- include_tasks: nginx-official-repo.yml
1515
when: nginx_official_repo == True
1616
tags: [packages, nginx]
1717

18-
- import_tasks: installation.packages.yml
18+
- include_tasks: installation.packages.yml
1919
when: nginx_installation_type == "packages"
2020
tags: [packages, nginx]
2121

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

25-
- import_tasks: remove-defaults.yml
25+
- include_tasks: remove-defaults.yml
2626
when: not nginx_keep_only_specified
2727
tags: [configuration, nginx]
2828

29-
- import_tasks: remove-extras.yml
29+
- include_tasks: remove-extras.yml
3030
when: nginx_keep_only_specified
3131
tags: [configuration, nginx]
3232

@@ -36,7 +36,7 @@
3636
- import_tasks: configuration.yml
3737
tags: [configuration, nginx]
3838

39-
- include: cloudflare_configuration.yml
39+
- include_tasks: cloudflare_configuration.yml
4040
when: nginx_set_real_ip_from_cloudflare == True
4141
tags: [configuration, nginx]
4242

0 commit comments

Comments
 (0)