From 8a91b2ad6eb773633164754d74dfe1d5a96290b6 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 31 Jan 2021 17:15:37 -0600 Subject: [PATCH] Go back to include instead of include_tasks so that ignoring CUPS error still works. --- local.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/local.yml b/local.yml index b4f78fe..120589b 100644 --- a/local.yml +++ b/local.yml @@ -8,16 +8,16 @@ become: true pre_tasks: - - include_tasks: facts/system.yml - - include_tasks: facts/package.yml - - include_tasks: facts/service.yml - - include_tasks: facts/user.yml + - include: facts/system.yml + - include: facts/package.yml + - include: facts/service.yml + - include: facts/user.yml tasks: - - include_tasks: tasks/packages.yml - - include_tasks: tasks/users.yml - - include_tasks: tasks/cron.yml - - include_tasks: tasks/harden.yml + - include: tasks/packages.yml + - include: tasks/users.yml + - include: tasks/cron.yml + - include: tasks/harden.yml ignore_errors: yes @@ -28,13 +28,13 @@ become: true tasks: - - include_tasks: tasks/flatpaks.yml + - include: 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: tasks/freebsd_gui.yml + - include: tasks/freebsd_gui.yml when: ansible_system == "FreeBSD" @@ -45,4 +45,4 @@ become: true tasks: - - include_tasks: tasks/hardness_check_lynis.yml \ No newline at end of file + - include: tasks/hardness_check_lynis.yml \ No newline at end of file