mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Add a handler to mote to rebuild the cache when config filees change.
This commit is contained in:
2
roles/mote/handlers/main.yml
Normal file
2
roles/mote/handlers/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
- name: nuke mote json cache
|
||||
file: dest=/var/cache/httpd/mote/cache.json state=absent
|
||||
@@ -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
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"aliases": ["fedora-design", "designteam", "#fedora-design"]
|
||||
},
|
||||
"epel": {
|
||||
"friendly-name": "EPEL",
|
||||
"friendly-name": "Extra Packages for Enterprise Linux",
|
||||
"aliases": []
|
||||
},
|
||||
"fedora-mktg": {
|
||||
|
||||
Reference in New Issue
Block a user