main.yml 435 B

1234567891011121314151617181920
  1. ---
  2. - name: Miniflux installed
  3. community.general.pkgng:
  4. name: miniflux,immortal
  5. state: latest
  6. - name: Miniflux enabled
  7. shell: sysrc immortaldir_enable="YES"
  8. notify: Miniflux restarted
  9. - name: Miniflux config installed
  10. template:
  11. src: miniflux.conf.j2
  12. dest: /usr/local/etc/miniflux.env
  13. owner: root
  14. mode: 0600
  15. notify: Miniflux restarted
  16. - name: Miniflux started
  17. service: name=miniflux state=started