source: MondoRescue/branches/3.3/ansible/roles/resolvconf/tasks/main.yml@ 3655

Last change on this file since 3655 was 3655, checked in by Bruno Cornec, 7 years ago

New MondoRescue site managed with ansible now

File size: 438 bytes
Line 
1---
2
3- name: Check that resolvconf is installed
4 urpmi: name=resolvconf state=installed no-recommends=yes
5 tags: resolvconf
6
7- name: DEBUG vars
8 debug: var=hostvars[inventory_hostname] #verbosity=2
9 #debug: var=vars #verbosity=2
10
11- name: Configure resolvconf
12 template: src='templates/base.j2' dest='/etc/resolvconf/resolv.conf.d/base' owner=root group=root mode=0644 backup=yes
13 notify:
14 - restart resolvconf
15 tags: resolvconf
Note: See TracBrowser for help on using the repository browser.