summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/no_relative_paths_fail.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:06:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:06:49 +0000
commit2fe34b6444502079dc0b84365ce82dbc92de308e (patch)
tree8fedcab52bbbc3db6c5aa909a88a7a7b81685018 /examples/playbooks/no_relative_paths_fail.yml
parentInitial commit. (diff)
downloadansible-lint-2fe34b6444502079dc0b84365ce82dbc92de308e.tar.xz
ansible-lint-2fe34b6444502079dc0b84365ce82dbc92de308e.zip
Adding upstream version 6.17.2.upstream/6.17.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/no_relative_paths_fail.yml')
-rw-r--r--examples/playbooks/no_relative_paths_fail.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/playbooks/no_relative_paths_fail.yml b/examples/playbooks/no_relative_paths_fail.yml
new file mode 100644
index 0000000..1f97c3c
--- /dev/null
+++ b/examples/playbooks/no_relative_paths_fail.yml
@@ -0,0 +1,23 @@
+---
+- name: Fixture for no-relative-paths
+ hosts: localhost
+ tasks:
+ - name: Template example # <-- 1st
+ ansible.builtin.template:
+ src: ../templates/foo.j2
+ dest: /etc/file.conf
+ mode: "0644"
+ - name: Copy example # <-- 2nd
+ ansible.builtin.copy:
+ src: ../files/foo.conf
+ dest: /etc/foo.conf
+ mode: "0644"
+ # Removed from test suite as module is no longer part of core
+ # - name: Some win_template example
+ # win_template:
+ # src: ../win_templates/file.conf.j2
+ # dest: file.conf
+ # - name: Some win_copy example
+ # win_copy:
+ # src: ../files/foo.conf
+ # dest: renamed-foo.conf