From 594f3109ec68cd573ae5db1c3a4b6639ccf9079a Mon Sep 17 00:00:00 2001 From: cradle8810 Date: Sat, 6 Apr 2024 23:03:52 +0900 Subject: [PATCH] Replace 'include' into 'import_tasks' on rui.yml --- rui.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rui.yml b/rui.yml index 1f3becf..2b38707 100644 --- a/rui.yml +++ b/rui.yml @@ -13,7 +13,7 @@ - inventories/host_vars/hosts_hayaworld.yml handlers: - - include: handlers/main.yml + - import_tasks: handlers/main.yml tasks: - name: Set Hostname @@ -22,7 +22,7 @@ tags: - network - - include: tasks/authorized_keys.yml + - import_tasks: tasks/authorized_keys.yml - name: put motd ansible.builtin.copy: @@ -51,9 +51,9 @@ - debug - dryrun - - include: tasks/rui/dnsmasq.yml - - include: tasks/rui/journalctl.yml - - include: tasks/rui/rsyslog-rui.yml + - import_tasks: tasks/rui/dnsmasq.yml + - import_tasks: tasks/rui/journalctl.yml + - import_tasks: tasks/rui/rsyslog-rui.yml tags: - rsyslog - dnsmasq