forked from ISTI-ansible-roles/ansible-roles
Remove the tasks that install nscd for dataminer. Now they are global.
This commit is contained in:
parent
4f0d6b582e
commit
326466f8f8
|
@ -48,25 +48,3 @@
|
||||||
become_user: '{{ smartgears_user }}'
|
become_user: '{{ smartgears_user }}'
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
||||||
|
|
||||||
|
|
||||||
- block:
|
|
||||||
|
|
||||||
- name: Install the nscd service to work around dns timeouts
|
|
||||||
become_user: root
|
|
||||||
apt: pkg=nscd state=present update_cache=yes cache_valid_time=1800
|
|
||||||
when: dataminer_install_nscd is defined and dataminer_install_nscd
|
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps', 'dm_nscd' ]
|
|
||||||
|
|
||||||
- name: Ensure thad the nscd service is enabled and running
|
|
||||||
become_user: root
|
|
||||||
service: name=nscd state=restarted enabled=yes
|
|
||||||
when: dataminer_install_nscd is defined and dataminer_install_nscd
|
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps', 'dm_nscd' ]
|
|
||||||
|
|
||||||
become: True
|
|
||||||
become_user: '{{ smartgears_user }}'
|
|
||||||
when:
|
|
||||||
- dataminer_app_install
|
|
||||||
- dataminer_install_nscd
|
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue