main.yml 441 B

123456789101112131415161718
  1. ---
  2. - name: Package cache updated
  3. shell: pkg update -f
  4. - name: Mailhog binary downloaded
  5. get_url:
  6. url: https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_freebsd_amd64
  7. dest: /usr/local/bin/mailhog
  8. validate_certs: no
  9. mode: "0744"
  10. - name: Supervisor file installed
  11. copy:
  12. src: supervisor.conf
  13. dest: /usr/local/etc/supervisor/conf.d/
  14. owner: root
  15. mode: 0644
  16. notify: Supervisor restarted