diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml index ab9e61ed0bf44e56b52d36af0d09ee67e4a56dc4..13c79593b9ffa7b1b4405716d6361362a28ff77e 100644 --- a/tasks/cleanup.yml +++ b/tasks/cleanup.yml @@ -6,7 +6,7 @@ name="{{ item }}" state="absent" with_items: - - '{{ static_ipv4|default(False) }}' + - '{{ static_ipv4|default(false) }}' - '{{ host }}' - name: "Remove host from hosts file 1" @@ -16,7 +16,7 @@ state=absent become: yes with_items: - - '^{{ static_ipv4|default(False) }} ' + - '^{{ static_ipv4|default(false) }} ' - name: "Remove host from hosts file 2" lineinfile: