ansible-labs/020.First_Playbook/solution/tasks/file_present.yml

5 lines
109 B
YAML

- name: "Check if the file \"{{ filepath }}\" is present"
file:
path: "{{ filepath }}"
state: file