| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- ---
- # tasks/main.yml: "Master" playbook for the cmacrae.sensu role
- - include_vars: "{{ ansible_distribution }}.yml"
- - include: "{{ role_path }}/tasks/{{ ansible_distribution }}/main.yml"
- tags: setup
- - include: "{{ role_path }}/tasks/redis.yml"
- tags: redis
- when: redis_server
- and sensu_deploy_redis
- static: false
- - include: "{{ role_path }}/tasks/ssl.yml"
- tags: ssl
- - include: "{{ role_path }}/tasks/rabbit.yml"
- tags: rabbitmq
- when: rabbitmq_server
- and sensu_deploy_rabbitmq
- static: false
- - include: "{{ role_path }}/tasks/common.yml"
- tags: common
- - include: "{{ role_path }}/tasks/server.yml"
- tags: server
- when: sensu_master
- static: false
- - include: "{{ role_path }}/tasks/dashboard.yml"
- tags: dashboard
- when: sensu_include_dashboard
- static: false
- - include: "{{ role_path }}/tasks/client.yml"
- tags: client
- - include: "{{ role_path }}/tasks/plugins.yml"
- tags: plugins
- when: sensu_include_plugins
- static: false
|