diff --git a/roles/kubernetes/preinstall/tasks/0020-set_facts.yml b/roles/kubernetes/preinstall/tasks/0020-set_facts.yml index ea0b8849f..18ad65694 100644 --- a/roles/kubernetes/preinstall/tasks/0020-set_facts.yml +++ b/roles/kubernetes/preinstall/tasks/0020-set_facts.yml @@ -33,7 +33,7 @@ failed_when: false register: resolvconf_stat -- name: Fetch resolconf +- name: Fetch resolvconf when: resolvconf_stat.stat.exists is defined and resolvconf_stat.stat.exists block: