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

5 lines
109 B
YAML
Raw Normal View History

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