remove deprecated parameters of blockinfile module (#3581)

This commit is contained in:
Louis
2018-10-30 20:56:58 +08:00
committed by k8s-ci-robot
parent 22c234040e
commit a84508d6b9
5 changed files with 6 additions and 11 deletions

View File

@@ -5,10 +5,9 @@
- name: Remove kubespray specific config from dhclient config
blockinfile:
dest: "{{dhclientconffile}}"
path: "{{dhclientconffile}}"
state: absent
backup: yes
follow: yes
marker: "# Ansible entries {mark}"
when: dhclientconffile is defined
notify: Preinstall | restart network