Add a handler to mote to rebuild the cache when config filees change.

This commit is contained in:
Ralph Bean 2015-06-17 17:12:30 +00:00
parent 9543fefeb4
commit 07d00bdb53
3 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,2 @@
- name: nuke mote json cache
file: dest=/var/cache/httpd/mote/cache.json state=absent

View file

@ -23,6 +23,7 @@
- config
- mote
notify:
- nuke mote json cache
- restart apache
- name: start mote-updater service
@ -71,6 +72,8 @@
file: >
dest=/usr/share/mote/name_mappings.json
setype=httpd_sys_content_t
notify:
- nuke mote json cache
tags:
- mote
- selinux
@ -79,6 +82,8 @@
file: >
dest=/usr/share/mote/category_mappings.json
setype=httpd_sys_content_t
notify:
- nuke mote json cache
tags:
- mote
- selinux

View file

@ -12,7 +12,7 @@
"aliases": ["fedora-design", "designteam", "#fedora-design"]
},
"epel": {
"friendly-name": "EPEL",
"friendly-name": "Extra Packages for Enterprise Linux",
"aliases": []
},
"fedora-mktg": {