From a8af6f76f73036705a201be54fe86ef286fbfcc4 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 31 Jan 2021 16:54:59 -0600 Subject: [PATCH] Changing include to include_tasks seems to help Debian. Change all instances in file for final test. --- local.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/local.yml b/local.yml index a317ef8..b4f78fe 100644 --- a/local.yml +++ b/local.yml @@ -9,15 +9,15 @@ pre_tasks: - include_tasks: facts/system.yml - - include: facts/package.yml - - include: facts/service.yml - - include: facts/user.yml + - include_tasks: facts/package.yml + - include_tasks: facts/service.yml + - include_tasks: facts/user.yml tasks: - - include: tasks/packages.yml - - include: tasks/users.yml - - include: tasks/cron.yml - - include: tasks/harden.yml + - include_tasks: tasks/packages.yml + - include_tasks: tasks/users.yml + - include_tasks: tasks/cron.yml + - include_tasks: tasks/harden.yml ignore_errors: yes @@ -28,13 +28,13 @@ become: true tasks: - - include: tasks/flatpaks.yml + - include_tasks: tasks/flatpaks.yml when: ansible_system == "Linux" and flatpak_distro == yes - shell: echo "Not implemented yet. :(" when: ansible_system == "Linux" and flatpak_distro == no - - include: tasks/freebsd_gui.yml + - include_tasks: tasks/freebsd_gui.yml when: ansible_system == "FreeBSD" @@ -45,4 +45,4 @@ become: true tasks: - - include: tasks/hardness_check_lynis.yml \ No newline at end of file + - include_tasks: tasks/hardness_check_lynis.yml \ No newline at end of file