ansible remove docker proxy
- name: special configure
hosts: master_major, master_others, worker
tasks:
- name: replace docker proxy
lineinfile: dest=/usr/lib/systemd/system/docker.service.d/http_proxy.conf regexp="^Environment" state=absent
hosts: master_major, master_others, worker
tasks:
- name: replace docker proxy
lineinfile: dest=/usr/lib/systemd/system/docker.service.d/http_proxy.conf regexp="^Environment" state=absent