From 2551993f86c58ee14884a5f57fdf079e86e42c60 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Wed, 7 Dec 2022 21:43:36 +0100 Subject: [PATCH] Use fully qualified module name for import_tasks --- plays/system/roles/base/tasks/main.yml | 24 ++++++++++++------------ plays/system/roles/zfs/tasks/main.yml | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/plays/system/roles/base/tasks/main.yml b/plays/system/roles/base/tasks/main.yml index d777687..d43151d 100644 --- a/plays/system/roles/base/tasks/main.yml +++ b/plays/system/roles/base/tasks/main.yml @@ -1,47 +1,47 @@ - name: "play:system : role:base : tasks:sshd" - import_tasks: "include/sshd.yml" + ansible.builtin.import_tasks: "include/sshd.yml" tags: "system:base:sshd" - name: "play:system : role:base : tasks:nftables" - import_tasks: "include/nftables.yml" + ansible.builtin.import_tasks: "include/nftables.yml" tags: "system:base:nftables" - name: "play:system : role:base : tasks:ntp" - import_tasks: "include/ntp.yml" + ansible.builtin.import_tasks: "include/ntp.yml" tags: "system:base:ntp" - name: "play:system : role:base : tasks:fail2ban" - import_tasks: "include/fail2ban.yml" + ansible.builtin.import_tasks: "include/fail2ban.yml" tags: "system:base:fail2ban" - name: "play:system : role:base : tasks:fstrim" - import_tasks: "include/fstrim.yml" + ansible.builtin.import_tasks: "include/fstrim.yml" tags: "system:base:fstrim" - name: "play:system : role:base : tasks:unattended_upgrades" - import_tasks: "include/unattended_upgrades.yml" + ansible.builtin.import_tasks: "include/unattended_upgrades.yml" tags: "system:base:unattended_upgrades" - name: "play:system : role:base : tasks:logs" - import_tasks: "include/logs.yml" + ansible.builtin.import_tasks: "include/logs.yml" tags: "system:base:logs" - name: "play:system : role:base : tasks:systemd_mail" - import_tasks: "include/systemd_mail.yml" + ansible.builtin.import_tasks: "include/systemd_mail.yml" tags: "system:base:systemd_mail" - name: "play:system : role:base : tasks:utils" - import_tasks: "include/utils.yml" + ansible.builtin.import_tasks: "include/utils.yml" tags: "system:base:utils" - name: "play:system : role:base : tasks:motd" - import_tasks: "include/motd.yml" + ansible.builtin.import_tasks: "include/motd.yml" tags: "system:base:motd" - name: "play:system : role:base : tasks:root" - import_tasks: "include/root.yml" + ansible.builtin.import_tasks: "include/root.yml" tags: "system:base:root" - name: "play:system : role:base : tasks:user" - import_tasks: "include/user.yml" + ansible.builtin.import_tasks: "include/user.yml" tags: "system:base:user" diff --git a/plays/system/roles/zfs/tasks/main.yml b/plays/system/roles/zfs/tasks/main.yml index 16e66af..717350c 100644 --- a/plays/system/roles/zfs/tasks/main.yml +++ b/plays/system/roles/zfs/tasks/main.yml @@ -1,23 +1,23 @@ - name: "play:system : role:zfs : tasks:conf" - import_tasks: "include/conf.yml" + ansible.builtin.import_tasks: "include/conf.yml" tags: "system:zfs:conf" - name: "play:system : role:zfs : tasks:cron" - import_tasks: "include/cron.yml" + ansible.builtin.import_tasks: "include/cron.yml" tags: "system:zfs:cron" - name: "play:system : role:zfs : tasks:trim" - import_tasks: "include/trim.yml" + ansible.builtin.import_tasks: "include/trim.yml" tags: "system:zfs:trim" - name: "play:system : role:zfs : tasks:scrub" - import_tasks: "include/scrub.yml" + ansible.builtin.import_tasks: "include/scrub.yml" tags: "system:zfs:scrub" - name: "play:system : role:zfs : tasks:load_key" - import_tasks: "include/load_key.yml" + ansible.builtin.import_tasks: "include/load_key.yml" tags: "system:zfs:load_key" - name: "play:system : role:zfs : tasks:fstrim" - import_tasks: "include/fstrim.yml" + ansible.builtin.import_tasks: "include/fstrim.yml" tags: "system:zfs:fstrim"