Skip to content
Snippets Groups Projects
Commit 90b78084 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 All includes are now include_tasks and they...

ansible-playbooks/general#72 All includes are now include_tasks and they always have a tag associated
parent bb6836e7
Branches main
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
- name: "Zabbix Agent Role"
set_fact: role_zabbix_agent_started=true
tags: always
tags: 'always'
- block:
......@@ -12,13 +12,15 @@
path: '/etc/init.d/zabbix-agent'
register: zabbix_available
- import_tasks: install.yml
- include_tasks: install.yml
when: not zabbix_available.stat.exists
tags: 'always'
- import_tasks: config.yml
- include_tasks: config.yml
tags: 'always'
- name: 'Remember that this role had been run'
set_fact: role_zabbix_agent_completed=true
tags: always
tags: 'always'
when: '"zabbix_agent" not in excluded_roles and role_zabbix_agent_completed is not defined'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment