- hosts: [service/containers] sudo: yes tasks: - file: state=directory path=/var/lib/solar/ - shell: echo -n "" > /var/lib/solar/containers_list