From f510a0e2c16d6c3e5cba188af6a6d1dd4c9dc31c Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 20 Nov 2017 06:58:17 +0000 Subject: [PATCH] new ansible 2.4 syntax --- tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8766a55..6aed8a7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,20 +1,20 @@ --- -- include: setup_{{ansible_os_family}}.yml +- include_task: setup_{{ansible_os_family}}.yml -- include: user_groups.yml +- include_task: user_groups.yml when: user_groups is defined -- include: users.yml +- include_task: users.yml when: users is defined -- include: home.yml +- include_task: home.yml when: users is defined -- include: ssh.yml +- include_task: ssh.yml when: users is defined -- include: linger.yml +- include_task: linger.yml when: users is defined - name: flush handlers