forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks
This commit is contained in:
commit
0808e38289
|
@ -4,3 +4,7 @@
|
||||||
|
|
||||||
- name: Reconfigure the supervisor daemon
|
- name: Reconfigure the supervisor daemon
|
||||||
shell: supervisorctl reread ; supervisorctl add ckan_gather_consumer ; supervisorctl add ckan_fetch_consumer ; supervisorctl start ckan_gather_consumer ; supervisorctl start ckan_fetch_consumer
|
shell: supervisorctl reread ; supervisorctl add ckan_gather_consumer ; supervisorctl add ckan_fetch_consumer ; supervisorctl start ckan_gather_consumer ; supervisorctl start ckan_fetch_consumer
|
||||||
|
|
||||||
|
- name: Restart fetch and gather consumers
|
||||||
|
supervisorctl: name={{ item }} state=restarted
|
||||||
|
with_items: '{{ ckan_gather_fetch_apps }}'
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
- name: Configure the CKAN plugins list into the configuration file
|
- name: Configure the CKAN plugins list into the configuration file
|
||||||
ini_file: dest={{ ckan_config_file }} section={{ item.section }} option={{ item.option }} value={{ item.value }} state={{ item.state }} backup=yes
|
ini_file: dest={{ ckan_config_file }} section={{ item.section }} option={{ item.option }} value={{ item.value }} state={{ item.state }} backup=yes
|
||||||
with_items: '{{ ckan_production_ini_plugins_opts }}'
|
with_items: '{{ ckan_production_ini_plugins_opts }}'
|
||||||
notify: Restart CKAN
|
notify:
|
||||||
|
- Restart CKAN
|
||||||
|
- Restart fetch and gather consumers
|
||||||
tags: [ 'ckan', 'ckan_ini', 'ckan_plugins' ]
|
tags: [ 'ckan', 'ckan_ini', 'ckan_plugins' ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue