You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
576 B

  1. ---
  2. # These tasks will undo changes done by kubespray in the past if needed (e.g. when upgrading from kubespray 2.0.x
  3. # or when changing resolvconf_mode)
  4. - name: Remove kubespray specific config from dhclient config
  5. blockinfile:
  6. path: "{{ dhclientconffile }}"
  7. state: absent
  8. backup: true
  9. marker: "# Ansible entries {mark}"
  10. notify: Preinstall | propagate resolvconf to k8s components
  11. - name: Remove kubespray specific dhclient hook
  12. file:
  13. path: "{{ dhclienthookfile }}"
  14. state: absent
  15. notify: Preinstall | propagate resolvconf to k8s components