mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Tweak infinoted config a bit more. Make sync 60 seconds instead of 10
add a handler to restart on config changes.
This commit is contained in:
@@ -192,3 +192,6 @@
|
||||
|
||||
- name: restart autocloud
|
||||
service: name=autocloud state=restarted
|
||||
|
||||
- name: restart infinoted
|
||||
service: name=infinoted state=restarted
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
|
||||
- name: add config file for infinoted
|
||||
template: src=infinoted.conf dest=/etc/xdg/infinoted.conf
|
||||
notify: restart infinoted
|
||||
tags:
|
||||
- infinote
|
||||
- config
|
||||
|
||||
@@ -10,13 +10,10 @@ password={{ infinotepassword }}
|
||||
|
||||
[autosave]
|
||||
interval=60
|
||||
# TODO: write git hook. https://github.com/gobby/gobby/wiki/PluginAutosave
|
||||
#hook=
|
||||
|
||||
[directory-sync]
|
||||
directory=/srv/web/infinote
|
||||
interval=10
|
||||
# TODO: write git hook. https://github.com/gobby/gobby/wiki/PluginDirectorySync
|
||||
interval=60
|
||||
hook=/usr/local/bin/infinoted-git-commit
|
||||
|
||||
[logging]
|
||||
|
||||
Reference in New Issue
Block a user