From 1aac2389b95c5d056e6511c670a095e0df4ac0fd Mon Sep 17 00:00:00 2001 From: AndrewPaglusch Date: Fri, 4 Feb 2022 18:36:29 -0600 Subject: [PATCH] use include_tasks instead of deprecated include --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index c508675..585e37d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,17 +2,17 @@ - name: Nebula Install block: - name: Uninstall Nebula (clean install) - include: uninstall.yml + include_tasks: uninstall.yml when: nebula_clean_install|bool - name: Install Nebula on all hosts - include: nebula.yml + include_tasks: nebula.yml - name: Deploy Lighthouse - include: lighthouse.yml + include_tasks: lighthouse.yml when: inventory_hostname in groups['nebula_lighthouse'] - name: Deploy Nebula Node - include: node.yml + include_tasks: node.yml when: inventory_hostname not in groups['nebula_lighthouse'] when: inventory_hostname in groups['nebula_lighthouse'] or nebula_internal_ip_addr is defined