瀏覽代碼

Ensure resolvconf is not installed

Markus Lindenberg 9 年之前
父節點
當前提交
071c9f12f0
共有 1 個文件被更改,包括 3 次插入0 次删除
  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