Skip to content
Snippets Groups Projects
Commit 48ff1fee authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent ccfecc32
Branches
No related tags found
No related merge requests found
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
path: '/etc/init.d/zabbix-agent' path: '/etc/init.d/zabbix-agent'
register: zabbix_available register: zabbix_available
- include: install.yml - import_tasks: install.yml
when: not zabbix_available.stat.exists when: not zabbix_available.stat.exists
- include: config.yml - import_tasks: config.yml
- name: 'Remember that this role had been run' - name: 'Remember that this role had been run'
set_fact: role_zabbix_agent_completed=true set_fact: role_zabbix_agent_completed=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment