Skip to content

Commit

Permalink
added negative test
Browse files Browse the repository at this point in the history
  • Loading branch information
cx-henriqueAlvelos committed Sep 19, 2023
1 parent 11bed4f commit 9401b0a
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,24 @@
ansible.builtin.copy:
src: /home/example/files/foo.conf
dest: /etc/foo.conf
mode: "0644"

---
- name: Negative Example 2
hosts: localhost
tasks:
- name: One
ansible.builtin.template:
src: ../example/foo.j2
dest: /etc/file.conf
mode: "0644"
- name: Two
ansible.builtin.copy:
src: ../example/foo.conf
dest: /etc/foo.conf
mode: "0644"
- name: Three
win_template:
src: ../example/foo2.j2
dest: /etc/file.conf
mode: "0644"

0 comments on commit 9401b0a

Please sign in to comment.