diff --git a/tasks/main.yml b/tasks/main.yml index 9b92333cbec20c87e070b40b78fa09e58a9825bd..8c8fef93c5c3674940c64e07f5bb5e7aaf4e4f9c 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