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

@@ -177,9 +177,8 @@
- name: reset | remove dns settings from dhclient.conf
blockinfile:
dest: "{{ item }}"
path: "{{ item }}"
state: absent
follow: yes
marker: "# Ansible entries {mark}"
failed_when: false
with_items:
@@ -191,9 +190,8 @@
- name: reset | remove host entries from /etc/hosts
blockinfile:
dest: "/etc/hosts"
path: "/etc/hosts"
state: absent
follow: yes
marker: "# Ansible inventory hosts {mark}"
tags:
- files