ansible-labs/30.Task_Inclusion/solution/tasks/file_present.yml

4 lines
109 B
YAML

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