diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml index 5e7a7851802454241b939b9aa257f52c01e3fcdc..17d352fc864ee31e1bd3081d1485f1ef4ba2ed49 100644 --- a/tasks/cleanup.yml +++ b/tasks/cleanup.yml @@ -6,8 +6,8 @@ name: '{{ item }}' state: absent with_items: - - '{{( static_ipv4|default(false) }})' - - '{{( host }})' + - '{{ static_ipv4|default(false) }}' + - '{{ host }}' - name: Remove host from hosts file 1 lineinfile: