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,7 +5,7 @@
- name: Add domain/search/nameservers/options to resolv.conf
blockinfile:
dest: "{{resolvconffile}}"
path: "{{resolvconffile}}"
block: |-
{% for item in [domainentry] + [searchentries] + nameserverentries.split(',') -%}
{{ item }}
@@ -17,7 +17,6 @@
insertbefore: BOF
create: yes
backup: yes
follow: yes
marker: "# Ansible entries {mark}"
notify: Preinstall | restart network