diff --git a/file-creation-single.yml b/file-creation-single.yml index 1b0b2f0..4102c07 100644 --- a/file-creation-single.yml +++ b/file-creation-single.yml @@ -44,6 +44,7 @@ copy: src : files/hello-ansible.txt dest : "{{ check_file }}" + ignore_errors: yes ... diff --git a/file-removal-test.yml b/file-removal-test.yml index 900429e..29ec413 100644 --- a/file-removal-test.yml +++ b/file-removal-test.yml @@ -35,6 +35,7 @@ file: path : "{{ check_file }}" state : absent + ignore_errors: yes ...