Switch all includes to import_tasks.

This commit is contained in:
Tom Alexander 2022-10-11 20:36:59 -04:00
parent 238885db9a
commit 207c7c2f71
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
5 changed files with 9 additions and 9 deletions

View File

@ -26,8 +26,8 @@
loop:
- .ansible_deploy
- include: tasks/peruser_freebsd.yaml
- import_tasks: tasks/peruser_freebsd.yaml
when: 'os_flavor == "freebsd"'
- include: tasks/peruser_linux.yaml
- import_tasks: tasks/peruser_linux.yaml
when: 'os_flavor == "linux"'

View File

@ -4,8 +4,8 @@
- sudo
state: present
- include: tasks/freebsd.yaml
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- include: tasks/linux.yaml
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'

View File

@ -24,8 +24,8 @@
validate: "zrepl configcheck --config %s"
notify: "restart zrepl"
- include: tasks/freebsd.yaml
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- include: tasks/linux.yaml
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'

View File

@ -1,2 +1,2 @@
- include: tasks/common.yaml
- import_tasks: tasks/common.yaml
when: zfs_snapshot_datasets is defined

View File

@ -1,5 +1,5 @@
- include: tasks/freebsd.yaml
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- include: tasks/linux.yaml
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'