ansible-roles/ubuntu-deb-general/tasks/install_nscd.yml

14 lines
347 B
YAML
Raw Normal View History

2018-04-19 17:48:06 +02:00
---
- 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
- name: Ensure thad the nscd service is enabled and running
become_user: root
service: name=nscd state=restarted enabled=yes
when: install_nscd
tags: [ 'nscd' ]