From 48ff1fee691263de469e175c97fc0f0469cbc7c5 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Sun, 25 Mar 2018 15:55:51 +0200 Subject: [PATCH] ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9b92333..8c8fef9 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 + - import_tasks: install.yml when: not zabbix_available.stat.exists - - include: config.yml + - import_tasks: config.yml - name: 'Remember that this role had been run' set_fact: role_zabbix_agent_completed=true -- GitLab