client.yml 501 B

123456789101112131415161718
  1. ---
  2. # tasks/SmartOS/client.yml: Deploy various client-side configurations for Sensu
  3. # Specific to Joyent SmartOS
  4. - include_vars: "{{ ansible_distribution }}.yml"
  5. - name: Deploy Sensu client service manifest
  6. template:
  7. dest: /opt/local/lib/svc/manifest/sensu-client.xml
  8. src: sensu-client.smartos_smf_manifest.xml.j2
  9. owner: root
  10. group: root
  11. mode: 644
  12. notify:
  13. - import sensu-client service
  14. - restart sensu-client service
  15. - meta: flush_handlers