Browse Source

Ensure resolvconf is not installed

Markus Lindenberg 9 years ago
parent
commit
071c9f12f0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      roles/internal/ffdo.supernode/tasks/main.yml

+ 3 - 0
roles/internal/ffdo.supernode/tasks/main.yml

@@ -4,6 +4,9 @@
 - include_vars: "{{ ansible_distribution }}-{{ansible_distribution_release }}.yml"
   when: ansible_distribution_release == 'wheezy' and ansible_distribution == 'Debian'
 
+- name: Ensure package resolvconf is absent
+  apt: name=resolvconf stage=absent purge=yes
+
 - name: Install custom resolv.conf
   template: src=resolv.conf.j2 dest=/etc/resolv.conf