From d31228609576a5fced010aef85f176c66a62cf1f Mon Sep 17 00:00:00 2001 From: stefanfluit <41238956+stefanfluit@users.noreply.github.com> Date: Sun, 13 Feb 2022 11:52:16 +0100 Subject: [PATCH] Change tasks to include_tasks to solve dep. warning, deprecated as of Ansible 2.16 (#60) --- tasks/main.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2c70f71..67536d3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,13 +1,20 @@ --- -- include: install.yml - tags: [ zsh, install ] +- include_tasks: install.yml + tags: + - zsh + - install -- include: configure.yml - tags: [ zsh, configure ] +- include_tasks: configure.yml + tags: + - zsh + - configure -- include: post-install.yml - tags: [ zsh, install, post_install ] +- include_tasks: post-install.yml + tags: + - zsh + - install + - post_install - name: Reset antigen cache command: "timeout 10s /bin/zsh -c 'source {{ zsh_config }}; antigen reset'"