forked from ISTI-ansible-roles/ansible-roles
14 lines
347 B
YAML
14 lines
347 B
YAML
|
---
|
||
|
- 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' ]
|