From 50a7a14a2361bf422438f2068ebf2e3039ffaac8 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 19 Sep 2017 10:35:30 +0200 Subject: [PATCH] Replace deprecated "include" directive in Ansible 2.4 --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0166950..3bef0cc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,10 +12,10 @@ path: '/etc/init.d/zabbix-agent' register: zabbix_available - - include: install.yml + - include_tasks: install.yml when: not zabbix_available.stat.exists - - include: config.yml + - include_tasks: config.yml - name: 'Remember that this role had been run' set_fact: role_zabbix_agent_completed=true -- GitLab